QT 5に問題があります。Qt Gui/Qiplication:No such file or directory
2451 ワード
For QT 5
Step 1:
以下は.プロファイルです
Step 1:
.pro
(in pro file、add these 2 lines)QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
Step 2: In main.cpp
replace code:#include
with:#include
ソース: http://stackoverflow.com/questions/8995399/error-qapplication-no-such-file-or-directory 以下は.プロファイルです
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = trafficSigns
TEMPLATE = app
・