cmake: Enable the Windows Vista style

Change-Id: I1c59ee0eb30dcabfa29837cbfb4ea9a01ac50d0c
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Friedemann Kleint 2019-11-28 11:30:19 +01:00
parent 2a1fc7b835
commit 8dc49161bb
2 changed files with 29 additions and 1 deletions

View File

@ -7,5 +7,5 @@ if(QT_FEATURE_style_mac)
add_subdirectory(mac)
endif()
if(QT_FEATURE_style_windowsvista)
# add_subdirectory(windowsvista) # special case TODO
add_subdirectory(windowsvista)
endif()

View File

@ -0,0 +1,28 @@
# Generated from windowsvista.pro.
#####################################################################
## qwindowsvistastyle Plugin:
#####################################################################
qt_add_plugin(qwindowsvistastyle
TYPE styles
CLASS_NAME QWindowsVistaStylePlugin
SOURCES
main.cpp
qwindowsvistastyle.cpp qwindowsvistastyle_p.h
qwindowsvistastyle_p_p.h
qwindowsxpstyle.cpp qwindowsxpstyle_p.h
qwindowsxpstyle_p_p.h
LIBRARIES
Qt::WidgetsPrivate
gdi32
user32
uxtheme
PUBLIC_LIBRARIES
Qt::Core
Qt::Gui
Qt::Widgets
)
#### Keys ignored in scope 1:.:.:windowsvista.pro:<TRUE>:
# DISTFILES = "windowsvistastyle.json"