Link with library uxtheme to enable new style since WindowsXP or later.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-06-11 11:54:44 +03:00
parent ff95d94f5f
commit 40f8c5f5f0
2 changed files with 10 additions and 0 deletions

View file

@ -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.

View file

@ -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.