编译深度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>
即可