Re: problem in setting QT to my C++ on netbeans

  • From: Антон Кирильчик < >
  • To:
  • Subject: Re: problem in setting QT to my C++ on netbeans
  • Date: Sun, 23 Sep 2012 16:56:33 +0800

Hello, i can answer only on the second part of your question. You
should add path to your qt dlls to the PATH environment variable or
copy dlls to the folder with your program...

2012/9/22 Hooor 
< >:
> Hi every one
>
> I am beginner in NetNeans and C++ in general and I am trying to add QT to 
> my netBeans IDE as described in this link:
>
> http://netbeans.org/kb/docs/cnd/qt-applications.html
>
> I did all steps but I had some problems:
>
> first,when I try to create new QT form I got the window in the below 
> picture what does it mean
>
> [Image: http://im13.gulfup.com/2012-09-21/1348243421161.png ] ;
> (http://www.gulfup.com/show/X2cy4tk7db280g)
>
>
> second, when I create the form and add it to my code
>
> Code:
>
> #include <QtGui/QApplication>
> #include "my.h"
> int main(int argc, char *argv[]) {
>     // initialize resources, if needed
>     // Q_INIT_RESOURCE(resfile);
>
>     QApplication app(argc, argv);
>
>     my form;
>     form.show();
>     return app.exec();
> }
>
>
>
>
> Then try to run it. I got build success but the run faild with this error:
>
> [Image: http://im13.gulfup.com/2012-09-21/1348243421982.jpg ] ;
> (http://www.gulfup.com/show/X2cy5yxfz1t1cw)
>
>
>
> How I can solve it??
> this is my configuration for C++
>
> [Image: http://im13.gulfup.com/2012-09-21/1348243421583.jpg ] ;
> (http://www.gulfup.com/show/X72umsr3vboip)
>
> and I add the QTcored4 path to my environment variables :
>
> C:\Qt\2010.02.1\bin;C:\Qt\2010.02.1\qt\bin;
>
>
> I did lots of search on google without any results could any one help me 
> please
>
> Thanks a lot
>
>
>
>



-- 
Best regards,
Anton Kirilchik

E-mail: 

Skype: kosmonaFFFt.kav


problem in setting QT to my C++ on netbeans

Hooor 09/21/2012

Re: problem in setting QT to my C++ on netbeans

Антон Кирильчик 09/23/2012

Project Features

About this Project

CND was started in November 2009, is owned by Leonid Lenyashin, and has 130 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close