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

前端 未结 5 1455
無奈伤痛
無奈伤痛 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:10

    Depending on the Qt-version (5) QtGui was moved to QtWidgets; so it becomes

    #include 
    

提交回复
热议问题