开发者

Error when trying to include <QSettings> in MFC application

When i try to

#include <QSettings>

in my MFC app I get the following errors

Cannot open include file: 'QtCore/qobject.h': No such file or directory

I want to use the QSetting for my MFC application, so how should I code it to resolve the error and allow 开发者_JAVA百科me to use the QSettings. Thanks!


If you on visual studio, add %QTDIR%/include to your include path. %QTDIR% is the root directory for qt installation, for example "C:\Qt\4.7.3"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜