Error QApplication: no such file or directory

前端 未结 11 1825
挽巷
挽巷 2021-01-30 06:44

I have installed C++SDK that have Qt but when I try compiling a code linking QApplication it gives me the error:

Error QApplication: no such file or directory
         


        
11条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-30 07:06

    Make sure you have qmake in your path (which qmake), and that it works (qmake -v) (IF you have to kill it with ctr-c then there is something wrong with your environment).

    Then follow this: http://developer.qt.nokia.com/doc/qt-4.8/gettingstartedqt.html

提交回复
热议问题