QT 5に問題があります。Qt Gui/Qiplication:No such file or directory


For QT 5
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
以下は.プロファイルです
 
    
  1. QT += core gui
  2. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  3. TARGET = trafficSigns
  4. TEMPLATE = app