cmake: build qmacstyle
Change-Id: I1fa0196036ffd31b5961bb5b73ff21123a818af8 Reviewed-by: Albert Astals Cid <albert.astals.cid@kdab.com> Reviewed-by: Mikhail Svetkin <mikhail.svetkin@qt.io>
This commit is contained in:
parent
32c59d6856
commit
b51fbd72b9
@ -20,7 +20,7 @@ if(QT_FEATURE_gui)
|
||||
endif()
|
||||
|
||||
if (QT_FEATURE_widgets)
|
||||
# TODO add_subdirectory(styles)
|
||||
add_subdirectory(styles)
|
||||
endif()
|
||||
|
||||
if (NOT WINRT AND TARGET PrintSupport)
|
||||
|
11
src/plugins/styles/CMakeLists.txt
Normal file
11
src/plugins/styles/CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
||||
if(QT_FEATURE_style_android)
|
||||
# TODO add_subdirectory(android)
|
||||
endif()
|
||||
|
||||
if(QT_FEATURE_style_mac)
|
||||
add_subdirectory(mac)
|
||||
endif()
|
||||
|
||||
if(QT_FEATURE_style_windowsvista)
|
||||
# TODO add_subdirectory(windowsvista)
|
||||
endif()
|
19
src/plugins/styles/mac/CMakeLists.txt
Normal file
19
src/plugins/styles/mac/CMakeLists.txt
Normal file
@ -0,0 +1,19 @@
|
||||
# Generated from mac.pro.
|
||||
|
||||
#####################################################################
|
||||
## qmacstyle Plugin:
|
||||
#####################################################################
|
||||
|
||||
add_qt_plugin(qmacstyle
|
||||
TYPE styles
|
||||
SOURCES
|
||||
main.mm
|
||||
qmacstyle_mac.mm qmacstyle_mac_p.h
|
||||
qmacstyle_mac_p_p.h
|
||||
LIBRARIES
|
||||
Qt::WidgetsPrivate
|
||||
${FWAppKit}
|
||||
# DISTFILES = "macstyle.json"
|
||||
# PLUGIN_CLASS_NAME = "QMacStylePlugin"
|
||||
# _LOADED = "qt_plugin"
|
||||
)
|
Loading…
Reference in New Issue
Block a user