编译深度deepin-tool-kit时报错

最近在Ubuntu上编译dtk时, gsettingsbackend.cpp文件会报QGSettings/QGSettings: No such file or directory错误, 查看了一下, QGSettings是存在的, 只是搜索不到

➜  build git:(master) ✗ locate QGSettings
/usr/include/x86_64-linux-gnu/qt5/QGSettings
/usr/include/x86_64-linux-gnu/qt5/QGSettings/QGSettings
/usr/include/x86_64-linux-gnu/qt5/QGSettings/qgsettings.h

找到报错的文件gsettingsbackend.cpp, 把#include <QGSettings/QGSettings> 修改成 #include <QGSettings>即可

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

 桂ICP备15001694号-3