Add CMakeLists.txt for cocoa printsupport plug-in

Change-Id: I0cc8b2827e0986d9ef486f327e7d84362e7d99c4
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Jean-Michaël Celerier 2019-09-24 10:12:10 +02:00
parent c3131f9f5e
commit d64fa78829
2 changed files with 26 additions and 1 deletions

View File

@ -1,5 +1,5 @@
if (APPLE_OSX)
# TODO add_subdirectory(cocoa)
add_subdirectory(cocoa)
endif()
if (WIN32)

View File

@ -0,0 +1,25 @@
# Generated from cocoa.pro.
#####################################################################
## cocoaprintersupport Plugin:
#####################################################################
add_qt_plugin(cocoaprintersupport
TYPE printsupport
CLASS_NAME QCocoaPrinterSupportPlugin
SOURCES
main.cpp
LIBRARIES
Qt::GuiPrivate
Qt::PrintSupportPrivate
PUBLIC_LIBRARIES
${FWAppKit}
Qt::Core
Qt::Gui
Qt::PrintSupport
)
#### Keys ignored in scope 1:.:.:cocoa.pro:<TRUE>:
# MODULE = "cocoaprintersupport"
# OTHER_FILES = "cocoa.json"
# _LOADED = "qt_plugin"