I got everything installed and I'm now trying to build my first application, this is the code:
#include <qapplication.h>
#include <qlabel.h>
int main( int argc, char *argv[] )
{
label->show();
return app.exec();
}
#include <qapplication.h>
#include <qlabel.h>
int main( int argc, char *argv[] )
{
QApplication app( argc, argv );
QLabel *label = new QLabel( "Hello QT!", 0 );
label->show();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
When I try to run the exe I got the error about needing certain dll's. So I put QtGui4.dll mingwm10.dll and QtCore4.dll in the same directory as the exe, and now I get this error:
The procedure entry point _ZN7QString16fromAscii_helperEPKci could not be located in the dynamic link library QtCore4.dll
Do I need even MORE dependancies for such a simple application?
Thanks for your help, mate! :-)
Bookmarks