early-access version 2853
This commit is contained in:
22
externals/vcpkg/ports/qtbase/allow_outside_prefix.patch
vendored
Executable file
22
externals/vcpkg/ports/qtbase/allow_outside_prefix.patch
vendored
Executable file
@@ -0,0 +1,22 @@
|
||||
diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake
|
||||
index bd186c28b..2c1994d2e 100644
|
||||
--- a/cmake/QtBuild.cmake
|
||||
+++ b/cmake/QtBuild.cmake
|
||||
@@ -28,11 +28,13 @@ function(qt_configure_process_path name default docstring)
|
||||
elseif(rel_path MATCHES "^\.\./")
|
||||
# INSTALL_SYSCONFDIR is allowed to be outside the prefix.
|
||||
if(NOT name STREQUAL "INSTALL_SYSCONFDIR")
|
||||
- message(FATAL_ERROR
|
||||
- "Path component '${name}' is outside computed install prefix: ${rel_path} ")
|
||||
- return()
|
||||
+ #message(FATAL_ERROR
|
||||
+ # "Path component '${name}' is outside computed install prefix: ${rel_path} ")
|
||||
+ #return()
|
||||
+ set("${name}" "${rel_path}" CACHE STRING "${docstring}" FORCE)
|
||||
+ else()
|
||||
+ set("${name}" "${${name}}" CACHE STRING "${docstring}" FORCE)
|
||||
endif()
|
||||
- set("${name}" "${${name}}" CACHE STRING "${docstring}" FORCE)
|
||||
else()
|
||||
set("${name}" "${rel_path}" CACHE STRING "${docstring}" FORCE)
|
||||
endif()
|
||||
14
externals/vcpkg/ports/qtbase/clang-cl_source_location.patch
vendored
Executable file
14
externals/vcpkg/ports/qtbase/clang-cl_source_location.patch
vendored
Executable file
@@ -0,0 +1,14 @@
|
||||
diff --git a/src/corelib/kernel/qproperty.h b/src/corelib/kernel/qproperty.h
|
||||
index 823b2057b..4a8cd4fa8 100644
|
||||
--- a/src/corelib/kernel/qproperty.h
|
||||
+++ b/src/corelib/kernel/qproperty.h
|
||||
@@ -49,8 +49,8 @@
|
||||
|
||||
#include <QtCore/qpropertyprivate.h>
|
||||
|
||||
-#if __has_include(<source_location>) && __cplusplus >= 202002L && !defined(Q_CLANG_QDOC)
|
||||
+#if __has_include(<source_location>) && __cplusplus >= 202002L && !defined(Q_CLANG_QDOC) && defined(__cpp_consteval)
|
||||
#include <source_location>
|
||||
#if defined(__cpp_lib_source_location)
|
||||
#define QT_SOURCE_LOCATION_NAMESPACE std
|
||||
#define QT_PROPERTY_COLLECT_BINDING_LOCATION
|
||||
18
externals/vcpkg/ports/qtbase/cmake/qt_install_copyright.cmake
vendored
Executable file
18
externals/vcpkg/ports/qtbase/cmake/qt_install_copyright.cmake
vendored
Executable file
@@ -0,0 +1,18 @@
|
||||
#Could probably be the beginning of a vcpkg_install_copyright?
|
||||
function(qt_install_copyright SOURCE_PATH)
|
||||
#Find the relevant license file and install it
|
||||
if(EXISTS "${SOURCE_PATH}/LICENSE.LGPLv3")
|
||||
set(LICENSE_PATH "${SOURCE_PATH}/LICENSE.LGPLv3")
|
||||
elseif(EXISTS "${SOURCE_PATH}/LICENSE.LGPL3")
|
||||
set(LICENSE_PATH "${SOURCE_PATH}/LICENSE.LGPL3")
|
||||
elseif(EXISTS "${SOURCE_PATH}/LICENSE.GPLv3")
|
||||
set(LICENSE_PATH "${SOURCE_PATH}/LICENSE.GPLv3")
|
||||
elseif(EXISTS "${SOURCE_PATH}/LICENSE.GPL3")
|
||||
set(LICENSE_PATH "${SOURCE_PATH}/LICENSE.GPL3")
|
||||
elseif(EXISTS "${SOURCE_PATH}/LICENSE.GPL3-EXCEPT")
|
||||
set(LICENSE_PATH "${SOURCE_PATH}/LICENSE.GPL3-EXCEPT")
|
||||
elseif(EXISTS "${SOURCE_PATH}/LICENSE.FDL")
|
||||
set(LICENSE_PATH "${SOURCE_PATH}/LICENSE.FDL")
|
||||
endif()
|
||||
file(INSTALL "${LICENSE_PATH}" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
endfunction()
|
||||
311
externals/vcpkg/ports/qtbase/cmake/qt_install_submodule.cmake
vendored
Executable file
311
externals/vcpkg/ports/qtbase/cmake/qt_install_submodule.cmake
vendored
Executable file
@@ -0,0 +1,311 @@
|
||||
include("${CURRENT_HOST_INSTALLED_DIR}/share/vcpkg-cmake/vcpkg-port-config.cmake")
|
||||
include("${CURRENT_HOST_INSTALLED_DIR}/share/vcpkg-cmake-config/vcpkg-port-config.cmake")
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/qt_install_copyright.cmake")
|
||||
|
||||
if(QT_IS_LATEST AND PORT STREQUAL "qtbase")
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/qt_port_details-latest.cmake")
|
||||
else()
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/qt_port_details.cmake")
|
||||
endif()
|
||||
#set(PORT_DEBUG ON)
|
||||
|
||||
if(NOT DEFINED QT6_DIRECTORY_PREFIX)
|
||||
set(QT6_DIRECTORY_PREFIX "Qt6/")
|
||||
endif()
|
||||
|
||||
macro(qt_stop_on_update)
|
||||
if(QT_UPDATE_VERSION)
|
||||
set(VCPKG_POLICY_EMPTY_PACKAGE enabled CACHE INTERNAL "")
|
||||
return()
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
function(qt_download_submodule)
|
||||
cmake_parse_arguments(PARSE_ARGV 0 "_qarg" ""
|
||||
""
|
||||
"PATCHES")
|
||||
|
||||
if(QT_UPDATE_VERSION)
|
||||
set(VCPKG_USE_HEAD_VERSION ON)
|
||||
set(UPDATE_PORT_GIT_OPTIONS
|
||||
HEAD_REF "${QT_GIT_TAG}")
|
||||
endif()
|
||||
|
||||
vcpkg_from_git(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
URL "https://code.qt.io/qt/${PORT}.git"
|
||||
REF "${${PORT}_REF}"
|
||||
${UPDATE_PORT_GIT_OPTIONS}
|
||||
${QT_FETCH_REF}
|
||||
PATCHES ${_qarg_PATCHES}
|
||||
)
|
||||
|
||||
if(QT_UPDATE_VERSION)
|
||||
set(VCPKG_POLICY_EMPTY_PACKAGE enabled CACHE INTERNAL "")
|
||||
message(STATUS "VCPKG_HEAD_VERSION:${VCPKG_HEAD_VERSION}")
|
||||
file(APPEND "${VCPKG_ROOT_DIR}/ports/qtbase/cmake/qt_new_refs.cmake" "set(${PORT}_REF ${VCPKG_HEAD_VERSION})\n")
|
||||
endif()
|
||||
set(SOURCE_PATH "${SOURCE_PATH}" PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
||||
|
||||
function(qt_cmake_configure)
|
||||
cmake_parse_arguments(PARSE_ARGV 0 "_qarg" "DISABLE_NINJA;DISABLE_PARALLEL_CONFIGURE"
|
||||
""
|
||||
"TOOL_NAMES;OPTIONS;OPTIONS_DEBUG;OPTIONS_RELEASE;OPTIONS_MAYBE_UNUSED")
|
||||
|
||||
vcpkg_find_acquire_program(PERL) # Perl is probably required by all qt ports for syncqt
|
||||
get_filename_component(PERL_PATH ${PERL} DIRECTORY)
|
||||
vcpkg_add_to_path(${PERL_PATH})
|
||||
if(NOT PORT STREQUAL "qtwebengine" OR QT_IS_LATEST) # qtwebengine requires python2; since 6.3 python3
|
||||
vcpkg_find_acquire_program(PYTHON3) # Python is required by some qt ports
|
||||
get_filename_component(PYTHON3_PATH ${PYTHON3} DIRECTORY)
|
||||
vcpkg_add_to_path(${PYTHON3_PATH})
|
||||
endif()
|
||||
|
||||
if(NOT PORT MATCHES "^qtbase")
|
||||
list(APPEND _qarg_OPTIONS "-DQT_SYNCQT:PATH=${CURRENT_HOST_INSTALLED_DIR}/tools/Qt6/bin/syncqt.pl")
|
||||
endif()
|
||||
set(PERL_OPTION "-DHOST_PERL:PATH=${PERL}")
|
||||
|
||||
set(ninja_option "")
|
||||
if(_qarg_DISABLE_NINJA)
|
||||
set(ninja_option WINDOWS_USE_MSBUILD)
|
||||
endif()
|
||||
|
||||
set(disable_parallel "")
|
||||
if(_qarg_DISABLE_PARALLEL_CONFIGURE)
|
||||
set(disable_parallel DISABLE_PARALLEL_CONFIGURE)
|
||||
endif()
|
||||
|
||||
if(VCPKG_CROSSCOMPILING)
|
||||
list(APPEND _qarg_OPTIONS "-DQT_HOST_PATH=${CURRENT_HOST_INSTALLED_DIR}")
|
||||
list(APPEND _qarg_OPTIONS "-DQT_HOST_PATH_CMAKE_DIR:PATH=${CURRENT_HOST_INSTALLED_DIR}/share")
|
||||
if(VCPKG_TARGET_ARCHITECTURE STREQUAL arm64 AND VCPKG_TARGET_IS_WINDOWS) # Remove if PR #16111 is merged
|
||||
list(APPEND _qarg_OPTIONS -DCMAKE_CROSSCOMPILING=ON -DCMAKE_SYSTEM_PROCESSOR:STRING=ARM64 -DCMAKE_SYSTEM_NAME:STRING=Windows)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Disable warning for CMAKE_(REQUIRE|DISABLE)_FIND_PACKAGE_<packagename>
|
||||
string(REGEX MATCHALL "CMAKE_DISABLE_FIND_PACKAGE_[^:=]+" disabled_find_package "${_qarg_OPTIONS}")
|
||||
list(APPEND _qarg_OPTIONS_MAYBE_UNUSED ${disabled_find_package})
|
||||
|
||||
string(REGEX MATCHALL "CMAKE_REQUIRE_FIND_PACKAGE_[^:=]+(:BOOL)?=OFF" require_find_package "${_qarg_OPTIONS}")
|
||||
list(TRANSFORM require_find_package REPLACE "(:BOOL)?=OFF" "")
|
||||
list(APPEND _qarg_OPTIONS_MAYBE_UNUSED ${require_find_package})
|
||||
|
||||
# Disable unused warnings for disabled features. Qt might decide to not emit the feature variables if other features are deactivated.
|
||||
string(REGEX MATCHALL "(QT_)?FEATURE_[^:=]+(:BOOL)?=OFF" disabled_features "${_qarg_OPTIONS}")
|
||||
list(TRANSFORM disabled_features REPLACE "(:BOOL)?=OFF" "")
|
||||
list(APPEND _qarg_OPTIONS_MAYBE_UNUSED ${disabled_features})
|
||||
|
||||
if(QT_IS_LATEST)
|
||||
list(APPEND _qarg_OPTIONS "-DQT_NO_FORCE_SET_CMAKE_BUILD_TYPE:BOOL=ON")
|
||||
endif()
|
||||
|
||||
if(NOT PORT MATCHES "qtbase")
|
||||
list(APPEND _qarg_OPTIONS "-DQT_MKSPECS_DIR:PATH=${CURRENT_HOST_INSTALLED_DIR}/share/Qt6/mkspecs")
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
${ninja_option}
|
||||
${disable_parallel}
|
||||
OPTIONS
|
||||
-DQT_USE_DEFAULT_CMAKE_OPTIMIZATION_FLAGS:BOOL=ON # We don't want Qt to screw with users toolchain settings.
|
||||
#-DQT_HOST_PATH=<somepath> # For crosscompiling
|
||||
#-DQT_PLATFORM_DEFINITION_DIR=mkspecs/win32-msvc
|
||||
#-DQT_QMAKE_TARGET_MKSPEC=win32-msvc
|
||||
#-DQT_USE_CCACHE
|
||||
-DQT_BUILD_EXAMPLES:BOOL=OFF
|
||||
-DQT_BUILD_TESTS:BOOL=OFF
|
||||
-DQT_BUILD_BENCHMARKS:BOOL=OFF
|
||||
${PERL_OPTION}
|
||||
-DINSTALL_BINDIR:STRING=bin
|
||||
-DINSTALL_LIBEXECDIR:STRING=bin
|
||||
-DINSTALL_PLUGINSDIR:STRING=${qt_plugindir}
|
||||
-DINSTALL_QMLDIR:STRING=${qt_qmldir}
|
||||
${_qarg_OPTIONS}
|
||||
OPTIONS_RELEASE
|
||||
${_qarg_OPTIONS_RELEASE}
|
||||
-DINSTALL_DOCDIR:STRING=doc/${QT6_DIRECTORY_PREFIX}
|
||||
-DINSTALL_INCLUDEDIR:STRING=include/${QT6_DIRECTORY_PREFIX}
|
||||
-DINSTALL_DESCRIPTIONSDIR:STRING=share/Qt6/modules
|
||||
-DINSTALL_MKSPECSDIR:STRING=share/Qt6/mkspecs
|
||||
-DINSTALL_TRANSLATIONSDIR:STRING=translations/${QT6_DIRECTORY_PREFIX}
|
||||
OPTIONS_DEBUG
|
||||
# -DFEATURE_debug:BOOL=ON only needed by qtbase and auto detected?
|
||||
-DINSTALL_DOCDIR:STRING=../doc/${QT6_DIRECTORY_PREFIX}
|
||||
-DINSTALL_INCLUDEDIR:STRING=../include/${QT6_DIRECTORY_PREFIX}
|
||||
-DINSTALL_TRANSLATIONSDIR:STRING=../translations/${QT6_DIRECTORY_PREFIX}
|
||||
-DINSTALL_DESCRIPTIONSDIR:STRING=../share/Qt6/modules
|
||||
-DINSTALL_MKSPECSDIR:STRING=../share/Qt6/mkspecs
|
||||
${_qarg_OPTIONS_DEBUG}
|
||||
MAYBE_UNUSED_VARIABLES
|
||||
INSTALL_BINDIR
|
||||
INSTALL_DOCDIR
|
||||
INSTALL_LIBEXECDIR
|
||||
INSTALL_QMLDIR # No qml files
|
||||
INSTALL_TRANSLATIONSDIR # No translations
|
||||
INSTALL_PLUGINSDIR # No plugins
|
||||
INSTALL_DESCRIPTIONSDIR
|
||||
INSTALL_INCLUDEDIR
|
||||
HOST_PERL
|
||||
QT_SYNCQT
|
||||
QT_NO_FORCE_SET_CMAKE_BUILD_TYPE
|
||||
${_qarg_OPTIONS_MAYBE_UNUSED}
|
||||
)
|
||||
set(Z_VCPKG_CMAKE_GENERATOR "${Z_VCPKG_CMAKE_GENERATOR}" PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
||||
function(qt_fix_prl_files)
|
||||
file(TO_CMAKE_PATH "${CURRENT_PACKAGES_DIR}/lib" package_dir)
|
||||
file(TO_CMAKE_PATH "${package_dir}/lib" lib_path)
|
||||
file(TO_CMAKE_PATH "${package_dir}/include/Qt6" include_path)
|
||||
file(TO_CMAKE_PATH "${CURRENT_INSTALLED_DIR}" install_prefix)
|
||||
file(GLOB_RECURSE prl_files "${CURRENT_PACKAGES_DIR}/*.prl")
|
||||
foreach(prl_file IN LISTS prl_files)
|
||||
file(READ "${prl_file}" _contents)
|
||||
string(REPLACE "${lib_path}" "\$\$[QT_INSTALL_LIBS]" _contents "${_contents}")
|
||||
string(REPLACE "${include_path}" "\$\$[QT_INSTALL_HEADERS]" _contents "${_contents}")
|
||||
string(REPLACE "${install_prefix}" "\$\$[QT_INSTALL_PREFIX]" _contents "${_contents}")
|
||||
string(REPLACE "[QT_INSTALL_PREFIX]/lib/objects-Debug" "[QT_INSTALL_LIBS]/objects-Debug" _contents "${_contents}")
|
||||
string(REPLACE "[QT_INSTALL_PREFIX]/Qt6/qml" "[QT_INSTALL_QML]" _contents "${_contents}")
|
||||
#Note: This only works without an extra if case since QT_INSTALL_PREFIX is the same for debug and release
|
||||
file(WRITE "${prl_file}" "${_contents}")
|
||||
endforeach()
|
||||
endfunction()
|
||||
|
||||
function(qt_fixup_and_cleanup)
|
||||
cmake_parse_arguments(PARSE_ARGV 0 "_qarg" ""
|
||||
""
|
||||
"TOOL_NAMES")
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
## Handle PRL files
|
||||
qt_fix_prl_files()
|
||||
|
||||
## Handle CMake files.
|
||||
set(COMPONENTS)
|
||||
file(GLOB COMPONENTS_OR_FILES LIST_DIRECTORIES true "${CURRENT_PACKAGES_DIR}/share/Qt6*")
|
||||
list(REMOVE_ITEM COMPONENTS_OR_FILES "${CURRENT_PACKAGES_DIR}/share/Qt6")
|
||||
foreach(_glob IN LISTS COMPONENTS_OR_FILES)
|
||||
if(IS_DIRECTORY "${_glob}")
|
||||
string(REPLACE "${CURRENT_PACKAGES_DIR}/share/Qt6" "" _component "${_glob}")
|
||||
debug_message("Adding cmake component: '${_component}'")
|
||||
list(APPEND COMPONENTS ${_component})
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
foreach(_comp IN LISTS COMPONENTS)
|
||||
if(EXISTS "${CURRENT_PACKAGES_DIR}/share/Qt6${_comp}")
|
||||
vcpkg_cmake_config_fixup(PACKAGE_NAME "Qt6${_comp}" CONFIG_PATH "share/Qt6${_comp}" TOOLS_PATH "tools/Qt6/bin")
|
||||
# Would rather put it into share/cmake as before but the import_prefix correction in vcpkg_cmake_config_fixup is working against that.
|
||||
else()
|
||||
message(STATUS "WARNING: Qt component ${_comp} not found/built!")
|
||||
endif()
|
||||
endforeach()
|
||||
#fix debug plugin paths (should probably be fixed in vcpkg_cmake_config_fixup)
|
||||
file(GLOB_RECURSE DEBUG_CMAKE_TARGETS "${CURRENT_PACKAGES_DIR}/share/**/*Targets-debug.cmake")
|
||||
debug_message("DEBUG_CMAKE_TARGETS:${DEBUG_CMAKE_TARGETS}")
|
||||
foreach(_debug_target IN LISTS DEBUG_CMAKE_TARGETS)
|
||||
vcpkg_replace_string("${_debug_target}" "{_IMPORT_PREFIX}/${qt_plugindir}" "{_IMPORT_PREFIX}/debug/${qt_plugindir}")
|
||||
vcpkg_replace_string("${_debug_target}" "{_IMPORT_PREFIX}/${qt_qmldir}" "{_IMPORT_PREFIX}/debug/${qt_qmldir}")
|
||||
endforeach()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(GLOB_RECURSE STATIC_CMAKE_TARGETS "${CURRENT_PACKAGES_DIR}/share/Qt6Qml/QmlPlugins/*.cmake")
|
||||
foreach(_plugin_target IN LISTS STATIC_CMAKE_TARGETS)
|
||||
# restore a single get_filename_component which was remove by vcpkg_cmake_config_fixup
|
||||
vcpkg_replace_string("${_plugin_target}"
|
||||
[[get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)]]
|
||||
"get_filename_component(_IMPORT_PREFIX \"\${CMAKE_CURRENT_LIST_FILE}\" PATH)\nget_filename_component(_IMPORT_PREFIX \"\${_IMPORT_PREFIX}\" PATH)")
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
set(qt_tooldest "${CURRENT_PACKAGES_DIR}/tools/Qt6/bin")
|
||||
set(qt_searchdir "${CURRENT_PACKAGES_DIR}/bin")
|
||||
## Handle Tools
|
||||
foreach(_tool IN LISTS _qarg_TOOL_NAMES)
|
||||
if(NOT EXISTS "${CURRENT_PACKAGES_DIR}/bin/${_tool}${VCPKG_TARGET_EXECUTABLE_SUFFIX}")
|
||||
debug_message("Removed '${_tool}' from copy tools list since it was not found!")
|
||||
list(REMOVE_ITEM _qarg_TOOL_NAMES ${_tool})
|
||||
endif()
|
||||
endforeach()
|
||||
if(_qarg_TOOL_NAMES)
|
||||
set(tool_names ${_qarg_TOOL_NAMES})
|
||||
vcpkg_copy_tools(TOOL_NAMES ${tool_names} SEARCH_DIR "${qt_searchdir}" DESTINATION "${qt_tooldest}" AUTO_CLEAN)
|
||||
if(EXISTS "${CURRENT_PACKAGES_DIR}/${qt_plugindir}")
|
||||
file(COPY "${CURRENT_PACKAGES_DIR}/${qt_plugindir}/" DESTINATION "${qt_tooldest}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||
if(EXISTS "${CURRENT_PACKAGES_DIR}/bin/")
|
||||
file(COPY "${CURRENT_PACKAGES_DIR}/bin/" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/Qt6/bin")
|
||||
endif()
|
||||
file(GLOB_RECURSE _installed_dll_files RELATIVE "${CURRENT_INSTALLED_DIR}/tools/Qt6/bin" "${CURRENT_INSTALLED_DIR}/tools/Qt6/bin/*.dll")
|
||||
foreach(_dll_to_remove IN LISTS _installed_dll_files)
|
||||
file(GLOB_RECURSE _packaged_dll_file "${CURRENT_PACKAGES_DIR}/tools/Qt6/bin/${_dll_to_remove}")
|
||||
if(EXISTS "${_packaged_dll_file}")
|
||||
file(REMOVE "${_packaged_dll_file}")
|
||||
endif()
|
||||
endforeach()
|
||||
file(GLOB_RECURSE _folders LIST_DIRECTORIES true "${CURRENT_PACKAGES_DIR}/tools/Qt6/bin/**/")
|
||||
file(GLOB_RECURSE _files "${CURRENT_PACKAGES_DIR}/tools/Qt6/bin/**/")
|
||||
if(_files)
|
||||
list(REMOVE_ITEM _folders ${_files})
|
||||
endif()
|
||||
foreach(_dir IN LISTS _folders)
|
||||
if(NOT "${_remaining_dll_files}" MATCHES "${_dir}")
|
||||
file(REMOVE_RECURSE "${_dir}")
|
||||
endif()
|
||||
endforeach()
|
||||
endif()
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/lib/cmake/"
|
||||
"${CURRENT_PACKAGES_DIR}/debug/share"
|
||||
"${CURRENT_PACKAGES_DIR}/lib/cmake/"
|
||||
"${CURRENT_PACKAGES_DIR}/debug/include"
|
||||
)
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(GLOB_RECURSE _bin_files "${CURRENT_PACKAGES_DIR}/bin/*")
|
||||
if(NOT _bin_files STREQUAL "")
|
||||
message(STATUS "Remaining files in bin: '${_bin_files}'")
|
||||
else() # Only clean if empty otherwise let vcpkg throw and error.
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin/" "${CURRENT_PACKAGES_DIR}/debug/bin/")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
endfunction()
|
||||
|
||||
function(qt_install_submodule)
|
||||
cmake_parse_arguments(PARSE_ARGV 0 "_qis" "DISABLE_NINJA"
|
||||
""
|
||||
"PATCHES;TOOL_NAMES;CONFIGURE_OPTIONS;CONFIGURE_OPTIONS_DEBUG;CONFIGURE_OPTIONS_RELEASE;CONFIGURE_OPTIONS_MAYBE_UNUSED")
|
||||
|
||||
set(qt_plugindir ${QT6_DIRECTORY_PREFIX}plugins)
|
||||
set(qt_qmldir ${QT6_DIRECTORY_PREFIX}qml)
|
||||
|
||||
qt_download_submodule(PATCHES ${_qis_PATCHES})
|
||||
if(QT_UPDATE_VERSION)
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(_qis_DISABLE_NINJA)
|
||||
set(_opt DISABLE_NINJA)
|
||||
endif()
|
||||
qt_cmake_configure(${_opt}
|
||||
OPTIONS ${_qis_CONFIGURE_OPTIONS}
|
||||
OPTIONS_DEBUG ${_qis_CONFIGURE_OPTIONS_DEBUG}
|
||||
OPTIONS_RELEASE ${_qis_CONFIGURE_OPTIONS_RELEASE}
|
||||
OPTIONS_MAYBE_UNUSED ${_qis_CONFIGURE_OPTIONS_MAYBE_UNUSED}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install(ADD_BIN_TO_PATH)
|
||||
|
||||
qt_fixup_and_cleanup(TOOL_NAMES ${_qis_TOOL_NAMES})
|
||||
|
||||
qt_install_copyright("${SOURCE_PATH}")
|
||||
set(SOURCE_PATH "${SOURCE_PATH}" PARENT_SCOPE)
|
||||
endfunction()
|
||||
136
externals/vcpkg/ports/qtbase/cmake/qt_port_details-latest.cmake
vendored
Executable file
136
externals/vcpkg/ports/qtbase/cmake/qt_port_details-latest.cmake
vendored
Executable file
@@ -0,0 +1,136 @@
|
||||
set(QT_VERSION 6.3.0)
|
||||
|
||||
if(PORT MATCHES "qtquickcontrols2")
|
||||
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
||||
message(STATUS "qtquickcontrols2 is integrated in qtdeclarative since Qt 6.2. Please remove your dependency on it!")
|
||||
return()
|
||||
endif()
|
||||
|
||||
### Setting up the git tag.
|
||||
set(QT_FETCH_REF "")
|
||||
set(QT_GIT_TAG "v${QT_VERSION}")
|
||||
if(PORT MATCHES "qtdeviceutilities")
|
||||
set(QT_FETCH_REF FETCH_REF "6.3.0")
|
||||
set(QT_GIT_TAG "6.3.0")
|
||||
endif()
|
||||
if(PORT MATCHES "qtlocation")
|
||||
set(QT_FETCH_REF FETCH_REF "${QT_VERSION}")
|
||||
set(QT_GIT_TAG "${QT_VERSION}")
|
||||
endif()
|
||||
|
||||
set(QT_IS_LATEST TRUE)
|
||||
#set(QT_UPDATE_VERSION TRUE)
|
||||
if(QT_UPDATE_VERSION)
|
||||
function(vcpkg_extract_source_archive)
|
||||
endfunction()
|
||||
endif()
|
||||
|
||||
set(QT_PORTS qt
|
||||
qtbase
|
||||
qttools
|
||||
qtdeclarative
|
||||
qtsvg
|
||||
qt5compat
|
||||
qtshadertools
|
||||
qtquicktimeline
|
||||
qtquick3d
|
||||
qttranslations
|
||||
qtwayland
|
||||
qtdoc
|
||||
qtcoap
|
||||
qtopcua
|
||||
qtimageformats
|
||||
qtmqtt
|
||||
qtnetworkauth
|
||||
# qtquickcontrols2 -> moved into qtdeclarative
|
||||
## New in 6.1
|
||||
qtactiveqt
|
||||
qtdatavis3d
|
||||
qtdeviceutilities
|
||||
qtlottie
|
||||
qtscxml
|
||||
qtvirtualkeyboard
|
||||
qtcharts
|
||||
## New in 6.2
|
||||
qtconnectivity
|
||||
qtpositioning
|
||||
qtlocation
|
||||
qtmultimedia
|
||||
qtremoteobjects
|
||||
qtsensors
|
||||
qtserialbus
|
||||
qtserialport
|
||||
qtwebchannel
|
||||
qtwebengine
|
||||
qtwebsockets
|
||||
qtwebview
|
||||
## New in 6.2.2
|
||||
qtinterfaceframework
|
||||
qtapplicationmanager
|
||||
)
|
||||
|
||||
foreach(_port IN LISTS QT_PORTS)
|
||||
set(${_port}_TAG ${QT_GIT_TAG})
|
||||
endforeach()
|
||||
set(qtbase_REF 0668a36d2804b300010d874f5ff4073c25c2784c)
|
||||
set(qtshadertools_REF e526e8ca88197d82996818db1f00e8a3e07bf584)
|
||||
set(qtdeclarative_REF cbe89ee41aa219ce7e90143e3cf54283e580f7c1)
|
||||
set(qt5compat_REF 32db676ab6854633512181b2c40950c98525c5ba)
|
||||
set(qttools_REF a0a9cf1d1338b3e7f868bc0840e1e9a096c86dfa) # Additional refs below
|
||||
set(qtcoap_REF 4453575b94836cf1cd52642eceb1d6f5d16b26a9)
|
||||
set(qtdoc_REF d0da4d47f152dc50fb672bc5011b61a5bbb36f43)
|
||||
set(qtimageformats_REF 45cfb044698df541ced53e3523799232599712a6)
|
||||
set(qtmqtt_REF 3174dc30d2b37c74ea685d27ab0030c7392032c0)
|
||||
set(qtnetworkauth_REF 507214965cbcebbbd563904d615cf7ebc464cc48)
|
||||
set(qtopcua_REF 2c7051d85f640e9afe6c3f8f718bb2152305467c)
|
||||
set(qtquicktimeline_REF 16bc2eb9f5e84923dc04c3941f5347cbc1b0e5b0)
|
||||
set(qtquick3d_REF bf912a678898dcde61f139f63b49e1e42717fa8d)
|
||||
set(qtsvg_REF cf900932886ebdd3de6c3a4a7e63cf363663eb87)
|
||||
set(qttranslations_REF 19701f38b9dc10d925c6974833d693b5038e1589)
|
||||
set(qtwayland_REF 840673bf1849595869873bad15c52a312e849ffb)
|
||||
### New in 6.1
|
||||
set(qtactiveqt_REF 747fdd27c413ea42fb730230331984f388d3826b)
|
||||
set(qtcharts_REF 03929b43d8e2a5c9b1487fdc6b8a2b067ada16f8)
|
||||
set(qtdatavis3d_REF 137ebda0932e6faf0fbd61b0beb3cfb4dac8efbd)
|
||||
set(qtdeviceutilities_REF 0520d7fd121f7773d04a7d3318553ff7fed1b3a9) #
|
||||
set(qtlottie_REF e68bf89fefd941a930c83e2c29b629fcfea03eb3)
|
||||
set(qtscxml_REF 4f52a1b6e4f25f3473f42ce249c4c183c5910183)
|
||||
set(qtvirtualkeyboard_REF 92aee38dab196e8b5ca436f9f20c0fc66d8155d5)
|
||||
### New in 6.2
|
||||
set(qtconnectivity_REF f62954bad729f7853c9fbe2ea0b3235cfae2701a)
|
||||
set(qtmultimedia_REF 3d2dafab1eb60c17a30cf03213cd2f6f71185137)
|
||||
set(qtremoteobjects_REF 2c53bf0e9262a24f8fc8553e5004e7d00bc7e556)
|
||||
set(qtserialport_REF 7e44935b14b783add342a25f426fcdf299279024)
|
||||
set(qtsensors_REF 3222894c246076c6e7bd151e638ce3eb4ce5c16b)
|
||||
set(qtserialbus_REF 3ee1694d2a8fb0b755adce4b59001b784e9c301e)
|
||||
set(qtlocation_REF 0) # Currently empty port
|
||||
set(qtwebchannel_REF a85e05069a2b17ceb5b6332671a2eef261ec783f)
|
||||
set(qtwebengine_REF 9158e7652f24800b2b7dbe59b7834687bc1baf13) # Additional refs below
|
||||
set(qtwebsockets_REF 487116c9a85d8f5a920f47045dfce0b0defd5139)
|
||||
set(qtwebview_REF d7498a108c67b21c39d8ba775330cc122ce21c1a)
|
||||
set(qtpositioning_REF f61d2f336892b85cdcd5d508bb4a0db7f768d439)
|
||||
### New in Qt 6.2.2
|
||||
set(qtapplicationmanager_REF 68464eb2b3fa89c69cfc5fc4f19450af61116dd2) #
|
||||
set(qtinterfaceframework_REF 7ddeb99d6215a4b63102d6a5bc73e50d77ddb3d7) #
|
||||
|
||||
#Submodule stuff:
|
||||
set(qttools_qlitehtml_REF 4931b7aa30f256c20573d283561aa432fecf8f38)
|
||||
set(qttools_litehtml_REF 6236113734bb0a28467e5999e86fdd2834be8e01)
|
||||
set(qttools_litehtml_HASH 38effe92aaebd7113ad3bf3b70c1b3564d6226a766aa968c80ab35fa90ae78d601486226f97d16fa5bd3abf314db19f9f0c90e31de91e87bda82cde27f0a57dc)
|
||||
set(qtwebengine_chromium_REF 2c9916de251f15369fa0f0c6bd3f45f5cf1a6f06)
|
||||
|
||||
if(QT_UPDATE_VERSION)
|
||||
message(STATUS "Running Qt in automatic version port update mode!")
|
||||
set(_VCPKG_INTERNAL_NO_HASH_CHECK 1)
|
||||
if("${PORT}" MATCHES "qtbase")
|
||||
file(REMOVE "${CMAKE_CURRENT_LIST_DIR}/cmake/qt_new_refs.cmake")
|
||||
foreach(_current_qt_port IN LISTS QT_PORTS)
|
||||
set(_current_control "${VCPKG_ROOT_DIR}/ports/${_current_qt_port}/vcpkg.json")
|
||||
file(READ "${_current_control}" _control_contents)
|
||||
string(REGEX REPLACE "\"version-(string|semver)\": [^\n]+\n" "\"version-semver\": \"${QT_VERSION}\",\n" _control_contents "${_control_contents}")
|
||||
string(REGEX REPLACE "\"port-version\": [^\n]+\n" "" _control_contents "${_control_contents}")
|
||||
file(WRITE "${_current_control}" "${_control_contents}")
|
||||
#need to run a vcpkg format-manifest --all after update once
|
||||
endforeach()
|
||||
endif()
|
||||
endif()
|
||||
132
externals/vcpkg/ports/qtbase/cmake/qt_port_details.cmake
vendored
Executable file
132
externals/vcpkg/ports/qtbase/cmake/qt_port_details.cmake
vendored
Executable file
@@ -0,0 +1,132 @@
|
||||
set(QT_VERSION 6.2.4)
|
||||
|
||||
if(PORT MATCHES "qtquickcontrols2")
|
||||
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
||||
message(STATUS "qtquickcontrols2 is integrated in qtdeclarative since Qt 6.2. Please remove your dependency on it!")
|
||||
return()
|
||||
endif()
|
||||
|
||||
### Setting up the git tag.
|
||||
set(QT_FETCH_REF "")
|
||||
set(QT_GIT_TAG "v${QT_VERSION}")
|
||||
if(PORT MATCHES "qtdeviceutilities|qtlocation|qtinterfaceframework|qtapplicationmanager")
|
||||
# So much for consistency ....
|
||||
set(QT_FETCH_REF FETCH_REF "${QT_VERSION}")
|
||||
set(QT_GIT_TAG "${QT_VERSION}")
|
||||
endif()
|
||||
|
||||
#set(QT_UPDATE_VERSION TRUE)
|
||||
if(QT_UPDATE_VERSION)
|
||||
function(vcpkg_extract_source_archive)
|
||||
endfunction()
|
||||
endif()
|
||||
|
||||
set(QT_PORTS qt
|
||||
qtbase
|
||||
qttools
|
||||
qtdeclarative
|
||||
qtsvg
|
||||
qt5compat
|
||||
qtshadertools
|
||||
qtquicktimeline
|
||||
qtquick3d
|
||||
qttranslations
|
||||
qtwayland
|
||||
qtdoc
|
||||
qtcoap
|
||||
qtopcua
|
||||
qtimageformats
|
||||
qtmqtt
|
||||
qtnetworkauth
|
||||
# qtquickcontrols2 -> moved into qtdeclarative
|
||||
## New in 6.1
|
||||
qtactiveqt
|
||||
qtdatavis3d
|
||||
qtdeviceutilities
|
||||
qtlottie
|
||||
qtscxml
|
||||
qtvirtualkeyboard
|
||||
qtcharts
|
||||
## New in 6.2
|
||||
qtconnectivity
|
||||
qtpositioning
|
||||
qtlocation
|
||||
qtmultimedia
|
||||
qtremoteobjects
|
||||
qtsensors
|
||||
qtserialbus
|
||||
qtserialport
|
||||
qtwebchannel
|
||||
qtwebengine
|
||||
qtwebsockets
|
||||
qtwebview
|
||||
## New in 6.2.2
|
||||
qtinterfaceframework
|
||||
qtapplicationmanager
|
||||
)
|
||||
|
||||
foreach(_port IN LISTS QT_PORTS)
|
||||
set(${_port}_TAG ${QT_GIT_TAG})
|
||||
endforeach()
|
||||
set(qtbase_REF 597359f7d0736917123842dee63a7ae45522eb8e )
|
||||
set(qtshadertools_REF d954aeb073375ee1edda4d6b2956c3c79b26b386 )
|
||||
set(qtdeclarative_REF 614d85d460fa46e947eeb4281609ce5453a29e5c )
|
||||
set(qt5compat_REF c5dab10ba77dd2701dbd2d7b69998fbee90557f2 )
|
||||
set(qttools_REF a60e0e5dfb2af83ffb1adda28028b24e21fe9131 ) # Additional refs below
|
||||
set(qtcoap_REF 29df645fc165087e74b603e7ad20033381006fb5 )
|
||||
set(qtdoc_REF 5c70158a15f23224a76b6919ab06eefee6ed187e )
|
||||
set(qtimageformats_REF 356fb7846b5bc002b2d34e23253fda1dffed7932 )
|
||||
set(qtmqtt_REF 9ad6c48474c2b94c62a518dc3dc7e65d30a6309e )
|
||||
set(qtnetworkauth_REF d5ffb7549dd1e6139b746021c4d40053d0f15950 )
|
||||
set(qtopcua_REF 4a0dd4334d98bea48acda1e203ab2c31f207bad3 )
|
||||
set(qtquicktimeline_REF 6a06bdbaa55d1c165e992732f2e3dc923846b921 )
|
||||
set(qtquick3d_REF d126dea81f48386ef24e8b30e1328c40e72c4861 )
|
||||
set(qtsvg_REF 77ea18adfb91c591f249f442e0ffc0079023e431 )
|
||||
set(qttranslations_REF 87f95df09b1fc388ea15ce208a349d6b1deac2a4 )
|
||||
set(qtwayland_REF 6bdaed8301336750dda95823ed0dfac4828ebab6 )
|
||||
### New in 6.1
|
||||
set(qtactiveqt_REF 5dd7acd1395627e6bd0d87beb148957059c1a3c6 )
|
||||
set(qtcharts_REF 7184ea521d04ec13587562c3275ae698fa9a722e )
|
||||
set(qtdatavis3d_REF 74c469d4926f59264c5cbc47fe301fe4713aa358 )
|
||||
set(qtdeviceutilities_REF f7333510b4dcfe32eb9065a63c434704750d4fb6 )
|
||||
set(qtlottie_REF fd61d8e92cfacbd3d10f31b176a7cde911525632 )
|
||||
set(qtscxml_REF 63455c888e012fdc682c32fd3d0de96127721bd4 )
|
||||
set(qtvirtualkeyboard_REF ffe9bba23ae45662d25ac3d90167d794e0d6c828 )
|
||||
### New in 6.2
|
||||
set(qtconnectivity_REF f0ac95d1685f4f0f2e72fb42800b17d7738ccefb )
|
||||
set(qtmultimedia_REF 3423c7172f948f27ff0512d1d2db4ea97fc0e9c0 )
|
||||
set(qtremoteobjects_REF 2d0f27e736211e2a6b9d08345f65c736a17a67eb )
|
||||
set(qtserialport_REF c7dc6737a2e98af81900f55f814cf79a6d579779 )
|
||||
set(qtsensors_REF 32dda47f507e74ef7ed33290545b762a0c20e532 )
|
||||
set(qtserialbus_REF 1ebbf87cbc90c22817785bffc563d4bb86525abc )
|
||||
set(qtlocation_REF 0 ) # Currently empty port
|
||||
set(qtwebchannel_REF e1014dcf9a924d3b8fd3450a3360381a0a8fc6ab )
|
||||
set(qtwebengine_REF cc7181c12d1d1605ecab6c448df4a684278d01d8 ) # Additional refs below
|
||||
set(qtwebsockets_REF fd509016da201ed63122c5ec79355930f2489ee8 )
|
||||
set(qtwebview_REF aade84c30fbbc85fe5a8c5e49172a02a7522623d )
|
||||
set(qtpositioning_REF 3a68165bc88f9ddd165567d30887147d2d71915b )
|
||||
### New in Qt 6.2.2
|
||||
set(qtapplicationmanager_REF 2626ae6e9ce84aebd88a163153719c07d7f65b7d )
|
||||
set(qtinterfaceframework_REF 71512be8758c75b4b6b0130d6b623f564c6bf227 )
|
||||
|
||||
#Submodule stuff:
|
||||
set(qttools_qlitehtml_REF 4931b7aa30f256c20573d283561aa432fecf8f38)
|
||||
set(qttools_litehtml_REF 6236113734bb0a28467e5999e86fdd2834be8e01)
|
||||
set(qttools_litehtml_HASH 38effe92aaebd7113ad3bf3b70c1b3564d6226a766aa968c80ab35fa90ae78d601486226f97d16fa5bd3abf314db19f9f0c90e31de91e87bda82cde27f0a57dc)
|
||||
set(qtwebengine_chromium_REF b33b4266df8c333d3d273ae4665d6b322eee33c6)
|
||||
|
||||
if(QT_UPDATE_VERSION)
|
||||
message(STATUS "Running Qt in automatic version port update mode!")
|
||||
set(_VCPKG_INTERNAL_NO_HASH_CHECK 1)
|
||||
if("${PORT}" MATCHES "qtbase")
|
||||
file(REMOVE "${CMAKE_CURRENT_LIST_DIR}/cmake/qt_new_refs.cmake")
|
||||
foreach(_current_qt_port IN LISTS QT_PORTS)
|
||||
set(_current_control "${VCPKG_ROOT_DIR}/ports/${_current_qt_port}/vcpkg.json")
|
||||
file(READ "${_current_control}" _control_contents)
|
||||
string(REGEX REPLACE "\"version(-(string|semver))?\": [^\n]+\n" "\"version\": \"${QT_VERSION}\",\n" _control_contents "${_control_contents}")
|
||||
string(REGEX REPLACE "\"port-version\": [^\n]+\n" "" _control_contents "${_control_contents}")
|
||||
file(WRITE "${_current_control}" "${_control_contents}")
|
||||
#need to run a vcpkg format-manifest --all after update once
|
||||
endforeach()
|
||||
endif()
|
||||
endif()
|
||||
13
externals/vcpkg/ports/qtbase/config_install.patch
vendored
Executable file
13
externals/vcpkg/ports/qtbase/config_install.patch
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake
|
||||
index bd186c28b..edee52e8b 100644
|
||||
--- a/cmake/QtBuild.cmake
|
||||
+++ b/cmake/QtBuild.cmake
|
||||
@@ -194,7 +194,7 @@ function(qt_internal_set_up_global_paths)
|
||||
if(QT_CONFIG_INSTALL_DIR)
|
||||
string(APPEND QT_CONFIG_INSTALL_DIR "/")
|
||||
endif()
|
||||
- string(APPEND QT_CONFIG_INSTALL_DIR ${__config_path_part})
|
||||
+ string(APPEND QT_CONFIG_INSTALL_DIR "share")
|
||||
|
||||
set(QT_BUILD_DIR "${QT_BUILD_DIR}" PARENT_SCOPE)
|
||||
set(QT_INSTALL_DIR "${QT_INSTALL_DIR}" PARENT_SCOPE)
|
||||
58
externals/vcpkg/ports/qtbase/dont_force_cmakecache.patch
vendored
Executable file
58
externals/vcpkg/ports/qtbase/dont_force_cmakecache.patch
vendored
Executable file
@@ -0,0 +1,58 @@
|
||||
diff --git a/cmake/QtPostProcessHelpers.cmake b/cmake/QtPostProcessHelpers.cmake
|
||||
index 4f8106dfa..bec5c402e 100644
|
||||
--- a/cmake/QtPostProcessHelpers.cmake
|
||||
+++ b/cmake/QtPostProcessHelpers.cmake
|
||||
@@ -472,7 +472,7 @@ function(qt_generate_install_prefixes out_var)
|
||||
|
||||
foreach(var ${vars})
|
||||
get_property(docstring CACHE "${var}" PROPERTY HELPSTRING)
|
||||
- string(APPEND content "set(${var} \"${${var}}\" CACHE STRING \"${docstring}\" FORCE)\n")
|
||||
+ string(APPEND content "set(${var} \"${${var}}\" CACHE STRING \"${docstring}\" )\n")
|
||||
endforeach()
|
||||
|
||||
set(${out_var} "${content}" PARENT_SCOPE)
|
||||
@@ -528,7 +528,7 @@ qt_internal_force_set_cmake_build_type_conditionally(
|
||||
endif()
|
||||
if(CMAKE_CONFIGURATION_TYPES)
|
||||
string(APPEND multi_config_specific
|
||||
- " set(CMAKE_CONFIGURATION_TYPES \"${CMAKE_CONFIGURATION_TYPES}\" CACHE STRING \"\" FORCE)\n")
|
||||
+ " set(CMAKE_CONFIGURATION_TYPES \"${CMAKE_CONFIGURATION_TYPES}\" CACHE STRING \"\")\n")
|
||||
endif()
|
||||
if(CMAKE_TRY_COMPILE_CONFIGURATION)
|
||||
string(APPEND multi_config_specific
|
||||
@@ -655,7 +655,7 @@ endif()\n")
|
||||
# find_package(Qt6Core) is called in case if the feature was disabled.
|
||||
string(APPEND QT_EXTRA_BUILD_INTERNALS_VARS "
|
||||
if(NOT QT_SKIP_BUILD_INTERNALS_PKG_CONFIG_FEATURE)
|
||||
- set(FEATURE_pkg_config \"${FEATURE_pkg_config}\" CACHE STRING \"Using pkg-config\" FORCE)
|
||||
+ set(FEATURE_pkg_config \"${FEATURE_pkg_config}\" CACHE STRING \"Using pkg-config\")
|
||||
endif()\n")
|
||||
|
||||
# The OpenSSL root dir needs to be saved so that repos other than qtbase (like qtopcua) can
|
||||
diff --git a/cmake/QtBuildInternalsExtra.cmake.in b/cmake/QtBuildInternalsExtra.cmake.in
|
||||
index cadf3847c..6ec51fd63 100644
|
||||
--- a/cmake/QtBuildInternalsExtra.cmake.in
|
||||
+++ b/cmake/QtBuildInternalsExtra.cmake.in
|
||||
@@ -41,11 +41,11 @@ if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT AND
|
||||
AND "${CMAKE_STAGING_PREFIX}" STREQUAL ""
|
||||
AND NOT QT_BUILD_INTERNALS_NO_FORCE_SET_STAGING_PREFIX)
|
||||
set(CMAKE_STAGING_PREFIX "${qtbi_new_prefix}" CACHE PATH
|
||||
- "Staging path prefix, prepended onto install directories on the host machine." FORCE)
|
||||
+ "Staging path prefix, prepended onto install directories on the host machine." )
|
||||
set(qtbi_new_prefix "${qtbi_orig_prefix}")
|
||||
endif()
|
||||
set(CMAKE_INSTALL_PREFIX "${qtbi_new_prefix}" CACHE PATH
|
||||
- "Install path prefix, prepended onto install directories." FORCE)
|
||||
+ "Install path prefix, prepended onto install directories." )
|
||||
unset(qtbi_orig_prefix)
|
||||
unset(qtbi_real_orig_prefix)
|
||||
unset(qtbi_new_prefix)
|
||||
@@ -138,7 +138,7 @@ function(qt_internal_force_set_cmake_build_type_conditionally value)
|
||||
AND NOT __qt_toolchain_cmake_build_type_before_project_call
|
||||
AND NOT QT_NO_FORCE_SET_CMAKE_BUILD_TYPE
|
||||
AND NOT __qt_internal_extras_is_multi_config)
|
||||
- set(CMAKE_BUILD_TYPE "${value}" CACHE STRING "Choose the type of build." FORCE)
|
||||
+ set(CMAKE_BUILD_TYPE "${value}" CACHE STRING "Choose the type of build.")
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
13
externals/vcpkg/ports/qtbase/dont_force_cmakecache_latest.patch
vendored
Executable file
13
externals/vcpkg/ports/qtbase/dont_force_cmakecache_latest.patch
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
diff --git a/cmake/QtPostProcessHelpers.cmake b/cmake/QtPostProcessHelpers.cmake
|
||||
index 4f8106dfa..bec5c402e 100644
|
||||
--- a/cmake/QtPostProcessHelpers.cmake
|
||||
+++ b/cmake/QtPostProcessHelpers.cmake
|
||||
@@ -414,7 +414,7 @@ function(qt_generate_install_prefixes out_var)
|
||||
|
||||
foreach(var ${vars})
|
||||
get_property(docstring CACHE "${var}" PROPERTY HELPSTRING)
|
||||
- string(APPEND content "set(${var} \"${${var}}\" CACHE STRING \"${docstring}\" FORCE)\n")
|
||||
+ string(APPEND content "set(${var} \"${${var}}\" CACHE STRING \"${docstring}\")\n")
|
||||
endforeach()
|
||||
|
||||
set(${out_var} "${content}" PARENT_SCOPE)
|
||||
16
externals/vcpkg/ports/qtbase/env.patch
vendored
Executable file
16
externals/vcpkg/ports/qtbase/env.patch
vendored
Executable file
@@ -0,0 +1,16 @@
|
||||
diff --git a/cmake/QtTestHelpers.cmake b/cmake/QtTestHelpers.cmake
|
||||
index 279ab07dd..951fd3d36 100644
|
||||
--- a/cmake/QtTestHelpers.cmake
|
||||
+++ b/cmake/QtTestHelpers.cmake
|
||||
@@ -653,9 +653,9 @@ function(qt_internal_collect_command_environment out_path out_plugin_path)
|
||||
# The regular CMAKE_INSTALL_PREFIX can be different for example when building standalone tests.
|
||||
# Any given CMAKE_INSTALL_PREFIX takes priority over qt_relocatable_install_prefix for the
|
||||
# PATH environment variable.
|
||||
- set(install_prefixes "${CMAKE_INSTALL_PREFIX}")
|
||||
+ set(install_prefixes "${CMAKE_INSTALL_PREFIX}$<$<CONFIG:DEBUG>:/debug>")
|
||||
if(QT_BUILD_INTERNALS_RELOCATABLE_INSTALL_PREFIX)
|
||||
- list(APPEND install_prefixes "${QT_BUILD_INTERNALS_RELOCATABLE_INSTALL_PREFIX}")
|
||||
+ list(APPEND install_prefixes "${QT_BUILD_INTERNALS_RELOCATABLE_INSTALL_PREFIX}$<$<CONFIG:DEBUG>:/debug>")
|
||||
endif()
|
||||
|
||||
file(TO_NATIVE_PATH "${CMAKE_CURRENT_BINARY_DIR}" test_env_path)
|
||||
15
externals/vcpkg/ports/qtbase/fix_cmake_build.patch
vendored
Executable file
15
externals/vcpkg/ports/qtbase/fix_cmake_build.patch
vendored
Executable file
@@ -0,0 +1,15 @@
|
||||
diff --git a/cmake/QtBuildInternalsExtra.cmake.in b/cmake/QtBuildInternalsExtra.cmake.in
|
||||
index ffc9d90f8..0b3a7d59e 100644
|
||||
--- a/cmake/QtBuildInternalsExtra.cmake.in
|
||||
+++ b/cmake/QtBuildInternalsExtra.cmake.in
|
||||
@@ -51,8 +51,8 @@ endif()
|
||||
set(QT_WILL_INSTALL @QT_WILL_INSTALL@ CACHE BOOL
|
||||
"Boolean indicating if doing a Qt prefix build (vs non-prefix build)." FORCE)
|
||||
|
||||
-set(QT_SOURCE_TREE "@QT_SOURCE_TREE@" CACHE PATH
|
||||
-"A path to the source tree of the previously configured QtBase project." FORCE)
|
||||
+# set(QT_SOURCE_TREE "@QT_SOURCE_TREE@" CACHE PATH
|
||||
+# "A path to the source tree of the previously configured QtBase project." FORCE)
|
||||
|
||||
# Propagate decision of building tests and examples to other repositories.
|
||||
set(QT_BUILD_TESTS @QT_BUILD_TESTS@ CACHE BOOL "Build the testing tree.")
|
||||
12
externals/vcpkg/ports/qtbase/fix_egl.patch
vendored
Executable file
12
externals/vcpkg/ports/qtbase/fix_egl.patch
vendored
Executable file
@@ -0,0 +1,12 @@
|
||||
diff --git a/cmake/3rdparty/extra-cmake-modules/find-modules/FindEGL.cmake b/cmake/3rdparty/extra-cmake-modules/find-modules/FindEGL.cmake
|
||||
index eafbc1ff9..dd4068838 100644
|
||||
--- a/cmake/3rdparty/extra-cmake-modules/find-modules/FindEGL.cmake
|
||||
+++ b/cmake/3rdparty/extra-cmake-modules/find-modules/FindEGL.cmake
|
||||
@@ -82,6 +82,7 @@ find_path(EGL_INCLUDE_DIR
|
||||
find_library(EGL_LIBRARY
|
||||
NAMES
|
||||
EGL
|
||||
+ libEGL # required to find angle on windows within vcpkg.
|
||||
HINTS
|
||||
${PKG_EGL_LIBRARY_DIRS}
|
||||
)
|
||||
13
externals/vcpkg/ports/qtbase/harfbuzz.patch
vendored
Executable file
13
externals/vcpkg/ports/qtbase/harfbuzz.patch
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
diff --git a/cmake/FindWrapSystemHarfbuzz.cmake b/cmake/FindWrapSystemHarfbuzz.cmake
|
||||
index 3cb44aa76..9bf0d7165 100644
|
||||
--- a/cmake/FindWrapSystemHarfbuzz.cmake
|
||||
+++ b/cmake/FindWrapSystemHarfbuzz.cmake
|
||||
@@ -6,7 +6,7 @@ if(TARGET WrapSystemHarfbuzz::WrapSystemHarfbuzz)
|
||||
endif()
|
||||
set(WrapSystemHarfbuzz_REQUIRED_VARS __harfbuzz_found)
|
||||
|
||||
-find_package(harfbuzz ${${CMAKE_FIND_PACKAGE_NAME}_FIND_VERSION} QUIET)
|
||||
+find_package(harfbuzz QUIET) # VCPKG is missing the version file for harfbuzz.
|
||||
|
||||
# Gentoo has some buggy version of a harfbuzz Config file. Check if include paths are valid.
|
||||
set(__harfbuzz_target_name "harfbuzz::harfbuzz")
|
||||
438
externals/vcpkg/ports/qtbase/portfile.cmake
vendored
Executable file
438
externals/vcpkg/ports/qtbase/portfile.cmake
vendored
Executable file
@@ -0,0 +1,438 @@
|
||||
# Reminder for myself and everybody else:
|
||||
# Qt cross module dependency information within the Qt respository is wrong and/or incomplete.
|
||||
# Always check the toplevel CMakeLists.txt for the find_package call and search for linkage against the Qt:: targets
|
||||
# Often enough certain (bigger) dependencies are only used to build examples and/or tests.
|
||||
# As such getting the correct dependency information relevant for vcpkg requires a manual search/check
|
||||
set(QT_IS_LATEST ON)
|
||||
if("latest" IN_LIST FEATURES)
|
||||
set(QT_IS_LATEST ON)
|
||||
endif()
|
||||
|
||||
## All above goes into the qt_port_hashes in the future
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/cmake/qt_install_submodule.cmake")
|
||||
|
||||
set(${PORT}_PATCHES
|
||||
allow_outside_prefix.patch
|
||||
clang-cl_source_location.patch
|
||||
config_install.patch
|
||||
fix_cmake_build.patch
|
||||
harfbuzz.patch
|
||||
fix_egl.patch
|
||||
)
|
||||
|
||||
if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
|
||||
list(APPEND ${PORT}_PATCHES env.patch)
|
||||
endif()
|
||||
|
||||
if(NOT VCPKG_USE_HEAD_VERSION AND NOT QT_IS_LATEST)
|
||||
list(APPEND ${PORT}_PATCHES
|
||||
dont_force_cmakecache.patch
|
||||
)
|
||||
else()
|
||||
list(APPEND ${PORT}_PATCHES
|
||||
dont_force_cmakecache_latest.patch
|
||||
)
|
||||
endif()
|
||||
|
||||
if(VCPKG_TARGET_IS_WINDOWS AND NOT "doubleconversion" IN_LIST FEATURES)
|
||||
message(FATAL_ERROR "${PORT} requires feature doubleconversion on windows!" )
|
||||
endif()
|
||||
|
||||
# Features can be found via searching for qt_feature in all configure.cmake files in the source:
|
||||
# The files also contain information about the Platform for which it is searched
|
||||
# Always use FEATURE_<feature> in vcpkg_cmake_configure
|
||||
# (using QT_FEATURE_X overrides Qts condition check for the feature.)
|
||||
# Theoretically there is a feature for every widget to enable/disable it but that is way to much for vcpkg
|
||||
|
||||
set(input_vars doubleconversion freetype harfbuzz libb2 jpeg libmd4c png sql-sqlite)
|
||||
set(INPUT_OPTIONS)
|
||||
foreach(_input IN LISTS input_vars)
|
||||
if(_input MATCHES "(png|jpeg)" )
|
||||
list(APPEND INPUT_OPTIONS -DINPUT_lib${_input}:STRING=)
|
||||
elseif(_input MATCHES "(sql-sqlite)") # Not yet used by the cmake build
|
||||
else()
|
||||
list(APPEND INPUT_OPTIONS -DINPUT_${_input}:STRING=)
|
||||
endif()
|
||||
if("${_input}" IN_LIST FEATURES)
|
||||
string(APPEND INPUT_OPTIONS system)
|
||||
elseif(_input STREQUAL "libb2" AND NOT VCPKG_TARGET_IS_WINDOWS)
|
||||
string(APPEND INPUT_OPTIONS system)
|
||||
elseif(_input STREQUAL "libmd4c")
|
||||
string(APPEND INPUT_OPTIONS qt) # libmd4c is not yet in VCPKG (but required by qtdeclarative)
|
||||
else()
|
||||
string(APPEND INPUT_OPTIONS no)
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
# General features:
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
"appstore-compliant" FEATURE_appstore_compliant
|
||||
"zstd" FEATURE_zstd
|
||||
"framework" FEATURE_framework
|
||||
"concurrent" FEATURE_concurrent
|
||||
"concurrent" FEATURE_future
|
||||
"dbus" FEATURE_dbus
|
||||
"gui" FEATURE_gui
|
||||
"thread" FEATURE_thread
|
||||
"network" FEATURE_network
|
||||
"sql" FEATURE_sql
|
||||
"widgets" FEATURE_widgets
|
||||
#"xml" FEATURE_xml # Required to build moc
|
||||
"testlib" FEATURE_testlib
|
||||
"zstd" CMAKE_REQUIRE_FIND_PACKAGE_zstd
|
||||
${require_features}
|
||||
INVERTED_FEATURES
|
||||
"zstd" CMAKE_DISABLE_FIND_PACKAGE_ZSTD
|
||||
"dbus" CMAKE_DISABLE_FIND_PACKAGE_WrapDBus1
|
||||
)
|
||||
|
||||
list(APPEND FEATURE_OPTIONS -DCMAKE_DISABLE_FIND_PACKAGE_Libudev:BOOL=ON)
|
||||
list(APPEND FEATURE_OPTIONS -DFEATURE_xml:BOOL=ON)
|
||||
|
||||
if(VCPKG_QT_NAMESPACE)
|
||||
list(APPEND FEATURE_OPTIONS "-DQT_NAMESPACE:STRING=${VCPKG_QT_NAMESPACE}")
|
||||
endif()
|
||||
|
||||
# Corelib features:
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_CORE_OPTIONS
|
||||
FEATURES
|
||||
"doubleconversion" FEATURE_doubleconversion
|
||||
"glib" FEATURE_glib
|
||||
"icu" FEATURE_icu
|
||||
"pcre2" FEATURE_pcre2
|
||||
#"icu" CMAKE_REQUIRE_FIND_PACKAGE_ICU
|
||||
"glib" CMAKE_REQUIRE_FIND_PACKAGE_GLIB2
|
||||
INVERTED_FEATURES
|
||||
#"doubleconversion" CMAKE_DISABLE_FIND_PACKAGE_WrapDoubleConversion # Required
|
||||
#"pcre2" CMAKE_DISABLE_FIND_PACKAGE_WrapSystemPCRE2 # Bug in qt cannot be deactivated
|
||||
"icu" CMAKE_DISABLE_FIND_PACKAGE_ICU
|
||||
"glib" CMAKE_DISABLE_FIND_PACKAGE_GLIB2
|
||||
)
|
||||
|
||||
list(APPEND FEATURE_CORE_OPTIONS -DCMAKE_DISABLE_FIND_PACKAGE_LTTngUST:BOOL=ON)
|
||||
list(APPEND FEATURE_CORE_OPTIONS -DCMAKE_DISABLE_FIND_PACKAGE_PPS:BOOL=ON)
|
||||
list(APPEND FEATURE_CORE_OPTIONS -DCMAKE_DISABLE_FIND_PACKAGE_Slog2:BOOL=ON)
|
||||
list(APPEND FEATURE_CORE_OPTIONS -DCMAKE_DISABLE_FIND_PACKAGE_Libsystemd:BOOL=ON)
|
||||
|
||||
# Network features:
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_NET_OPTIONS
|
||||
FEATURES
|
||||
"openssl" FEATURE_openssl
|
||||
"brotli" FEATURE_brotli
|
||||
#"brotli" CMAKE_REQUIRE_FIND_PACKAGE_WrapBrotli
|
||||
#"openssl" CMAKE_REQUIRE_FIND_PACKAGE_WrapOpenSSL
|
||||
INVERTED_FEATURES
|
||||
"brotli" CMAKE_DISABLE_FIND_PACKAGE_WrapBrotli
|
||||
"openssl" CMAKE_DISABLE_FIND_PACKAGE_WrapOpenSSL
|
||||
)
|
||||
|
||||
if("openssl" IN_LIST FEATURES)
|
||||
list(APPEND FEATURE_NET_OPTIONS -DINPUT_openssl=linked)
|
||||
else()
|
||||
list(APPEND FEATURE_NET_OPTIONS -DINPUT_openssl=no)
|
||||
endif()
|
||||
|
||||
list(APPEND FEATURE_NET_OPTIONS -DCMAKE_DISABLE_FIND_PACKAGE_Libproxy:BOOL=ON)
|
||||
list(APPEND FEATURE_NET_OPTIONS -DCMAKE_DISABLE_FIND_PACKAGE_GSSAPI:BOOL=ON)
|
||||
|
||||
# Gui features:
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_GUI_OPTIONS
|
||||
FEATURES
|
||||
"freetype" FEATURE_freetype # required on windows
|
||||
"harfbuzz" FEATURE_harfbuzz
|
||||
"fontconfig" FEATURE_fontconfig # NOT WINDOWS
|
||||
"jpeg" FEATURE_jpeg
|
||||
"png" FEATURE_png
|
||||
#"opengl" INPUT_opengl=something
|
||||
"xlib" FEATURE_xlib
|
||||
"xkb" FEATURE_xkbcommon
|
||||
"xcb" FEATURE_xcb
|
||||
"xcb-xlib" FEATURE_xcb_xlib
|
||||
"xkbcommon-x11" FEATURE_xkbcommon_x11
|
||||
"xrender" FEATURE_xrender # requires FEATURE_xcb_native_painting; otherwise disabled.
|
||||
"xrender" FEATURE_xcb_native_painting # experimental
|
||||
#"vulkan" CMAKE_REQUIRE_FIND_PACKAGE_Vulkan
|
||||
#"egl" CMAKE_REQUIRE_FIND_PACKAGE_EGL
|
||||
#"fontconfig" CMAKE_REQUIRE_FIND_PACKAGE_Fontconfig
|
||||
#"harfbuzz" CMAKE_REQUIRE_FIND_PACKAGE_WrapSystemHarfbuzz
|
||||
#"jpeg" CMAKE_REQUIRE_FIND_PACKAGE_JPEG
|
||||
#"png" CMAKE_REQUIRE_FIND_PACKAGE_PNG
|
||||
#"xlib" CMAKE_REQUIRE_FIND_PACKAGE_X11
|
||||
#"xkb" CMAKE_REQUIRE_FIND_PACKAGE_XKB
|
||||
#"xcb" CMAKE_REQUIRE_FIND_PACKAGE_XCB
|
||||
#"xcb-xlib" CMAKE_REQUIRE_FIND_PACKAGE_X11_XCB
|
||||
#"xkbcommon-x11" CMAKE_REQUIRE_FIND_PACKAGE_XKB_COMMON_X11
|
||||
#"xrender" CMAKE_REQUIRE_FIND_PACKAGE_XRender
|
||||
INVERTED_FEATURES
|
||||
"vulkan" CMAKE_DISABLE_FIND_PACKAGE_Vulkan
|
||||
"egl" CMAKE_DISABLE_FIND_PACKAGE_EGL
|
||||
"fontconfig" CMAKE_DISABLE_FIND_PACKAGE_Fontconfig
|
||||
#"freetype" CMAKE_DISABLE_FIND_PACKAGE_WrapSystemFreetype # Bug in qt cannot be deactivated
|
||||
"harfbuzz" CMAKE_DISABLE_FIND_PACKAGE_WrapSystemHarfbuzz
|
||||
"jpeg" CMAKE_DISABLE_FIND_PACKAGE_JPEG
|
||||
"png" CMAKE_DISABLE_FIND_PACKAGE_PNG
|
||||
"xlib" CMAKE_DISABLE_FIND_PACKAGE_X11
|
||||
"xkb" CMAKE_DISABLE_FIND_PACKAGE_XKB
|
||||
"xcb" CMAKE_DISABLE_FIND_PACKAGE_XCB
|
||||
"xcb-xlib" CMAKE_DISABLE_FIND_PACKAGE_X11_XCB
|
||||
"xkbcommon-x11" CMAKE_DISABLE_FIND_PACKAGE_XKB_COMMON_X11
|
||||
"xrender" CMAKE_DISABLE_FIND_PACKAGE_XRender
|
||||
# There are more X features but I am unsure how to safely disable them! Most of them seem to be found automaticall with find_package(X11)
|
||||
)
|
||||
|
||||
if("xcb" IN_LIST FEATURES)
|
||||
list(APPEND FEATURE_GUI_OPTIONS -DINPUT_xcb=yes)
|
||||
else()
|
||||
list(APPEND FEATURE_GUI_OPTIONS -DINPUT_xcb=no)
|
||||
endif()
|
||||
if("xkb" IN_LIST FEATURES)
|
||||
list(APPEND FEATURE_GUI_OPTIONS -DINPUT_xkbcommon=yes)
|
||||
else()
|
||||
list(APPEND FEATURE_GUI_OPTIONS -DINPUT_xkbcommon=no)
|
||||
endif()
|
||||
list(APPEND FEATURE_GUI_OPTIONS )
|
||||
|
||||
list(APPEND FEATURE_GUI_OPTIONS -DCMAKE_DISABLE_FIND_PACKAGE_ATSPI2:BOOL=ON)
|
||||
list(APPEND FEATURE_GUI_OPTIONS -DCMAKE_DISABLE_FIND_PACKAGE_DirectFB:BOOL=ON)
|
||||
list(APPEND FEATURE_GUI_OPTIONS -DCMAKE_DISABLE_FIND_PACKAGE_Libdrm:BOOL=ON)
|
||||
list(APPEND FEATURE_GUI_OPTIONS -DCMAKE_DISABLE_FIND_PACKAGE_gbm:BOOL=ON)
|
||||
list(APPEND FEATURE_GUI_OPTIONS -DCMAKE_DISABLE_FIND_PACKAGE_Libinput:BOOL=ON)
|
||||
list(APPEND FEATURE_GUI_OPTIONS -DCMAKE_DISABLE_FIND_PACKAGE_Mtdev:BOOL=ON)
|
||||
list(APPEND FEATURE_GUI_OPTIONS -DCMAKE_DISABLE_FIND_PACKAGE_GLESv2:BOOL=ON) # only used if INPUT_opengl is correctly set
|
||||
list(APPEND FEATURE_GUI_OPTIONS -DCMAKE_DISABLE_FIND_PACKAGE_Tslib:BOOL=ON)
|
||||
# sql-drivers features:
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_SQLDRIVERS_OPTIONS
|
||||
FEATURES
|
||||
"sql-sqlite" FEATURE_system_sqlite
|
||||
#"sql-psql" CMAKE_REQUIRE_FIND_PACKAGE_PostgreSQL
|
||||
#"sql-sqlite" CMAKE_REQUIRE_FIND_PACKAGE_SQLite3
|
||||
INVERTED_FEATURES
|
||||
"sql-psql" CMAKE_DISABLE_FIND_PACKAGE_PostgreSQL
|
||||
"sql-sqlite" CMAKE_DISABLE_FIND_PACKAGE_SQLite3
|
||||
# "sql-db2" FEATURE_sql-db2
|
||||
# "sql-ibase" FEATURE_sql-ibase
|
||||
# "sql-mysql" FEATURE_sql-mysql
|
||||
# "sql-oci" FEATURE_sql-oci
|
||||
# "sql-odbc" FEATURE_sql-odbc
|
||||
)
|
||||
|
||||
set(DB_LIST DB2 MySQL Oracle ODBC)
|
||||
foreach(_db IN LISTS DB_LIST)
|
||||
list(APPEND FEATURE_SQLDRIVERS_OPTIONS -DCMAKE_DISABLE_FIND_PACKAGE_${_db}:BOOL=ON)
|
||||
endforeach()
|
||||
|
||||
# printsupport features:
|
||||
# vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_PRINTSUPPORT_OPTIONS
|
||||
# )
|
||||
list(APPEND FEATURE_PRINTSUPPORT_OPTIONS -DCMAKE_DISABLE_FIND_PACKAGE_CUPS:BOOL=ON)
|
||||
|
||||
# widgets features:
|
||||
# vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_WIDGETS_OPTIONS
|
||||
# "gtk3" FEATURE_gtk3
|
||||
# There are a lot of additional features here to deactivate parts of widgets.
|
||||
# )
|
||||
list(APPEND FEATURE_WIDGETS_OPTIONS -DCMAKE_DISABLE_FIND_PACKAGE_GTK3:BOOL=ON)
|
||||
|
||||
set(TOOL_NAMES
|
||||
androiddeployqt
|
||||
androidtestrunner
|
||||
cmake_automoc_parser
|
||||
moc
|
||||
qdbuscpp2xml
|
||||
qdbusxml2cpp
|
||||
qlalr
|
||||
qmake
|
||||
qmake6
|
||||
qvkgen
|
||||
rcc
|
||||
tracegen
|
||||
uic
|
||||
qtpaths
|
||||
qtpaths6
|
||||
windeployqt
|
||||
macdeployqt
|
||||
)
|
||||
|
||||
qt_install_submodule(PATCHES ${${PORT}_PATCHES}
|
||||
TOOL_NAMES ${TOOL_NAMES}
|
||||
CONFIGURE_OPTIONS
|
||||
#--trace-expand
|
||||
${FEATURE_OPTIONS}
|
||||
${FEATURE_CORE_OPTIONS}
|
||||
${FEATURE_NET_OPTIONS}
|
||||
${FEATURE_GUI_OPTIONS}
|
||||
${FEATURE_SQLDRIVERS_OPTIONS}
|
||||
${FEATURE_PRINTSUPPORT_OPTIONS}
|
||||
${FEATURE_WIDGETS_OPTIONS}
|
||||
${INPUT_OPTIONS}
|
||||
-DQT_USE_BUNDLED_BundledFreetype:BOOL=FALSE
|
||||
-DQT_USE_BUNDLED_BundledHarfbuzz:BOOL=FALSE
|
||||
-DQT_USE_BUNDLED_BundledLibpng:BOOL=FALSE
|
||||
-DQT_USE_BUNDLED_BundledPcre2:BOOL=FALSE
|
||||
-DINPUT_bundled_xcb_xinput:STRING=no
|
||||
-DFEATURE_force_debug_info:BOOL=ON
|
||||
-DFEATURE_relocatable:BOOL=ON
|
||||
CONFIGURE_OPTIONS_RELEASE
|
||||
CONFIGURE_OPTIONS_DEBUG
|
||||
-DFEATURE_debug:BOOL=ON
|
||||
CONFIGURE_OPTIONS_MAYBE_UNUSED
|
||||
FEATURE_appstore_compliant # only used for android/ios
|
||||
)
|
||||
|
||||
# Install CMake helper scripts
|
||||
if(QT_IS_LATEST)
|
||||
set(port_details "${CMAKE_CURRENT_LIST_DIR}/cmake/qt_port_details-latest.cmake")
|
||||
else()
|
||||
set(port_details "${CMAKE_CURRENT_LIST_DIR}/cmake/qt_port_details.cmake")
|
||||
endif()
|
||||
file(INSTALL
|
||||
"${port_details}"
|
||||
DESTINATION
|
||||
"${CURRENT_PACKAGES_DIR}/share/${PORT}"
|
||||
RENAME
|
||||
"qt_port_details.cmake"
|
||||
)
|
||||
file(COPY
|
||||
"${CMAKE_CURRENT_LIST_DIR}/cmake/qt_install_copyright.cmake"
|
||||
"${CMAKE_CURRENT_LIST_DIR}/cmake/qt_install_submodule.cmake"
|
||||
DESTINATION
|
||||
"${CURRENT_PACKAGES_DIR}/share/${PORT}"
|
||||
)
|
||||
|
||||
qt_stop_on_update()
|
||||
|
||||
set(script_files qt-cmake qt-cmake-private qt-cmake-standalone-test qt-configure-module qt-internal-configure-tests)
|
||||
if(CMAKE_HOST_WIN32)
|
||||
set(script_suffix .bat)
|
||||
else()
|
||||
set(script_suffix)
|
||||
endif()
|
||||
set(other_files
|
||||
target_qt.conf
|
||||
qt-cmake-private-install.cmake
|
||||
syncqt.pl
|
||||
android_cmakelist_patcher.sh
|
||||
android_emulator_launcher.sh
|
||||
ensure_pro_file.cmake
|
||||
)
|
||||
foreach(_config debug release)
|
||||
if(_config MATCHES "debug")
|
||||
set(path_suffix debug/)
|
||||
else()
|
||||
set(path_suffix)
|
||||
endif()
|
||||
if(NOT EXISTS "${CURRENT_PACKAGES_DIR}/${path_suffix}bin")
|
||||
continue()
|
||||
endif()
|
||||
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/tools/Qt6/bin/${path_suffix}")
|
||||
foreach(script IN LISTS script_files)
|
||||
if(EXISTS "${CURRENT_PACKAGES_DIR}/${path_suffix}bin/${script}${script_suffix}")
|
||||
set(target_script "${CURRENT_PACKAGES_DIR}/tools/Qt6/bin/${path_suffix}${script}${script_suffix}")
|
||||
file(RENAME "${CURRENT_PACKAGES_DIR}/${path_suffix}bin/${script}${script_suffix}" "${target_script}")
|
||||
file(READ "${target_script}" _contents)
|
||||
if(_config MATCHES "debug")
|
||||
string(REPLACE "\\..\\share\\" "\\..\\..\\..\\..\\share\\" _contents "${_contents}")
|
||||
else()
|
||||
string(REPLACE "\\..\\share\\" "\\..\\..\\..\\share\\" _contents "${_contents}")
|
||||
endif()
|
||||
file(WRITE "${target_script}" "${_contents}")
|
||||
endif()
|
||||
endforeach()
|
||||
foreach(other IN LISTS other_files)
|
||||
if(EXISTS "${CURRENT_PACKAGES_DIR}/${path_suffix}bin/${other}")
|
||||
file(RENAME "${CURRENT_PACKAGES_DIR}/${path_suffix}bin/${other}" "${CURRENT_PACKAGES_DIR}/tools/Qt6/bin/${path_suffix}${other}")
|
||||
endif()
|
||||
endforeach()
|
||||
endforeach()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
if(VCPKG_CROSSCOMPILING)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin/qmake" "${CURRENT_PACKAGES_DIR}/debug/bin/qmake") # qmake has been moved so this is the qmake helper script
|
||||
endif()
|
||||
file(GLOB_RECURSE _bin_files "${CURRENT_PACKAGES_DIR}/bin/*")
|
||||
if(NOT _bin_files) # Only clean if empty otherwise let vcpkg throw and error.
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin/" "${CURRENT_PACKAGES_DIR}/debug/bin/")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/Qt6/QtBuildInternals")
|
||||
|
||||
if(NOT VCPKG_TARGET_IS_OSX)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/Qt6/macos")
|
||||
endif()
|
||||
if(NOT VCPKG_TARGET_IS_IOS)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/Qt6/ios")
|
||||
endif()
|
||||
|
||||
file(RELATIVE_PATH installed_to_host "${CURRENT_INSTALLED_DIR}" "${CURRENT_HOST_INSTALLED_DIR}")
|
||||
file(RELATIVE_PATH host_to_installed "${CURRENT_HOST_INSTALLED_DIR}" "${CURRENT_INSTALLED_DIR}")
|
||||
if(installed_to_host)
|
||||
string(APPEND installed_to_host "/")
|
||||
string(APPEND host_to_installed "/")
|
||||
endif()
|
||||
set(_file "${CMAKE_CURRENT_LIST_DIR}/qt.conf.in")
|
||||
set(REL_PATH "")
|
||||
set(REL_HOST_TO_DATA "\${CURRENT_INSTALLED_DIR}/")
|
||||
configure_file("${_file}" "${CURRENT_PACKAGES_DIR}/tools/Qt6/qt_release.conf" @ONLY) # For vcpkg-qmake
|
||||
set(BACKUP_CURRENT_INSTALLED_DIR "${CURRENT_INSTALLED_DIR}")
|
||||
set(BACKUP_CURRENT_HOST_INSTALLED_DIR "${CURRENT_HOST_INSTALLED_DIR}")
|
||||
set(CURRENT_INSTALLED_DIR "./../../../")
|
||||
set(CURRENT_HOST_INSTALLED_DIR "${CURRENT_INSTALLED_DIR}${installed_to_host}")
|
||||
|
||||
## Configure installed qt.conf
|
||||
set(REL_HOST_TO_DATA "${host_to_installed}")
|
||||
configure_file("${_file}" "${CURRENT_PACKAGES_DIR}/tools/Qt6/bin/qt.conf")
|
||||
set(REL_PATH debug/)
|
||||
configure_file("${_file}" "${CURRENT_PACKAGES_DIR}/tools/Qt6/bin/qt.debug.conf")
|
||||
|
||||
set(CURRENT_INSTALLED_DIR "${BACKUP_CURRENT_INSTALLED_DIR}")
|
||||
set(CURRENT_HOST_INSTALLED_DIR "${BACKUP_CURRENT_HOST_INSTALLED_DIR}")
|
||||
set(REL_HOST_TO_DATA "\${CURRENT_INSTALLED_DIR}/")
|
||||
configure_file("${_file}" "${CURRENT_PACKAGES_DIR}/tools/Qt6/qt_debug.conf" @ONLY) # For vcpkg-qmake
|
||||
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
set(_DLL_FILES brotlicommon brotlidec bz2 freetype harfbuzz libpng16)
|
||||
set(DLLS_TO_COPY)
|
||||
foreach(_file IN LISTS _DLL_FILES)
|
||||
if(EXISTS "${CURRENT_INSTALLED_DIR}/bin/${_file}.dll")
|
||||
list(APPEND DLLS_TO_COPY "${CURRENT_INSTALLED_DIR}/bin/${_file}.dll")
|
||||
endif()
|
||||
endforeach()
|
||||
file(COPY ${DLLS_TO_COPY} DESTINATION "${CURRENT_PACKAGES_DIR}/tools/Qt6/bin")
|
||||
endif()
|
||||
|
||||
set(hostinfofile "${CURRENT_PACKAGES_DIR}/share/Qt6HostInfo/Qt6HostInfoConfig.cmake")
|
||||
file(READ "${hostinfofile}" _contents)
|
||||
string(REPLACE [[set(QT6_HOST_INFO_LIBEXECDIR "bin")]] [[set(QT6_HOST_INFO_LIBEXECDIR "tools/Qt6/bin")]] _contents "${_contents}")
|
||||
string(REPLACE [[set(QT6_HOST_INFO_BINDIR "bin")]] [[set(QT6_HOST_INFO_BINDIR "tools/Qt6/bin")]] _contents "${_contents}")
|
||||
file(WRITE "${hostinfofile}" "${_contents}")
|
||||
|
||||
if(QT_IS_LATEST)
|
||||
set(configfile "${CURRENT_PACKAGES_DIR}/share/Qt6CoreTools/Qt6CoreToolsTargets-debug.cmake")
|
||||
if(EXISTS "${configfile}")
|
||||
file(READ "${configfile}" _contents)
|
||||
if(EXISTS "${CURRENT_PACKAGES_DIR}/tools/Qt6/bin/qmake.exe")
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/qmake.debug.bat" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/Qt6/bin")
|
||||
string(REPLACE [[ "${_IMPORT_PREFIX}/tools/Qt6/bin/qmake.exe"]] [[ "${_IMPORT_PREFIX}/tools/Qt6/bin/qmake.debug.bat"]] _contents "${_contents}")
|
||||
endif()
|
||||
if(EXISTS "${CURRENT_PACKAGES_DIR}/tools/Qt6/bin/qtpaths.exe")
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/qtpaths.debug.bat" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/Qt6/bin")
|
||||
string(REPLACE [[ "${_IMPORT_PREFIX}/tools/Qt6/bin/qtpaths.exe"]] [[ "${_IMPORT_PREFIX}/tools/Qt6/bin/qtpaths.debug.bat"]] _contents "${_contents}")
|
||||
endif()
|
||||
if(EXISTS "${CURRENT_PACKAGES_DIR}/tools/Qt6/bin/windeployqt.exe")
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/windeployqt.debug.bat" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/Qt6/bin")
|
||||
string(REPLACE [[ "${_IMPORT_PREFIX}/tools/Qt6/bin/windeployqt.exe"]] [[ "${_IMPORT_PREFIX}/tools/Qt6/bin/windeployqt.debug.bat"]] _contents "${_contents}")
|
||||
endif()
|
||||
file(WRITE "${configfile}" "${_contents}")
|
||||
endif()
|
||||
else()
|
||||
set(coretools "${CURRENT_PACKAGES_DIR}/share/Qt6CoreTools/Qt6CoreTools.cmake")
|
||||
if(EXISTS "${coretools}")
|
||||
file(READ "${coretools}" _contents)
|
||||
string(REPLACE [[ "${_IMPORT_PREFIX}/tools/Qt6/bin/qmake.exe"]] [[ "${_IMPORT_PREFIX}/tools/Qt6/bin/qmake.debug.bat"]] _contents "${_contents}")
|
||||
file(WRITE "${coretools}" "${_contents}")
|
||||
endif()
|
||||
endif()
|
||||
2
externals/vcpkg/ports/qtbase/qmake.debug.bat
vendored
Executable file
2
externals/vcpkg/ports/qtbase/qmake.debug.bat
vendored
Executable file
@@ -0,0 +1,2 @@
|
||||
@echo off
|
||||
"%0\..\qmake.exe" -qtconf "%0\..\qt.debug.conf" %*
|
||||
31
externals/vcpkg/ports/qtbase/qt.conf.in
vendored
Executable file
31
externals/vcpkg/ports/qtbase/qt.conf.in
vendored
Executable file
@@ -0,0 +1,31 @@
|
||||
[DevicePaths]
|
||||
Prefix=${CURRENT_INSTALLED_DIR}
|
||||
Headers=include/@QT6_DIRECTORY_PREFIX@
|
||||
Libraries=@REL_PATH@lib
|
||||
Plugins=@REL_PATH@@QT6_DIRECTORY_PREFIX@plugins
|
||||
Qml2Imports=@REL_PATH@@QT6_DIRECTORY_PREFIX@qml
|
||||
Documentation=doc/@QT6_DIRECTORY_PREFIX@
|
||||
Binaries=@REL_PATH@bin
|
||||
LibraryExecutables=tools/Qt6/bin
|
||||
ArchData=share/Qt6
|
||||
Data=share/Qt6
|
||||
Translations=translations/@QT6_DIRECTORY_PREFIX@
|
||||
Examples=share/examples/@QT6_DIRECTORY_PREFIX@
|
||||
[Paths]
|
||||
Prefix=${CURRENT_INSTALLED_DIR}
|
||||
Headers=include/@QT6_DIRECTORY_PREFIX@
|
||||
Libraries=@REL_PATH@lib
|
||||
Plugins=@REL_PATH@@QT6_DIRECTORY_PREFIX@plugins
|
||||
Qml2Imports=@REL_PATH@@QT6_DIRECTORY_PREFIX@qml
|
||||
Documentation=doc/@QT6_DIRECTORY_PREFIX@
|
||||
Binaries=@REL_PATH@bin
|
||||
LibraryExecutables=tools/Qt6/bin
|
||||
ArchData=share/Qt6
|
||||
Data=share/Qt6
|
||||
Translations=translations/@QT6_DIRECTORY_PREFIX@
|
||||
Examples=share/examples/@QT6_DIRECTORY_PREFIX@
|
||||
HostPrefix=${CURRENT_HOST_INSTALLED_DIR}
|
||||
HostData=@REL_HOST_TO_DATA@share/Qt6
|
||||
HostBinaries=@REL_PATH@bin
|
||||
HostLibraries=@REL_PATH@lib
|
||||
HostLibraryExecutables=tools/Qt6/bin
|
||||
2
externals/vcpkg/ports/qtbase/qtpaths.debug.bat
vendored
Executable file
2
externals/vcpkg/ports/qtbase/qtpaths.debug.bat
vendored
Executable file
@@ -0,0 +1,2 @@
|
||||
@echo off
|
||||
"%0\..\qtpaths.exe" --qtconf "%0\..\qt.debug.conf" %*
|
||||
380
externals/vcpkg/ports/qtbase/vcpkg.json
vendored
Executable file
380
externals/vcpkg/ports/qtbase/vcpkg.json
vendored
Executable file
@@ -0,0 +1,380 @@
|
||||
{
|
||||
"name": "qtbase",
|
||||
"version": "6.3.0",
|
||||
"port-version": 2,
|
||||
"description": "Qt Application Framework Base Module. Includes Core, GUI, Widgets, Networking, SQL, Concurrent and other essential qt components.",
|
||||
"homepage": "https://www.qt.io/",
|
||||
"license": null,
|
||||
"supports": "!uwp",
|
||||
"dependencies": [
|
||||
"freetype",
|
||||
{
|
||||
"name": "libb2",
|
||||
"platform": "!windows"
|
||||
},
|
||||
"pcre2",
|
||||
{
|
||||
"name": "qtbase",
|
||||
"host": true,
|
||||
"default-features": false
|
||||
},
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"doubleconversion"
|
||||
],
|
||||
"platform": "windows"
|
||||
},
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"pcre2"
|
||||
],
|
||||
"platform": "windows & static"
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
},
|
||||
"zlib"
|
||||
],
|
||||
"default-features": [
|
||||
"brotli",
|
||||
"concurrent",
|
||||
"dbus",
|
||||
"default-features",
|
||||
"doubleconversion",
|
||||
"freetype",
|
||||
"gui",
|
||||
"harfbuzz",
|
||||
"icu",
|
||||
"jpeg",
|
||||
"network",
|
||||
"openssl",
|
||||
"pcre2",
|
||||
"png",
|
||||
"sql",
|
||||
"sql-psql",
|
||||
"sql-sqlite",
|
||||
"testlib",
|
||||
"thread",
|
||||
"widgets",
|
||||
"zstd"
|
||||
],
|
||||
"features": {
|
||||
"appstore-compliant": {
|
||||
"description": "Disable code that is not allowed in platform app stores. This is on by default for platforms which require distribution through an app store by default, in particular Android, iOS, tvOS, and watchOS."
|
||||
},
|
||||
"brotli": {
|
||||
"description": "Support for downloading and decompressing resources compressed with Brotli through QNetworkAccessManager.",
|
||||
"dependencies": [
|
||||
"brotli",
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"network"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"concurrent": {
|
||||
"description": "Provides a high-level multi-threading API. Qt Concurrent",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"thread"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"dbus": {
|
||||
"description": "Qt D-Bus"
|
||||
},
|
||||
"default-features": {
|
||||
"description": "Platform-dependent default features",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"appstore-compliant"
|
||||
],
|
||||
"platform": "uwp"
|
||||
},
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"egl",
|
||||
"fontconfig",
|
||||
"xcb",
|
||||
"xcb-xlib",
|
||||
"xrender"
|
||||
],
|
||||
"platform": "linux"
|
||||
}
|
||||
]
|
||||
},
|
||||
"doubleconversion": {
|
||||
"description": "Enable double conversion support",
|
||||
"dependencies": [
|
||||
"double-conversion"
|
||||
]
|
||||
},
|
||||
"egl": {
|
||||
"description": "EGL",
|
||||
"dependencies": [
|
||||
"egl-registry"
|
||||
]
|
||||
},
|
||||
"fontconfig": {
|
||||
"description": "Use fontconfig",
|
||||
"dependencies": [
|
||||
"fontconfig",
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"gui"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"framework": {
|
||||
"$platform": "osx",
|
||||
"description": "MAC framework build"
|
||||
},
|
||||
"freetype": {
|
||||
"description": "Supports the FreeType 2 font engine (and its supported font formats).",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "freetype",
|
||||
"default-features": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"glib": {
|
||||
"description": "GLib",
|
||||
"dependencies": [
|
||||
"glib"
|
||||
]
|
||||
},
|
||||
"gui": {
|
||||
"description": "Qt Gui",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"freetype"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"thread"
|
||||
],
|
||||
"platform": "windows"
|
||||
}
|
||||
]
|
||||
},
|
||||
"harfbuzz": {
|
||||
"description": "Use harfbuzz",
|
||||
"dependencies": [
|
||||
"harfbuzz",
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"gui"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"icu": {
|
||||
"description": "Enable ICU support",
|
||||
"dependencies": [
|
||||
"icu"
|
||||
]
|
||||
},
|
||||
"jpeg": {
|
||||
"description": "Enable JPEG",
|
||||
"dependencies": [
|
||||
"libjpeg-turbo",
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"gui"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"network": {
|
||||
"description": "Qt Network"
|
||||
},
|
||||
"openssl": {
|
||||
"description": "Enable OpenSSL",
|
||||
"dependencies": [
|
||||
"openssl",
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"network"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"pcre2": {
|
||||
"description": "Enable PCRE2 support",
|
||||
"dependencies": [
|
||||
"pcre2"
|
||||
]
|
||||
},
|
||||
"png": {
|
||||
"description": "Enable PNG",
|
||||
"dependencies": [
|
||||
"libpng",
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"gui"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"sql": {
|
||||
"description": "Qt Sql",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"concurrent"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"sql-psql": {
|
||||
"description": "Enable SQL Driver psql",
|
||||
"dependencies": [
|
||||
"libpq",
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"sql"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"sql-sqlite": {
|
||||
"description": "Enable SQL Driver sqlite",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"sql"
|
||||
]
|
||||
},
|
||||
"sqlite3"
|
||||
]
|
||||
},
|
||||
"testlib": {
|
||||
"description": "Qt Testlib"
|
||||
},
|
||||
"thread": {
|
||||
"description": "Thread support; provides QThread and related classes."
|
||||
},
|
||||
"vulkan": {
|
||||
"description": "Enable Vulkan support"
|
||||
},
|
||||
"widgets": {
|
||||
"description": "Qt Widgets",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"gui"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"xcb": {
|
||||
"description": "XCB",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"concurrent",
|
||||
"xkbcommon-x11",
|
||||
"xlib"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"xcb-xlib": {
|
||||
"description": "xcb-xlib",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"xlib"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"xkb": {
|
||||
"description": "XKB"
|
||||
},
|
||||
"xkbcommon-x11": {
|
||||
"description": "xkbcommon_x11",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"xkb"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"xlib": {
|
||||
"description": "XLib"
|
||||
},
|
||||
"xrender": {
|
||||
"description": "XRender for native painting",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"xcb"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"zstd": {
|
||||
"description": "Zstandard support",
|
||||
"dependencies": [
|
||||
"zstd"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
10
externals/vcpkg/ports/qtbase/windeployqt.debug.bat
vendored
Executable file
10
externals/vcpkg/ports/qtbase/windeployqt.debug.bat
vendored
Executable file
@@ -0,0 +1,10 @@
|
||||
@echo off
|
||||
setlocal enabledelayedexpansion
|
||||
set mypath=%~dp0
|
||||
set mypath=%mypath:~0,-1%
|
||||
set BAKCD=!CD!
|
||||
cd /D %mypath%\..\..\..\debug\bin
|
||||
set PATH=!CD!;%PATH%
|
||||
"%mypath%\windeployqt.exe" --qtpaths "%mypath%\qtpaths.debug.bat" %*
|
||||
cd %BAKCD%
|
||||
endlocal
|
||||
Reference in New Issue
Block a user