wangwenx190 / framelesshelper

Project moved to: https://github.com/stdware/qwindowkit Cross-platform window customization framework for Qt Widgets and Qt Quick. Supports Windows, Linux and macOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ubuntu linux下用qt5.15.2版本编译报错

shuzr opened this issue · comments

/home/Temp/FluentUI-1.6.2/framelesshelper/src/core/platformsupport_linux.cpp:301: error: ambiguating new declaration of ‘QString gtkSettings(const gchar*)’
/home/Temp/FluentUI-1.6.2/framelesshelper/src/core/platformsupport_linux.cpp:301:10: error: ambiguating new declaration of ‘QString gtkSettings(const gchar*)’
301 | Type gtkSettings(const gchar property)
| ^~~~~~~~~~~
/home/Temp/FluentUI-1.6.2/framelesshelper/src/core/platformsupport_linux.cpp:477:1: note: in expansion of macro ‘GTKSETTINGS_IMPL’
477 | GTKSETTINGS_IMPL(QString, const QString result = QUtf8String(g_value_get_string(&value));)
| ^~~~~~~~~~~~~~~~
/home/Temp/FluentUI-1.6.2/framelesshelper/src/core/platformsupport_linux.cpp:301:10: note: old declaration ‘bool gtkSettings(const gchar
)’
301 | Type gtkSettings(const gchar *property)
| ^~~~~~~~~~~
/home/Temp/FluentUI-1.6.2/framelesshelper/src/core/platformsupport_linux.cpp:476:1: note: in expansion of macro ‘GTKSETTINGS_IMPL’
476 | GTKSETTINGS_IMPL(bool, const bool result = g_value_get_boolean(&value);)
| ^~~~~~~~~~~~~~~~

2344324