QtWidgets/Windows: Simplify .pro files
Remove the include path for wintab which is no longer needed in Qt 5 (the code is in the QPA plugin). Remove the inclusion of win.pri for the Windows vista styles plugin and specify the theme library directly. This should result in simpler CMakeList.txt files. Change-Id: I736db5c965982cdf79a234a94fc723f0556c1717 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
0c4e502b56
commit
512c1febbd
@ -11,9 +11,7 @@ HEADERS += qwindowsxpstyle_p.h qwindowsxpstyle_p_p.h
|
||||
SOURCES += qwindowsxpstyle.cpp
|
||||
|
||||
QMAKE_USE_PRIVATE += user32 gdi32
|
||||
|
||||
# DEFINES/LIBS needed for qwizard_win.cpp and the styles
|
||||
include(../../../widgets/kernel/win.pri)
|
||||
LIBS_PRIVATE *= -luxtheme
|
||||
|
||||
DISTFILES += windowsvistastyle.json
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
# Qt/Windows only configuration file
|
||||
# --------------------------------------------------------------------
|
||||
|
||||
INCLUDEPATH += ../3rdparty/wintab
|
||||
!winrt {
|
||||
LIBS_PRIVATE *= -luxtheme -ldwmapi
|
||||
QMAKE_USE_PRIVATE += shell32
|
||||
|
Loading…
Reference in New Issue
Block a user