I am trying to follow the hello world tutorial with Qt 5.0.2 for Windows 64-bit (VS 2012, 500 MB) (Info). However, when I click Run Project, I have LNK1104: I cannot open the file debug / Hello.exe. However, I see that this file is being created in the project folder "F: \ QT \ Hello \ build-Hello-Desktop_Qt_5_0_2_MSVC2012_64bit-Debug". Thank you in advance
main.cpp
#include <QApplication> #include <QPushButton> int main(int argc, char **argv) { QApplication app (argc, argv); QPushButton button; button.setText("Hello world !"); button.setToolTip("heheheheheheheh"); button.show(); return app.exec(); }
Hello.pro
TEMPLATE = app TARGET = Hello QT = core gui QT += widgets SOURCES += \ main.cpp
source share