From 627aa6dd7021b31f0a84bce881a70faca24d6e2a Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 26 Jun 2018 23:47:51 +0300 Subject: [PATCH] Resolved issue #838. Qt GUI theme on Windows looks old-fashioned. --HG-- branch : develop --- src/app/valentina/valentina.pro | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/app/valentina/valentina.pro b/src/app/valentina/valentina.pro index 3201610b6..52933887b 100644 --- a/src/app/valentina/valentina.pro +++ b/src/app/valentina/valentina.pro @@ -396,6 +396,14 @@ win32:*g++* { package_printsupport.files += $$[QT_INSTALL_PLUGINS]/printsupport/windowsprintersupport.dll INSTALLS += package_printsupport + # Since 5.10, platform styles such as QWindowsVistaStyle, QMacStyle, etc., are no longer embedded in the QtWidgets + # library. + greaterThan(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 9) { + package_styles.path = $${OUT_PWD}/../../../package/valentina/styles + package_styles.files += $$[QT_INSTALL_PLUGINS]/styles/qwindowsvistastyle.dll + INSTALLS += package_styles + } + noWindowsInstaller{ # For enable run qmake with CONFIG+=noWindowsInstaller #do nothing } else {