我在vs2008上依次装了qt-win-opensource-4.7.4-vs2008,qt-vs-addin-1.1.9。
编译通过了HelloQt,并且调试成功了。
为什么在debug下生成的应用程序无法运行,弹出计算机缺少QtGuid4.dll
HelloQt代码:
#include<QApplication>
#include<QPushButton>
int main(int argc,char *argv[])
{
QApplication app(argc,argv);
QPushButton b(QObject::tr("Hello Qt!"));
b.show();
QObject::connect(&b,SIGNAL(clicked()),&app,SLOT(quit()));
return app.exec();
}
谢谢赐教