forked from github_mirror/framelesshelper
Compililation with gcc (any version) and Qt 5.12.0 (important) fails with error: ``` Core/private/sysapiloader_p.h:59:26: error: no matching function for call to ‘QMutex::QMutex()’ static inline QMutex m_mutex; ^~~~~~~ include/QtCore/qmutex.h:165:5: note: candidate: ‘QMutex::QMutex(const QMutex&)’ <deleted> Q_DISABLE_COPY(QMutex) ^~~~~~~~~~~~~~ ``` `QMutex` in Qt 5.12.0 has explicit (!) one-parameter constructor with a default value: `QMutex(QMutex::RecursionMode mode = NonRecursive)` and no default constructor. In this case declaring static inline member without initializer causes the above error. |
||
---|---|---|
.. | ||
private | ||
ChromePalette | ||
FramelessHelper_Qt | ||
FramelessHelper_Win | ||
FramelessHelper_Windows | ||
FramelessManager | ||
Global | ||
MicaMaterial | ||
Utils | ||
WindowBorderPainter | ||
chromepalette.h | ||
framelesshelper_qt.h | ||
framelesshelper_win.h | ||
framelesshelper_windows.h | ||
framelesshelpercore_global.h | ||
framelessmanager.h | ||
micamaterial.h | ||
utils.h | ||
windowborderpainter.h |