fatal error: QtGui/QApplication: No such file or directory

前端 未结 5 1462
無奈伤痛
無奈伤痛 2021-02-13 03:26

I\'m using Qt Creator, and this line is generated automatically by the Qt Creator:

#include

But, why am I getting this me

5条回答
  •  青春惊慌失措
    2021-02-13 04:21

    You can try to add 'declarative' to the Project file:

    QT += gui declarative
    

    then

    #include 
    

    It helps me

提交回复
热议问题