首页| 论坛| 消息

标题:第一次编译问题?
作者:zy765
日期:2006-04-25 07:28
内容:

这个就是最简单的hello
#include
#include
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QPushButton hello("Hello world!");
hello.resize(100, 30);
hello.show();
return app.exec();
}
出现以下问题:
C:\Hello>qmake -project
C:\Hello>qmake
C:\Hello>mingw32-make
mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `C:/Hello'
g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runt
ime-pseudo-reloc -Wl,-subsystem,windows -o "debug\Hello.exe" debug\Hello.o-L"C
:\Qt\4.1.2\lib" -lmingw32 -lqtmaind -lQtGuid4 -lQtCored4
C:\Dev-Cpp\bin\..\lib\gcc-lib\mingw32\3.3.1\..\..\..\..\mingw32\bin\ld.exe: cann
ot find -lQtGuid4
mingw32-make[1]: *** Error 1
mingw32-make[1]: Leaving directory `C:/Hello'
mingw32-make: *** Error 2

回复 发表
主题 版块