--------------------------
#include <QApplication>
#include <QLabel>
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
QLabel mylabel("hello,world");
mylabel.show();
return a.exec();
}
---------------------------------------
很简单的helloworld,编译通过,编译信息
Starting D:/My Documents/helloqt/debug/helloqt.exe...
D:/My Documents/helloqt/debug/helloqt.exe exited with code 3
--------------------------------------------------------------------------------------
但是,在debug下运行helloqt.exe
提示:
“没有找到mingwm10.dll”.因此这个程序未能启动,重新安装应用程序可能修复这个问题“
运行环境:
XP sp3
qt 4.5 qt creator 1.0
安装 文件来自于qtsfotware.com的”qt-sdk-win-opensource-2009.01.1“安装时选择了mingw的
----------------------------------------------------------------------------------------------------------------------------
为什么,新人请教 ,不胜感谢。
难道路径错了(路径是没包含qmake的,但是IDE环境下需要去路径下设置吗)
自我摸索中,并等待好人指路。