#include <QApplication>
#include <QPushButton>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QPushButton hello("Hello world!");
hello.resize(100, 30);
hello.show();
return app.exec();
}
命令:
qmake -project
qmake
make
make的时候,出现一个错误:
C:\dev-cpp\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe:cannot find -lqtmaind
这个错误是怎么回事啊?
谢谢!
[ 此贴被XChinux在2005-11-14 20:30重新编辑 ]