vcpkg/ports/qtdeclarative/portfile.cmake
Alexander Neumann 35f5c4638f
[Qt6] update to 6.2.3 (#22846)
* update qt to 6.2.3

* update few details

* fix filepath.

* use vcpkg_cmake_install

* use the old fixup since the new one is missing TOOLS_PATH

* more fixes

* fix bugs

* regex tuning

* more bug fixes

* fix qtwebengine

* version stuff

* ci retrigger

* fix more unused vars

* fix some details and silent maybe_unused warnings

* version stuff

* fix last warning

* [skip actions] version stuff

* change QT_NAMESPACE to VCPKG_QT_NAMESPACE since that is what the guidelines say for global variables.

* version stuff

* Apply suggestions from code review

Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>

* [skip actions] version stuff

* version-semver -> version

* add license: null

* [skip actions] version stuff

* small but important prl fix

* [skip actions] version stuff

* move submodule hashes into port details.

* switch to vcpkg-cmake-config because the merge takes so long.

* version stuff and hopefully silent bot.

* don't let qt "cleanup" compiler flags

* add missing dependency.

* forgot to chain vcpkg-cmake-config

* bit of feature setting to fix dep issues in cmake PR

* version stuff

* fix unused warnings.

* version stuff

* silence more warnings

* version stuff

* do the silencing in qttranslations correctly.

* version stuff

* silence GHA

* version stuff

Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2022-02-15 20:24:55 -08:00

32 lines
883 B
CMake

set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
set(TOOL_NAMES
qml
qmlcachegen
qmleasing
qmlformat
qmlimportscanner
qmllint
qmlplugindump
qmlpreview
qmlprofiler
qmlscene
qmltestrunner
qmltime
qmltyperegistrar
qmldom
)
qt_install_submodule(PATCHES ${${PORT}_PATCHES}
TOOL_NAMES ${TOOL_NAMES}
CONFIGURE_OPTIONS
CONFIGURE_OPTIONS_RELEASE
CONFIGURE_OPTIONS_DEBUG
)
# remove `${SOURCE_PATH}` from the front of `#line` directives
if(NOT QT_UPDATE_VERSION)
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/Qt6/QtQml/${QT_VERSION}/QtQml/private/qqmljsparser_p.h" "${SOURCE_PATH}" "")
endif()