mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
fix compilation of qgsquick plugin on win
This commit is contained in:
parent
3b29dbafa6
commit
65182a2775
@ -86,9 +86,6 @@ INCLUDE_DIRECTORIES(SYSTEM
|
||||
${QTKEYCHAIN_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
ADD_DEFINITIONS(-DCORE_EXPORT=)
|
||||
|
||||
|
||||
SET(QGIS_QUICK_GUI_IMAGE_RCCS ./images/images.qrc)
|
||||
QT5_ADD_RESOURCES(QGIS_QUICK_GUI_IMAGE_RCC_SRCS ${QGIS_QUICK_GUI_IMAGE_RCCS})
|
||||
|
||||
|
@ -74,8 +74,6 @@ INCLUDE_DIRECTORIES(SYSTEM
|
||||
${QTKEYCHAIN_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
ADD_DEFINITIONS(-DCORE_EXPORT=)
|
||||
|
||||
############################################################
|
||||
# qgis_quick_plugin module (QML) library
|
||||
|
||||
@ -96,7 +94,7 @@ ADD_LIBRARY(qgis_quick_plugin ${LIBRARY_TYPE}
|
||||
)
|
||||
TARGET_LINK_LIBRARIES(qgis_quick_plugin qgis_quick)
|
||||
SET_TARGET_PROPERTIES(qgis_quick_plugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${QGIS_QUICK_PLUGIN_RUNTIME_DIR})
|
||||
TARGET_COMPILE_DEFINITIONS(qgis_quick_plugin PRIVATE "-DQUICK_EXPORT=" "-DQT_NO_FOREACH")
|
||||
TARGET_COMPILE_DEFINITIONS(qgis_quick_plugin PRIVATE "-DQT_NO_FOREACH")
|
||||
|
||||
# Copy qml files to output directory, we need qml files in the same directory as the plugin shared library
|
||||
FOREACH(qmlfile ${QGIS_QUICK_PLUGIN_RESOURCES})
|
||||
|
Loading…
x
Reference in New Issue
Block a user