mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
Only pass -lQt5PlatformSupport if >=Qt5.6
This commit is contained in:
parent
59d063d076
commit
2759597bc8
@ -343,8 +343,10 @@ AC_DEFUN([_BITCOIN_QT_FIND_STATIC_PLUGINS],[
|
||||
PKG_CHECK_MODULES([QTPRINT], [Qt5PrintSupport], [QT_LIBS="$QTPRINT_LIBS $QT_LIBS"])
|
||||
fi
|
||||
else
|
||||
if ${PKG_CONFIG} --exists "Qt5Core >= 5.6" 2>/dev/null; then
|
||||
QT_LIBS="-lQt5PlatformSupport $QT_LIBS"
|
||||
fi
|
||||
fi
|
||||
])
|
||||
else
|
||||
if test x$qt_plugin_path != x; then
|
||||
|
@ -533,6 +533,9 @@ int main(int argc, char *argv[])
|
||||
// Generate high-dpi pixmaps
|
||||
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||
#endif
|
||||
#if QT_VERSION >= 0x050600
|
||||
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||
#endif
|
||||
#ifdef Q_OS_MAC
|
||||
QApplication::setAttribute(Qt::AA_DontShowIconsInMenus);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user