I just installed QT4 and i read this tutorial for a hello world program. When i compile it it say I do not have the QTCore4.dll file so the .exe file cannot run. I then looked in the QT folder and i found QTCore4.dll in the bin folder. Here is my code if it matters.
#include <QApplication>
#include <QPushButton>
int main(int argc, char *argv[])
{
QPushButton test
("I am testing my first GUI application");
test.show();
return app.exec();
}
#include <QApplication>
#include <QPushButton>
int main(int argc, char *argv[])
{
QApplication app(argc,argv);
QPushButton test("I am testing my first GUI application");
test.show();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
I am also using the Code::Blocks IDE with the MinGW compiler. Thanks.
Bookmarks