qmake -project
qmake -t vcapp
#include <QApplication>#include <QLabel>int main(int argc, char *argv[]){ QApplication app(argc, argv); QLabel *label = new QLabel("Hello Qt!"); label->show(); return app.exec();}
Compiling...main.cppLinking...LINK : fatal error LNK1181: cannot open input file 'c:\Qt\lib\qtmaind.lib'Build log was saved at "file://c:\Projects\test\test\debug\BuildLog.htm"test - 1 error(s), 0 warning(s)========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
qmake -projectqmake -t vcapp