diff --git a/src/app/tape/tape.pro b/src/app/tape/tape.pro index a4769bdd1..6fc3003df 100644 --- a/src/app/tape/tape.pro +++ b/src/app/tape/tape.pro @@ -330,6 +330,11 @@ noRunPath{ # For enable run qmake with CONFIG+=noRunPath } } +win32:greaterThan(QT_MAJOR_VERSION, 4) { + # Link with library uxtheme to enable new style since WindowsXP or later + LIBS += -luxtheme +} + # When the GNU linker sees a library, it discards all symbols that it doesn't need. # Dependent library go first. diff --git a/src/app/valentina/valentina.pro b/src/app/valentina/valentina.pro index 8da7a5629..3201610b6 100644 --- a/src/app/valentina/valentina.pro +++ b/src/app/valentina/valentina.pro @@ -459,6 +459,11 @@ noRunPath{ # For enable run qmake with CONFIG+=noRunPath } } +win32:greaterThan(QT_MAJOR_VERSION, 4) { + # Link with library uxtheme to enable new style since WindowsXP or later + LIBS += -luxtheme +} + # When the GNU linker sees a library, it discards all symbols that it doesn't need. # Dependent library go first.