2017-10-16 20:04:16 +08:00
|
|
|
include(vcpkg_common_functions)
|
|
|
|
|
2017-11-21 09:07:03 +08:00
|
|
|
include(${CURRENT_INSTALLED_DIR}/share/qt5modularscripts/qt_modular_library.cmake)
|
2017-10-16 20:04:16 +08:00
|
|
|
|
2019-05-09 06:15:26 +08:00
|
|
|
qt_modular_library(qtdeclarative 0caddcfee36cbf52bacd3a400d304511255715e2b5a58c1621ca8120610427c57511785457a9e7fa55975b86e7924a3cffddeb7e2e8e6622af85b7ebac35dd20)
|
2018-03-18 20:13:40 +08:00
|
|
|
|
2019-05-09 06:15:26 +08:00
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/tools/qt5-declarative/plugins/platforminputcontexts)
|
|
|
|
|
2019-06-18 08:12:44 +08:00
|
|
|
if (NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
|
|
|
|
set(qt5decpath ${CURRENT_PACKAGES_DIR}/share/qt5/debug/mkspecs/modules/qt_lib_qmldevtools_private.pri)
|
|
|
|
file(READ "${qt5decpath}" _contents)
|
|
|
|
string(REPLACE [[QT.qmldevtools_private.libs = $$QT_MODULE_HOST_LIB_BASE]] [[QT.qmldevtools_private.libs = $$QT_MODULE_LIB_BASE]] _contents "${_contents}")
|
|
|
|
file(WRITE "${qt5decpath}" "${_contents}")
|
|
|
|
endif()
|