Compare commits

..

3 Commits

Author SHA1 Message Date
Qt Submodule Update Bot
28fa31c441 Update submodules on '6.3.0 in qt/qt5'
Change-Id: I546956f2f585861c9cf3f6f317acd0b7f501b8b1
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-03-24 11:40:32 +00:00
Heikki Halmet
686481f48c Add prebuilt Android OpenSSL package for OpenSSL 1.1.1m
Used OpenSSL source package 1.1.1m was changed little bit. All
ANDROID_NDK_HOME strings were replaced with ANDROID_NDK_ROOT in
Configurations/15-android.conf file

Pick-to: dev 6.3 6.2
Task-number: QTQAINFRA-4864
Task-number: QTBUG-101863
Change-Id: Ia3d82005734ba69f1cc85708c867ae1955938739
Reviewed-by: Andreas Buhr <andreas.buhr@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2022-03-23 06:36:25 +02:00
Jani Heikkinen
4ec029b83f Adjust submodule branches
Change-Id: I8b52e597dd251a76b7b85cd344e6611d47f35d9b
2022-03-21 07:41:44 +02:00
104 changed files with 295 additions and 677 deletions

82
.gitmodules vendored
View File

@@ -1,53 +1,53 @@
[submodule "qtbase"] [submodule "qtbase"]
path = qtbase path = qtbase
url = ../qtbase.git url = ../qtbase.git
branch = 6.3.1 branch = 6.3.0
status = essential status = essential
[submodule "qtsvg"] [submodule "qtsvg"]
depends = qtbase depends = qtbase
path = qtsvg path = qtsvg
url = ../qtsvg.git url = ../qtsvg.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qtdeclarative"] [submodule "qtdeclarative"]
depends = qtbase depends = qtbase
recommends = qtimageformats qtshadertools qtsvg qtlanguageserver recommends = qtimageformats qtshadertools qtsvg qtlanguageserver
path = qtdeclarative path = qtdeclarative
url = ../qtdeclarative.git url = ../qtdeclarative.git
branch = 6.3.1 branch = 6.3.0
status = essential status = essential
[submodule "qtactiveqt"] [submodule "qtactiveqt"]
depends = qtbase depends = qtbase
path = qtactiveqt path = qtactiveqt
url = ../qtactiveqt.git url = ../qtactiveqt.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qtmultimedia"] [submodule "qtmultimedia"]
depends = qtbase qtshadertools depends = qtbase qtshadertools
recommends = qtdeclarative recommends = qtdeclarative
path = qtmultimedia path = qtmultimedia
url = ../qtmultimedia.git url = ../qtmultimedia.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qttools"] [submodule "qttools"]
depends = qtbase depends = qtbase
recommends = qtdeclarative qtactiveqt recommends = qtdeclarative qtactiveqt
path = qttools path = qttools
url = ../qttools.git url = ../qttools.git
branch = 6.3.1 branch = 6.3.0
status = essential status = essential
[submodule "qtxmlpatterns"] [submodule "qtxmlpatterns"]
depends = qtbase depends = qtbase
recommends = qtdeclarative recommends = qtdeclarative
path = qtxmlpatterns path = qtxmlpatterns
url = ../qtxmlpatterns.git url = ../qtxmlpatterns.git
branch = 6.3 branch = 6.3.0
status = ignore status = ignore
[submodule "qttranslations"] [submodule "qttranslations"]
depends = qttools depends = qttools
path = qttranslations path = qttranslations
url = ../qttranslations.git url = ../qttranslations.git
branch = 6.3.1 branch = 6.3.0
status = essential status = essential
priority = 30 priority = 30
[submodule "qtdoc"] [submodule "qtdoc"]
@@ -55,7 +55,7 @@
recommends = qtmultimedia recommends = qtmultimedia
path = qtdoc path = qtdoc
url = ../qtdoc.git url = ../qtdoc.git
branch = 6.3.1 branch = 6.3.0
status = essential status = essential
priority = 40 priority = 40
[submodule "qtrepotools"] [submodule "qtrepotools"]
@@ -76,21 +76,21 @@
recommends = qtdeclarative recommends = qtdeclarative
path = qtlocation path = qtlocation
url = ../qtlocation.git url = ../qtlocation.git
branch = 6.3 branch = 6.3.0
status = ignore status = ignore
[submodule "qtpositioning"] [submodule "qtpositioning"]
depends = qtbase depends = qtbase
recommends = qtdeclarative qtserialport recommends = qtdeclarative qtserialport
path = qtpositioning path = qtpositioning
url = ../qtpositioning.git url = ../qtpositioning.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qtsensors"] [submodule "qtsensors"]
depends = qtbase depends = qtbase
recommends = qtdeclarative recommends = qtdeclarative
path = qtsensors path = qtsensors
url = ../qtsensors.git url = ../qtsensors.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qtsystems"] [submodule "qtsystems"]
depends = qtbase depends = qtbase
@@ -117,189 +117,189 @@
recommends = qtdeclarative recommends = qtdeclarative
path = qtconnectivity path = qtconnectivity
url = ../qtconnectivity.git url = ../qtconnectivity.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qtwayland"] [submodule "qtwayland"]
depends = qtbase depends = qtbase
recommends = qtdeclarative recommends = qtdeclarative
path = qtwayland path = qtwayland
url = ../qtwayland.git url = ../qtwayland.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qt3d"] [submodule "qt3d"]
depends = qtbase depends = qtbase
recommends = qtdeclarative qtshadertools recommends = qtdeclarative qtshadertools
path = qt3d path = qt3d
url = ../qt3d.git url = ../qt3d.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qtimageformats"] [submodule "qtimageformats"]
depends = qtbase depends = qtbase
path = qtimageformats path = qtimageformats
url = ../qtimageformats.git url = ../qtimageformats.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qtserialbus"] [submodule "qtserialbus"]
depends = qtbase depends = qtbase
recommends = qtserialport recommends = qtserialport
path = qtserialbus path = qtserialbus
url = ../qtserialbus.git url = ../qtserialbus.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qtserialport"] [submodule "qtserialport"]
depends = qtbase depends = qtbase
path = qtserialport path = qtserialport
url = ../qtserialport.git url = ../qtserialport.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qtwebsockets"] [submodule "qtwebsockets"]
depends = qtbase depends = qtbase
recommends = qtdeclarative recommends = qtdeclarative
path = qtwebsockets path = qtwebsockets
url = ../qtwebsockets.git url = ../qtwebsockets.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qtwebchannel"] [submodule "qtwebchannel"]
depends = qtbase depends = qtbase
recommends = qtdeclarative qtwebsockets recommends = qtdeclarative qtwebsockets
path = qtwebchannel path = qtwebchannel
url = ../qtwebchannel.git url = ../qtwebchannel.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qtwebengine"] [submodule "qtwebengine"]
depends = qtdeclarative depends = qtdeclarative
recommends = qtwebchannel qttools qtpositioning recommends = qtwebchannel qttools qtpositioning
path = qtwebengine path = qtwebengine
url = ../qtwebengine.git url = ../qtwebengine.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
priority = 10 priority = 10
[submodule "qtcanvas3d"] [submodule "qtcanvas3d"]
depends = qtdeclarative depends = qtdeclarative
path = qtcanvas3d path = qtcanvas3d
url = ../qtcanvas3d.git url = ../qtcanvas3d.git
branch = 6.3 branch = 6.3.0
status = ignore status = ignore
[submodule "qtwebview"] [submodule "qtwebview"]
depends = qtdeclarative depends = qtdeclarative
recommends = qtwebengine recommends = qtwebengine
path = qtwebview path = qtwebview
url = ../qtwebview.git url = ../qtwebview.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qtcharts"] [submodule "qtcharts"]
depends = qtbase depends = qtbase
recommends = qtdeclarative qtmultimedia recommends = qtdeclarative qtmultimedia
path = qtcharts path = qtcharts
url = ../qtcharts.git url = ../qtcharts.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qtdatavis3d"] [submodule "qtdatavis3d"]
depends = qtbase depends = qtbase
recommends = qtdeclarative qtmultimedia recommends = qtdeclarative qtmultimedia
path = qtdatavis3d path = qtdatavis3d
url = ../qtdatavis3d.git url = ../qtdatavis3d.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qtvirtualkeyboard"] [submodule "qtvirtualkeyboard"]
depends = qtbase qtdeclarative qtsvg depends = qtbase qtdeclarative qtsvg
recommends = qtmultimedia recommends = qtmultimedia
path = qtvirtualkeyboard path = qtvirtualkeyboard
url = ../qtvirtualkeyboard.git url = ../qtvirtualkeyboard.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qtgamepad"] [submodule "qtgamepad"]
depends = qtbase depends = qtbase
recommends = qtdeclarative recommends = qtdeclarative
path = qtgamepad path = qtgamepad
url = ../qtgamepad.git url = ../qtgamepad.git
branch = 6.3 branch = 6.3.0
status = ignore status = ignore
[submodule "qtscxml"] [submodule "qtscxml"]
depends = qtbase qtdeclarative depends = qtbase qtdeclarative
path = qtscxml path = qtscxml
url = ../qtscxml.git url = ../qtscxml.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qtspeech"] [submodule "qtspeech"]
depends = qtbase depends = qtbase
recommends = qtdeclarative qtmultimedia recommends = qtdeclarative qtmultimedia
path = qtspeech path = qtspeech
url = ../qtspeech.git url = ../qtspeech.git
branch = 6.3 branch = 6.3.0
status = ignore status = ignore
[submodule "qtnetworkauth"] [submodule "qtnetworkauth"]
depends = qtbase depends = qtbase
path = qtnetworkauth path = qtnetworkauth
url = ../qtnetworkauth.git url = ../qtnetworkauth.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qtremoteobjects"] [submodule "qtremoteobjects"]
depends = qtbase depends = qtbase
recommends = qtdeclarative recommends = qtdeclarative
path = qtremoteobjects path = qtremoteobjects
url = ../qtremoteobjects.git url = ../qtremoteobjects.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qtwebglplugin"] [submodule "qtwebglplugin"]
depends = qtbase qtwebsockets depends = qtbase qtwebsockets
recommends = qtdeclarative recommends = qtdeclarative
path = qtwebglplugin path = qtwebglplugin
url = ../qtwebglplugin.git url = ../qtwebglplugin.git
branch = 6.3 branch = 6.3.0
status = ignore status = ignore
[submodule "qtlottie"] [submodule "qtlottie"]
depends = qtbase qtdeclarative depends = qtbase qtdeclarative
path = qtlottie path = qtlottie
url = ../qtlottie.git url = ../qtlottie.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qtquicktimeline"] [submodule "qtquicktimeline"]
depends = qtbase qtdeclarative depends = qtbase qtdeclarative
path = qtquicktimeline path = qtquicktimeline
url = ../qtquicktimeline url = ../qtquicktimeline
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qtquick3d"] [submodule "qtquick3d"]
depends = qtbase qtdeclarative qtshadertools depends = qtbase qtdeclarative qtshadertools
recommends = qtquicktimeline recommends = qtquicktimeline
path = qtquick3d path = qtquick3d
url = ../qtquick3d.git url = ../qtquick3d.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qtshadertools"] [submodule "qtshadertools"]
depends = qtbase depends = qtbase
path = qtshadertools path = qtshadertools
url = ../qtshadertools.git url = ../qtshadertools.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qt5compat"] [submodule "qt5compat"]
depends = qtbase qtdeclarative depends = qtbase qtdeclarative
path = qt5compat path = qt5compat
url = ../qt5compat.git url = ../qt5compat.git
branch = 6.3.1 branch = 6.3.0
status = deprecated status = deprecated
[submodule "qtcoap"] [submodule "qtcoap"]
depends = qtbase depends = qtbase
path = qtcoap path = qtcoap
url = ../qtcoap.git url = ../qtcoap.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qtmqtt"] [submodule "qtmqtt"]
depends = qtbase qtdeclarative depends = qtbase qtdeclarative
path = qtmqtt path = qtmqtt
url = ../qtmqtt.git url = ../qtmqtt.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qtopcua"] [submodule "qtopcua"]
depends = qtbase qtdeclarative depends = qtbase qtdeclarative
path = qtopcua path = qtopcua
url = ../qtopcua.git url = ../qtopcua.git
branch = 6.3.1 branch = 6.3.0
status = addon status = addon
[submodule "qtlanguageserver"] [submodule "qtlanguageserver"]
depends = qtbase depends = qtbase
path = qtlanguageserver path = qtlanguageserver
url = ../qtlanguageserver.git url = ../qtlanguageserver.git
branch = 6.3.1 branch = 6.3.0
status = preview status = preview

View File

@@ -52,15 +52,16 @@ if(NOT QT_BUILD_SUBMODULES)
endif() endif()
set(QT_BUILD_SUBMODULES "${QT_BUILD_SUBMODULES}" CACHE STRING "Submodules to build") set(QT_BUILD_SUBMODULES "${QT_BUILD_SUBMODULES}" CACHE STRING "Submodules to build")
qt_internal_sort_module_dependencies("${QT_BUILD_SUBMODULES}" QT_BUILD_SUBMODULES) set(qt_module_dependency_map_prefix "__qt_module_dependencies_")
qt_internal_sort_module_dependencies("${QT_BUILD_SUBMODULES}" QT_BUILD_SUBMODULES
"${qt_module_dependency_map_prefix}")
foreach(module IN LISTS QT_BUILD_SUBMODULES) foreach(module IN LISTS QT_BUILD_SUBMODULES)
# Check for unmet dependencies # Check for unmet dependencies
if(NOT DEFINED BUILD_${module} OR BUILD_${module}) if(NOT DEFINED BUILD_${module} OR BUILD_${module})
message(NOTICE "Checking dependencies of submodule '${module}'") message(NOTICE "Checking dependencies of '${module}'")
get_property(required_deps GLOBAL PROPERTY QT_REQUIRED_DEPS_FOR_${module}) get_property(required_deps GLOBAL PROPERTY QT_REQUIRED_DEPS_FOR_${module})
get_property(dependencies GLOBAL PROPERTY QT_DEPS_FOR_${module}) foreach(dep IN LISTS "${qt_module_dependency_map_prefix}${module}")
foreach(dep IN LISTS dependencies)
if (dep STREQUAL "qtbase") if (dep STREQUAL "qtbase")
# Always available skip # Always available skip
continue() continue()
@@ -93,7 +94,7 @@ foreach(module IN LISTS QT_BUILD_SUBMODULES)
endforeach() endforeach()
foreach(module IN LISTS QT_BUILD_SUBMODULES) foreach(module IN LISTS QT_BUILD_SUBMODULES)
message(NOTICE "Configuring submodule '${module}'") message(NOTICE "Configuring '${module}'")
ecm_optional_add_subdirectory("${module}") ecm_optional_add_subdirectory("${module}")
if(module STREQUAL "qtbase") if(module STREQUAL "qtbase")

View File

@@ -1,5 +1,5 @@
QT LICENSE AGREEMENT QT LICENSE AGREEMENT
Agreement version 4.4.1 Agreement version 4.4
This Qt License Agreement ("Agreement") is a legal agreement for the licensing This Qt License Agreement ("Agreement") is a legal agreement for the licensing
of Licensed Software (as defined below) between The Qt Company (as defined of Licensed Software (as defined below) between The Qt Company (as defined
@@ -233,7 +233,7 @@ Appendix 9 hereto.
United States or a legal entity incorporated outside of the United United States or a legal entity incorporated outside of the United
States or having its registered office outside of the United States, States or having its registered office outside of the United States,
The Qt Company Ltd., a Finnish company with its registered office at The Qt Company Ltd., a Finnish company with its registered office at
Miestentie 7, 02150 Espoo, Finland. Bertel Jungin aukio D3A, 02600 Espoo, Finland.
"Third-Party Software" shall have the meaning set forth in Section 4. "Third-Party Software" shall have the meaning set forth in Section 4.
@@ -1054,8 +1054,8 @@ The Agreement includes following Appendices 1-10, as applicable.
- Appendix 1: Licensed Software details - Appendix 1: Licensed Software details
- Appendix 2: Pricing - Appendix 2: Pricing
- Appendix 3: Add-on Software details (optional) - Appendix 3: Add-on Software details (optional)
- Appendix 4: Small business and startup Licenses (optional) - Appendix 4: Non-commercial and educational Licenses (optional)
- Appendix 5: Non-commercial and educational Licenses (optional) - Appendix 5: Small business and startup Licenses (optional)
- Appendix 6: License Reporting (optional) - Appendix 6: License Reporting (optional)
- Appendix 7: Marketing Rights (optional) - Appendix 7: Marketing Rights (optional)
- Appendix 8: Intentionally left blank (optional) - Appendix 8: Intentionally left blank (optional)

View File

@@ -1,7 +1,3 @@
# This script is to be called (ideally from a git-sync-to alias script):
# cmake -DSYNC_TO_MODULE="$1" -DSYNC_TO_BRANCH="$2" -P cmake/QtSynchronizeRepo.cmake
cmake_policy(VERSION 3.16)
include(cmake/QtTopLevelHelpers.cmake) include(cmake/QtTopLevelHelpers.cmake)
qt_internal_sync_to(${SYNC_TO_MODULE} ${SYNC_TO_BRANCH}) qt_internal_sync_to(${SYNC_TO_MODULE} ${SYNC_TO_BRANCH})

View File

@@ -14,7 +14,7 @@ endfunction()
# poor man's yaml parser, populating $out_dependencies with all dependencies # poor man's yaml parser, populating $out_dependencies with all dependencies
# in the $depends_file # in the $depends_file
# Each entry will be in the format dependency/sha1/required # Each entry will be in the format dependency/sha1
function(qt_internal_parse_dependencies depends_file out_dependencies) function(qt_internal_parse_dependencies depends_file out_dependencies)
file(STRINGS "${depends_file}" lines) file(STRINGS "${depends_file}" lines)
set(eof_marker "---EOF---") set(eof_marker "---EOF---")
@@ -47,179 +47,91 @@ function(qt_internal_parse_dependencies depends_file out_dependencies)
string(TOUPPER "${CMAKE_MATCH_1}" required) string(TOUPPER "${CMAKE_MATCH_1}" required)
endif() endif()
endforeach() endforeach()
message(DEBUG message(DEBUG "qt_internal_parse_dependencies for ${depends_file}: ${dependencies} ${revisions}")
"qt_internal_parse_dependencies for ${depends_file}\n dependencies: ${dependencies}")
set(${out_dependencies} "${dependencies}" PARENT_SCOPE) set(${out_dependencies} "${dependencies}" PARENT_SCOPE)
endfunction() endfunction()
# Helper macro for qt_internal_resolve_module_dependencies. # Load $module and populate $out_ordered with the submodules based on their dependencies
macro(qt_internal_resolve_module_dependencies_set_skipped value) # $ordered carries already sorted dependencies; $out_has_dependencies is left empty
if(DEFINED arg_SKIPPED_VAR) # if there are no dependencies, otherwise set to 1; Save list of dependencies for $module into
set(${arg_SKIPPED_VAR} ${value} PARENT_SCOPE) # $out_module_dependencies. List may contain duplicates, since function checks max depth
endif() # dependencies.
endmacro() # Function calls itself recursively if a dependency is found that is not yet in $ordered.
function(qt_internal_add_module_dependencies module ordered out_ordered out_has_dependencies
# Strips tqtc- prefix from a repo name. out_module_dependencies out_revisions)
function(qt_internal_normalize_repo_name repo_name out_var) set(depends_file "${CMAKE_CURRENT_SOURCE_DIR}/${module}/dependencies.yaml")
string(REGEX REPLACE "^tqtc-" "" normalized "${repo_name}") if(NOT EXISTS "${depends_file}")
set(${out_var} "${normalized}" PARENT_SCOPE) set(${out_has_dependencies} "" PARENT_SCOPE)
endfunction()
# Checks if a directory with the given repo name exists in the current
# source / working directory. If it doesn't, it strips the tqtc- prefix.
function(qt_internal_use_normalized_repo_name_if_needed repo_name out_var)
set(base_dir "${CMAKE_CURRENT_SOURCE_DIR}")
set(repo_dir "${base_dir}/${repo_name}")
if(NOT IS_DIRECTORY "${repo_dir}")
qt_internal_normalize_repo_name("${repo_name}" repo_name)
endif()
set(${out_var} "${repo_name}" PARENT_SCOPE)
endfunction()
# Resolve the dependencies of the given module.
# "Module" in the sense of Qt repository.
#
# Side effects: Sets the global properties QT_DEPS_FOR_${module} and QT_REQUIRED_DEPS_FOR_${module}
# with the direct (required) dependencies of module.
#
#
# Positional arguments:
#
# module is the Qt repository.
#
# out_ordered is where the result is stored. This is a list of all dependencies, including
# transitive ones, in topologically sorted order. Note that ${module} itself is also part of
# out_ordered.
#
# out_revisions is a list of git commit IDs for each of the dependencies in ${out_ordered}. This
# list has the same length as ${out_ordered}.
#
#
# Keyword arguments:
#
# PARSED_DEPENDENCIES is a list of dependencies of module in the format that
# qt_internal_parse_dependencies returns. If this argument is not provided, dependencies.yaml of the
# module is parsed.
#
# IN_RECURSION is an internal option that is set when the function is in recursion.
#
# REVISION is an internal value with the git commit ID that belongs to ${module}.
#
# SKIPPED_VAR is an output variable name that is set to TRUE if the module was skipped, to FALSE
# otherwise.
#
# NORMALIZE_REPO_NAME_IF_NEEDED Will remove 'tqtc-' from the beginning of submodule dependencies
# if a tqtc- named directory does not exist.
function(qt_internal_resolve_module_dependencies module out_ordered out_revisions)
set(options IN_RECURSION NORMALIZE_REPO_NAME_IF_NEEDED)
set(oneValueArgs REVISION SKIPPED_VAR)
set(multiValueArgs PARSED_DEPENDENCIES)
cmake_parse_arguments(arg "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
# Clear the property that stores the repositories we've already seen.
if(NOT arg_IN_RECURSION)
set_property(GLOBAL PROPERTY _qt_internal_seen_repos)
endif()
# Bail out if we've seen the module already.
qt_internal_resolve_module_dependencies_set_skipped(FALSE)
get_property(seen GLOBAL PROPERTY _qt_internal_seen_repos)
if(module IN_LIST seen)
qt_internal_resolve_module_dependencies_set_skipped(TRUE)
return() return()
endif() endif()
set(${out_has_dependencies} "1" PARENT_SCOPE)
set_property(GLOBAL APPEND PROPERTY _qt_internal_seen_repos ${module}) set(dependencies "")
qt_internal_parse_dependencies("${depends_file}" dependencies)
# Set a default REVISION. # module hasn't been seen yet, append it
if("${arg_REVISION}" STREQUAL "") list(FIND ordered "${module}" pindex)
set(arg_REVISION HEAD) if (pindex EQUAL -1)
list(LENGTH ordered pindex)
list(APPEND ordered "${module}")
list(APPEND revisions "HEAD")
endif() endif()
set(modules_dependencies "")
# Retrieve the dependencies.
if(DEFINED arg_PARSED_DEPENDENCIES)
set(dependencies "${arg_PARSED_DEPENDENCIES}")
else()
set(depends_file "${CMAKE_CURRENT_SOURCE_DIR}/${module}/dependencies.yaml")
set(dependencies "")
if(EXISTS "${depends_file}")
qt_internal_parse_dependencies("${depends_file}" dependencies)
endif()
endif()
# Traverse the dependencies.
set(ordered)
set(revisions)
foreach(dependency IN LISTS dependencies) foreach(dependency IN LISTS dependencies)
if(dependency MATCHES "(.*)/([^/]+)/([^/]+)") if(dependency MATCHES "(.*)/([^/]+)/([^/]+)")
set(dependency "${CMAKE_MATCH_1}") set(dependency "${CMAKE_MATCH_1}")
set(revision "${CMAKE_MATCH_2}") set(revision "${CMAKE_MATCH_2}")
set(required "${CMAKE_MATCH_3}") set(required "${CMAKE_MATCH_3}")
if(required)
set_property(GLOBAL APPEND PROPERTY QT_REQUIRED_DEPS_FOR_${module} ${dependency})
endif()
else() else()
message(FATAL_ERROR "Internal Error: wrong dependency format ${dependency}") message(FATAL_ERROR "Internal Error: wrong dependency format ${dependency}")
endif() endif()
list(APPEND modules_dependencies "${dependency}")
set(normalize_arg "") list(FIND ordered "${dependency}" dindex)
if(arg_NORMALIZE_REPO_NAME_IF_NEEDED) if (dindex EQUAL -1)
qt_internal_use_normalized_repo_name_if_needed("${dependency}" dependency) # dependency hasnt' been seen yet - load it
set(normalize_arg "NORMALIZE_REPO_NAME_IF_NEEDED") list(INSERT ordered ${pindex} "${dependency}")
endif() list(INSERT revisions ${pindex} "${revision}")
qt_internal_add_module_dependencies(${dependency} "${ordered}" ordered has_dependency
set_property(GLOBAL APPEND PROPERTY QT_DEPS_FOR_${module} ${dependency}) "${out_module_dependencies}" revisions)
if(required) elseif(dindex GREATER pindex)
set_property(GLOBAL APPEND PROPERTY QT_REQUIRED_DEPS_FOR_${module} ${dependency}) # otherwise, make sure it is before module
endif() list(REMOVE_AT ordered ${dindex})
list(REMOVE_AT revisions ${dindex})
qt_internal_resolve_module_dependencies(${dependency} dep_ordered dep_revisions list(INSERT ordered ${pindex} "${dependency}")
REVISION "${revision}" list(INSERT revisions ${pindex} "${revision}")
SKIPPED_VAR skipped
IN_RECURSION
${normalize_arg}
)
if(NOT skipped)
list(APPEND ordered ${dep_ordered})
list(APPEND revisions ${dep_revisions})
endif() endif()
endforeach() endforeach()
list(APPEND ordered ${module})
list(APPEND revisions ${arg_REVISION})
set(${out_ordered} "${ordered}" PARENT_SCOPE) set(${out_ordered} "${ordered}" PARENT_SCOPE)
set(${out_module_dependencies} ${${out_module_dependencies}} ${modules_dependencies} PARENT_SCOPE)
set(${out_revisions} "${revisions}" PARENT_SCOPE) set(${out_revisions} "${revisions}" PARENT_SCOPE)
endfunction() endfunction()
# Resolves the dependencies of the given modules. # populates $out_all_ordered with the sequence of the modules that need
# "Module" is here used in the sense of Qt repository. # to be built in order to build $modules; dependencies for each module are populated
# # in variables with specified in $dependencies_map_prefix prefix
# Returns all dependencies, including transitive ones, in topologically sorted order. function(qt_internal_sort_module_dependencies modules out_all_ordered dependencies_map_prefix)
# set(ordered "")
# Arguments:
# modules is the initial list of repos.
# out_all_ordered is the variable name where the result is stored.
#
# See qt_internal_resolve_module_dependencies for side effects.
function(qt_internal_sort_module_dependencies modules out_all_ordered)
# Create a fake repository "all_selected_repos" that has all repositories from the input as
# required dependency. The format must match what qt_internal_parse_dependencies produces.
set(all_selected_repos_as_parsed_dependencies)
foreach(module IN LISTS modules) foreach(module IN LISTS modules)
list(APPEND all_selected_repos_as_parsed_dependencies "${module}/HEAD/FALSE") set(out_ordered "")
if(NOT dependencies_map_prefix)
message(FATAL_ERROR "dependencies_map_prefix is not provided")
endif()
set(module_dependencies_list_var_name "${dependencies_map_prefix}${module}")
qt_internal_add_module_dependencies(${module} "${ordered}" out_ordered module_depends
"${module_dependencies_list_var_name}" revisions)
set(${module_dependencies_list_var_name}
"${${module_dependencies_list_var_name}}" PARENT_SCOPE)
if(NOT module_depends)
list(APPEND no_dependencies "${module}")
else()
set(ordered "${out_ordered}")
endif()
endforeach() endforeach()
if (no_dependencies)
qt_internal_resolve_module_dependencies(all_selected_repos ordered unused_revisions list(APPEND ordered "${no_dependencies}")
PARSED_DEPENDENCIES ${all_selected_repos_as_parsed_dependencies} endif()
NORMALIZE_REPO_NAME_IF_NEEDED message(DEBUG "qt_internal_parse_dependencies sorted ${modules}: ${ordered}")
)
# Drop "all_selected_repos" from the output. It depends on all selected repos, thus it must be
# the last element in the topologically sorted list.
list(REMOVE_AT ordered -1)
message(DEBUG
"qt_internal_sort_module_dependencies
input modules: ${modules}\n topo-sorted: ${ordered}")
set(${out_all_ordered} "${ordered}" PARENT_SCOPE) set(${out_all_ordered} "${ordered}" PARENT_SCOPE)
endfunction() endfunction()
@@ -356,17 +268,6 @@ function(qt_internal_sync_to module)
endif() endif()
qt_internal_checkout("${module}" "${revision}") qt_internal_checkout("${module}" "${revision}")
qt_internal_resolve_module_dependencies(${module} initial_dependencies initial_revisions)
if(initial_dependencies)
foreach(dependency ${initial_dependencies})
if(dependency MATCHES "^tqtc-")
message(WARNING
"Handling of tqtc- repos will likely fail. Fixing this is non-trivial.")
break()
endif()
endforeach()
endif()
set(revision "") set(revision "")
set(checkedout "1") set(checkedout "1")
# Load all dependencies for $module, then iterate over the dependencies in reverse order, # Load all dependencies for $module, then iterate over the dependencies in reverse order,
@@ -374,16 +275,19 @@ function(qt_internal_sync_to module)
# Repeat everything (we need to reload dependencies after each checkout) until no more checkouts # Repeat everything (we need to reload dependencies after each checkout) until no more checkouts
# are done. # are done.
while(${checkedout}) while(${checkedout})
qt_internal_resolve_module_dependencies(${module} dependencies revisions) set(dependencies "")
set(revisions "")
set(prefix "")
qt_internal_add_module_dependencies(${module} "${dependencies}" dependencies has_dependencies prefix revisions)
message(DEBUG "${module} dependencies: ${dependencies}") message(DEBUG "${module} dependencies: ${dependencies}")
message(DEBUG "${module} revisions : ${revisions}") message(DEBUG "${module} revisions : ${revisions}")
list(LENGTH dependencies count) if (NOT has_dependencies)
if (count EQUAL "0")
message(NOTICE "Module ${module} has no dependencies") message(NOTICE "Module ${module} has no dependencies")
return() return()
endif() endif()
list(LENGTH dependencies count)
math(EXPR count "${count} - 1") math(EXPR count "${count} - 1")
set(checkedout 0) set(checkedout 0)
foreach(i RANGE ${count} 0 -1 ) foreach(i RANGE ${count} 0 -1 )

View File

@@ -7,43 +7,10 @@ instructions:
directory: "{{.SourceDir}}" directory: "{{.SourceDir}}"
- type: ChangeDirectory - type: ChangeDirectory
directory: "{{.BuildDir}}" directory: "{{.BuildDir}}"
- !include "{{qt/qt5}}/prepare_configure_executable.yaml"
- type: EnvironmentVariable
variableName: COIN_CONFIGURE_ARGS
variableValue: "{{.Env.CONFIGURE_ARGS}}"
- type: EnvironmentVariable
variableName: COIN_CMAKE_ARGS
# Use unix separators even on Windows, to avoid escaping issues in the configure script.
variableValue: "{{.Env.CMAKE_ARGS}} {{.Env.COMMON_CMAKE_ARGS}} -DCMAKE_INSTALL_PREFIX:PATH={{unixPathSeparators .InstallDir}}"
- type: EnvironmentVariable
variableName: CONFIGURE_ENV_PREFIX
variableValue: "{{.Env.ENV_PREFIX}}"
- type: ExecuteCommand - type: ExecuteCommand
# There is no SourceDir on purpose, because configure is called directly from qtbase, command: "{{.Env.ENV_PREFIX}} cmake {{.Env.CONFIGURE_ARGS}} -DCMAKE_INSTALL_PREFIX:PATH={{.InstallDir}} -DQT_BUILD_TESTS=OFF {{.SourceDir}}"
# so the script knows it's own source dir.
# TODO: Consider removing these instructions, and using the ones in qtbase/call_configure_qtbase.yaml
# once all dependencies are propagated.
command: "{{.Env.CONFIGURE_ENV_PREFIX}} {{.Env.CONFIGURE_EXECUTABLE}} {{.Env.COIN_CONFIGURE_ARGS}} -- {{.Env.COIN_CMAKE_ARGS}}"
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution
maxTimeInSeconds: 6000 maxTimeInSeconds: 6000
maxTimeBetweenOutput: 1200 maxTimeBetweenOutput: 1200
userMessageOnFailure: > userMessageOnFailure: >
Failed to call cmake. Failed to call cmake.
enable_if:
condition: property
property: features
contains_value: UseConfigure
- type: ExecuteCommand
command: "{{.Env.CONFIGURE_ENV_PREFIX}} {{.Env.CONFIGURE_EXECUTABLE}} {{.SourceDir}} {{.Env.COIN_CONFIGURE_ARGS}} {{.Env.COIN_CMAKE_ARGS}}"
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution
maxTimeInSeconds: 6000
maxTimeBetweenOutput: 1200
userMessageOnFailure: >
Failed to call cmake.
disable_if:
condition: property
property: features
contains_value: UseConfigure

View File

@@ -1,37 +0,0 @@
# Call either cmake or configure depending on whether the
# UseConfigure platform configuration feature is set.
# We should remove the cmake branch, once all platform configurations
# are ported to use configure.
# TODO: Remove this file, and reference the one in qtbase, once all
# all dependencies are propagated.
type: Group
instructions:
- type: Group
enable_if:
condition: property
property: features
contains_value: UseConfigure
instructions:
- type: EnvironmentVariable
variableName: CONFIGURE_EXECUTABLE
variableValue: "{{.SourceDir}}/configure"
disable_if:
condition: property
property: host.os
equals_value: Windows
- type: EnvironmentVariable
variableName: CONFIGURE_EXECUTABLE
variableValue: "{{.SourceDir}}\\configure.bat"
enable_if:
condition: property
property: host.os
equals_value: Windows
- type: Group
disable_if:
condition: property
property: features
contains_value: UseConfigure
instructions:
- type: EnvironmentVariable
variableName: CONFIGURE_EXECUTABLE
variableValue: "cmake"

View File

@@ -27,9 +27,7 @@ Configurations:
Features: ['Sccache'] Features: ['Sccache']
Configure arguments: '-DQT_BUILD_EXAMPLES=OFF -DFEATURE_developer_build=ON' Configure arguments: '-DQT_BUILD_EXAMPLES=OFF -DFEATURE_developer_build=ON'
Environment variables: [ Environment variables: [
'PATH={{.Env.CMAKE_MIN_SUPPORTED_BIN_PATH}}:{{.Env.PATH}}', 'CONAN_PROFILE=coin/conan/profiles/linux-developer-x86_64-gcc']
'CONAN_PROFILE=coin/conan/profiles/linux-developer-x86_64-gcc',
]
- -
Template: 'qtci-linux-SLES-15_SP3-x86_64-51' Template: 'qtci-linux-SLES-15_SP3-x86_64-51'
Compiler: 'GCC' Compiler: 'GCC'
@@ -165,7 +163,7 @@ Configurations:
- -
Template: 'qtci-windows-11_21H2-x86_64-51' Template: 'qtci-windows-11_21H2-x86_64-51'
Compiler: 'Mingw' Compiler: 'Mingw'
Features: ['Sccache'] Features: ['Sccache', 'InsignificantTests']
Configure arguments: '-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DFEATURE_developer_build=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFEATURE_separate_debug_info=ON -DQT_BUILD_EXAMPLES=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DFEATURE_system_zlib=OFF -DFEATURE_system_tiff=OFF -DFEATURE_system_freetype=OFF -DFEATURE_system_jpeg=OFF' Configure arguments: '-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DFEATURE_developer_build=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFEATURE_separate_debug_info=ON -DQT_BUILD_EXAMPLES=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DFEATURE_system_zlib=OFF -DFEATURE_system_tiff=OFF -DFEATURE_system_freetype=OFF -DFEATURE_system_jpeg=OFF'
Environment variables: ['Path={{.Env.MINGW1120}}\bin;{{.Env.Path}}', 'NON_QTBASE_CONFIGURE_ARGS=-DFEATURE_system_tiff=OFF', Environment variables: ['Path={{.Env.MINGW1120}}\bin;{{.Env.Path}}', 'NON_QTBASE_CONFIGURE_ARGS=-DFEATURE_system_tiff=OFF',
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}'] 'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}']

View File

@@ -11,7 +11,7 @@ Configurations:
Environment variables: [ Environment variables: [
'TARGET_CONFIGURE_ARGS=-DFEATURE_developer_build=ON -DQT_FEATURE_dbus=OFF -DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-x8664.cmake', 'TARGET_CONFIGURE_ARGS=-DFEATURE_developer_build=ON -DQT_FEATURE_dbus=OFF -DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-x8664.cmake',
'QT_CMAKE_DIR=/opt/cmake-3.21.1/bin', 'QT_CMAKE_DIR=/opt/cmake-3.21.1/bin',
"TESTARGS='{{.Env.QNX_QEMU_SSH}} LD_LIBRARY_PATH={{.Env.QNX_QEMU_LD_LIBRARY_PATH}} QSG_RHI_BACKEND=software QT_QPA_PLATFORM=offscreen QTEST_ENVIRONMENT=ci'", "TESTARGS='{{.Env.QNX_QEMU_SSH}} LD_LIBRARY_PATH={{.Env.QNX_QEMU_LD_LIBRARY_PATH}} QSG_RHI_BACKEND=software QT_QPA_PLATFORM=offscreen'",
"TESTRUNNER='python3 {{.SourceDir}}/coin_qnx_qemu_runner.py'", "TESTRUNNER='python3 {{.SourceDir}}/coin_qnx_qemu_runner.py'",
"COIN_CTEST_RESULTSDIR=/home/qt/work", "COIN_CTEST_RESULTSDIR=/home/qt/work",
'NON_QTBASE_TARGET_CONFIGURE_ARGS='] 'NON_QTBASE_TARGET_CONFIGURE_ARGS=']

View File

@@ -1,16 +0,0 @@
Version: 2
Configurations:
-
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
Target os: 'Android_ANY'
Target arch: 'x86'
Compiler: 'GCC'
Target compiler: 'Clang'
Platform dependency: 'RHEL-8.4-host'
Features: ['Packaging', 'Sccache', 'AndroidTestRun']
Environment variables: [
'TARGET_CONFIGURE_ARGS=-DQT_BUILD_EXAMPLES=OFF -DFEATURE_developer_build=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE={{.Env.ANDROID_NDK_ROOT}}/build/cmake/android.toolchain.cmake -DANDROID_SDK_ROOT={{.Env.ANDROID_SDK_ROOT}} -DANDROID_ABI=x86 -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME}}',
'CONAN_HOST_PROFILE=coin/conan/profiles/linux-x86_64-gcc',
'CONAN_INSTALL_DIR={{.InstallDir}}/target',
'CONAN_PROFILE=coin/conan/profiles/unix-android-x86-clang',
'ANDROID_EMULATOR=@emulator_x86_api_23']

View File

@@ -0,0 +1,30 @@
Version: 2
Configurations:
# These developer-build tests are only run for qtbase and qtdeclarative
# See macos.yaml for arm64 developer-build tests, run for all modules.
-
Id: 'macos-10.14-x86_64-developer-build-tests'
Template: 'qtci-macos-10.14-x86_64'
Compiler: 'Clang'
Features: ['Sccache', 'TestOnly']
Platform dependency: 'macos-latest-xcode-x86_64-developer-build'
-
Id: 'macos-10.15-x86_64-developer-build-tests'
Template: 'qtci-macos-10.15-x86_64-102'
Compiler: 'Clang'
Features: ['Sccache', 'TestOnly']
Platform dependency: 'macos-latest-xcode-x86_64-developer-build'
-
Id: 'macos-11-x86_64-developer-build-tests'
Template: 'qtci-macos-11-x86_64-104'
Compiler: 'Clang'
Features: ['Sccache', 'TestOnly']
Platform dependency: 'macos-latest-xcode-x86_64-developer-build'
-
Id: 'macos-12-x86_64-developer-build-tests'
Template: 'qtci-macos-12-x86_64-102'
Compiler: 'Clang'
Features: ['Sccache', 'TestOnly']
Platform dependency: 'macos-latest-xcode-x86_64-developer-build'

View File

@@ -81,39 +81,18 @@ Configurations:
# Test on all supported macOS versions (deployment targets) # Test on all supported macOS versions (deployment targets)
-
Id: 'macos-10.14-x86_64-developer-build-tests'
Template: 'qtci-macos-10.14-x86_64'
Compiler: 'Clang'
Features: ['Sccache', 'TestOnly']
Platform dependency: 'macos-latest-xcode-x86_64-developer-build'
-
Id: 'macos-10.15-x86_64-developer-build-tests'
Template: 'qtci-macos-10.15-x86_64-102'
Compiler: 'Clang'
Features: ['Sccache', 'TestOnly']
Platform dependency: 'macos-latest-xcode-x86_64-developer-build'
-
Id: 'macos-11-x86_64-developer-build-tests'
Template: 'qtci-macos-11-x86_64-104'
Compiler: 'Clang'
Features: ['Sccache', 'TestOnly']
Platform dependency: 'macos-latest-xcode-x86_64-developer-build'
- -
Id: 'macos-11-arm64-developer-build-tests' Id: 'macos-11-arm64-developer-build-tests'
Template: 'qtci-macos-11.0-arm64' Template: 'qtci-macos-11.0-arm64'
Compiler: 'Clang' Compiler: 'Clang'
Features: ['TestOnly'] Features: ['TestOnly']
Platform dependency: 'macos-latest-xcode-arm64-developer-build' Platform dependency: 'macos-latest-xcode-arm64-developer-build'
-
Id: 'macos-12-x86_64-developer-build-tests'
Template: 'qtci-macos-12-x86_64-102'
Compiler: 'Clang'
Features: ['Sccache', 'TestOnly']
Platform dependency: 'macos-latest-xcode-x86_64-developer-build'
- -
Id: 'macos-12-arm64-developer-build-tests' Id: 'macos-12-arm64-developer-build-tests'
Template: 'qtci-macos-12-arm64' Template: 'qtci-macos-12-arm64'
Compiler: 'Clang' Compiler: 'Clang'
Features: ['TestOnly'] Features: ['TestOnly']
Platform dependency: 'macos-latest-xcode-arm64-developer-build' Platform dependency: 'macos-latest-xcode-arm64-developer-build'
# See macos-developer-build-tests.yaml for x86_64 tests,
# as we limit those to qtbase and declarative.

View File

@@ -21,12 +21,6 @@ Configurations:
Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests'] Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests']
Configure arguments: '' Configure arguments: ''
Environment variables: [] Environment variables: []
-
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
Compiler: 'GCC'
Features: ['Qt5', 'Sccache', 'DebugAndRelease', 'DisableTests']
Configure arguments: ''
Environment variables: []
- -
Template: 'qtci-macos-10.14-x86_64' Template: 'qtci-macos-10.14-x86_64'
Compiler: 'Clang' Compiler: 'Clang'

View File

@@ -1,6 +1,3 @@
Version: 2 Version: 2
Include: [ Include: [cmake_platforms.yaml]
cmake_platforms.yaml,
linux_android_tests.yaml
]
Configurations: [] Configurations: []

View File

@@ -1,6 +1,3 @@
Version: 2 Version: 2
Include: [ Include: [cmake_platforms.yaml]
cmake_platforms.yaml,
linux_android_tests.yaml
]
Configurations: [] Configurations: []

View File

@@ -2,6 +2,7 @@ Version: 2
Include: [ Include: [
cmake_platforms.yaml, cmake_platforms.yaml,
cmake_platforms_static_tests.yaml, cmake_platforms_static_tests.yaml,
macos-developer-build-tests.yaml,
integrity.yaml, integrity.yaml,
ios-tests.yaml, ios-tests.yaml,
linux_android_tests.yaml linux_android_tests.yaml

View File

@@ -1,6 +1,3 @@
Version: 2 Version: 2
Include: [ Include: [cmake_platforms.yaml]
cmake_platforms.yaml,
linux_android_tests.yaml
]
Configurations: [] Configurations: []

View File

@@ -1,6 +1,3 @@
Version: 2 Version: 2
Include: [ Include: [cmake_platforms.yaml]
cmake_platforms.yaml,
linux_android_tests.yaml
]
Configurations: [] Configurations: []

View File

@@ -1,6 +1,3 @@
Version: 2 Version: 2
Include: [ Include: [cmake_platforms.yaml]
cmake_platforms.yaml,
linux_android_tests.yaml
]
Configurations: [] Configurations: []

View File

@@ -1,6 +1,3 @@
Version: 2 Version: 2
Include: [ Include: [cmake_platforms.yaml]
cmake_platforms.yaml,
linux_android_tests.yaml
]
Configurations: [] Configurations: []

View File

@@ -1,9 +1,9 @@
Version: 2 Version: 2
Include: [ Include: [
cmake_platforms.yaml, cmake_platforms.yaml,
macos-developer-build-tests.yaml,
integrity.yaml, integrity.yaml,
cmake_platforms_static_tests.yaml, cmake_platforms_static_tests.yaml,
linux_android_tests.yaml, linux_android_tests.yaml
linux_android_tests_developer.yaml
] ]
Configurations: [] Configurations: []

View File

@@ -1,6 +1,3 @@
Version: 2 Version: 2
Include: [ Include: [cmake_platforms.yaml]
cmake_platforms.yaml,
linux_android_tests.yaml
]
Configurations: [] Configurations: []

View File

@@ -1,6 +1,3 @@
Version: 2 Version: 2
Include: [ Include: [cmake_platforms.yaml]
cmake_platforms.yaml,
linux_android_tests.yaml
]
Configurations: [] Configurations: []

View File

@@ -1,6 +1,3 @@
Version: 2 Version: 2
Include: [ Include: [cmake_platforms.yaml]
cmake_platforms.yaml,
linux_android_tests.yaml
]
Configurations: [] Configurations: []

View File

@@ -1,6 +1,3 @@
Version: 2 Version: 2
Include: [ Include: [cmake_platforms.yaml]
cmake_platforms.yaml,
linux_android_tests.yaml
]
Configurations: [] Configurations: []

View File

@@ -1,6 +1,3 @@
Version: 2 Version: 2
Include: [ Include: [cmake_platforms.yaml]
cmake_platforms.yaml,
linux_android_tests.yaml
]
Configurations: [] Configurations: []

View File

@@ -1,7 +1,6 @@
Version: 2 Version: 2
Include: [ Include: [
cmake_platforms.yaml, cmake_platforms.yaml,
integrity.yaml, integrity.yaml
linux_android_tests.yaml
] ]
Configurations: [] Configurations: []

View File

@@ -1,6 +1,3 @@
Version: 2 Version: 2
Include: [ Include: [cmake_platforms.yaml]
cmake_platforms.yaml,
linux_android_tests.yaml
]
Configurations: [] Configurations: []

View File

@@ -1,7 +1,6 @@
Version: 2 Version: 2
Include: [ Include: [
cmake_platforms.yaml, cmake_platforms.yaml,
integrity.yaml, integrity.yaml
linux_android_tests.yaml
] ]
Configurations: [] Configurations: []

View File

@@ -1,6 +1,3 @@
Version: 2 Version: 2
Include: [ Include: [cmake_platforms.yaml]
cmake_platforms.yaml,
linux_android_tests.yaml
]
Configurations: [] Configurations: []

View File

@@ -1,6 +1,3 @@
Version: 2 Version: 2
Include: [ Include: [cmake_platforms.yaml]
cmake_platforms.yaml,
linux_android_tests.yaml
]
Configurations: [] Configurations: []

View File

@@ -1,6 +1,3 @@
Version: 2 Version: 2
Include: [ Include: [cmake_platforms.yaml]
cmake_platforms.yaml,
linux_android_tests.yaml
]
Configurations: [] Configurations: []

View File

@@ -1,6 +1,3 @@
Version: 2 Version: 2
Include: [ Include: [cmake_platforms.yaml]
cmake_platforms.yaml,
linux_android_tests.yaml
]
Configurations: [] Configurations: []

View File

@@ -1,6 +1,3 @@
Version: 2 Version: 2
Include: [ Include: [cmake_platforms.yaml]
cmake_platforms.yaml,
linux_android_tests.yaml
]
Configurations: [] Configurations: []

View File

@@ -1,6 +1,3 @@
Version: 2 Version: 2
Include: [ Include: [cmake_platforms.yaml]
cmake_platforms.yaml,
linux_android_tests.yaml
]
Configurations: [] Configurations: []

View File

@@ -1,6 +1,3 @@
Version: 2 Version: 2
Include: [ Include: [cmake_platforms.yaml]
cmake_platforms.yaml,
linux_android_tests.yaml
]
Configurations: [] Configurations: []

View File

@@ -1,5 +1,6 @@
Version: 2 Version: 2
Include: [ Include: [
cmake_platforms.yaml cmake_platforms.yaml,
macos-developer-build-tests.yaml
] ]
Configurations: [] Configurations: []

View File

@@ -1,6 +1,3 @@
Version: 2 Version: 2
Include: [ Include: [cmake_platforms.yaml]
cmake_platforms.yaml,
linux_android_tests.yaml
]
Configurations: [] Configurations: []

View File

@@ -1,6 +1,3 @@
Version: 2 Version: 2
Include: [ Include: [cmake_platforms.yaml]
cmake_platforms.yaml,
linux_android_tests.yaml
]
Configurations: [] Configurations: []

View File

@@ -45,9 +45,9 @@ Configurations:
Compiler: 'GCC' Compiler: 'GCC'
Target compiler: 'Clang' Target compiler: 'Clang'
Platform dependency: 'RHEL-8.4-host' Platform dependency: 'RHEL-8.4-host'
Features: ['Packaging', 'Sccache', 'AndroidTestRun'] Features: ['Packaging', 'Sccache', 'AndroidTestRun', 'Insignificant']
Environment variables: [ Environment variables: [
'TARGET_CONFIGURE_ARGS=-DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE={{.Env.ANDROID_NDK_ROOT}}/build/cmake/android.toolchain.cmake -DANDROID_SDK_ROOT={{.Env.ANDROID_SDK_ROOT}} -DANDROID_ABI=x86 -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME}}', 'TARGET_CONFIGURE_ARGS=-DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE={{.Env.ANDROID_NDK_ROOT}}/build/cmake/android.toolchain.cmake -DANDROID_SDK_ROOT={{.Env.ANDROID_SDK_ROOT}} -DANDROID_ABI=x86 -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME}}',
'CONAN_HOST_PROFILE=coin/conan/profiles/linux-x86_64-gcc', 'CONAN_HOST_PROFILE=coin/conan/profiles/linux-x86_64-gcc',
'CONAN_PROFILE=coin/conan/profiles/unix-android-x86-clang', 'CONAN_PROFILE=coin/conan/profiles/unix-android-x86-clang',
'ANDROID_EMULATOR=@automotive_emulator_x86_api_30'] 'ANDROID_EMULATOR=@x86AutomotiveEmulator']

View File

@@ -1,54 +0,0 @@
Version: 2
Module only: true
Configurations:
- Id: 'WebOS-emulator-build'
Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
Compiler: 'GCC'
Features: ['DoNotRunTests']
Environment variables: ['BUILD_EMULATOR=enabled']
- Id: 'WebOS-emulator-qtbase-tests'
Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
Compiler: 'GCC'
Features: ['TestOnly']
Environment variables: ['MODULE=qtbase']
Platform dependency: 'WebOS-emulator-build'
- Id: 'WebOS-emulator-qtdeclarative-tests'
Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
Compiler: 'GCC'
Features: ['TestOnly']
Environment variables: ['MODULE=qtdeclarative']
Platform dependency: 'WebOS-emulator-build'
- Id: 'WebOS-emulator-qtwayland-tests'
Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
Compiler: 'GCC'
Features: ['TestOnly']
Environment variables: ['MODULE=qtwayland']
Platform dependency: 'WebOS-emulator-build'
- Id: 'WebOS-emulator-qtshadertools-tests'
Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
Compiler: 'GCC'
Features: ['TestOnly']
Environment variables: ['MODULE=qtshadertools']
Platform dependency: 'WebOS-emulator-build'
- Id: 'WebOS-emulator-qtgraphicaleffects-tests'
Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
Compiler: 'GCC'
Features: ['TestOnly']
Environment variables: ['MODULE=qtgraphicaleffects']
Platform dependency: 'WebOS-emulator-build'
- Id: 'WebOS-raspberry-build'
Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
Compiler: 'GCC'
Features: ['DoNotRunTests']
Environment variables: ['BUILD_RASPBERRY=enabled']
- Id: 'WebOS-NDK-installer-build'
Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
Compiler: 'GCC'
Features: ['DoNotRunTests']
Environment variables: ['BUILD_NDK_INSTALLER=enabled']
- Id: 'WebOS-NDK-install'
Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
Compiler: 'GCC'
Features: ['TestOnly']
Platform dependency: ['WebOS-raspberry-build', 'WebOS-NDK-installer-build']
Environment variables: ['TEST_INSTALL_NDK=enabled']

View File

@@ -67,12 +67,6 @@ sdkApiLevel="android-31"
toolsSha1="9172381ff070ee2a416723c1989770cf4b0d1076" toolsSha1="9172381ff070ee2a416723c1989770cf4b0d1076"
ndkSha1="9ece64c7f19763dd67320d512794969930fce9dc" ndkSha1="9ece64c7f19763dd67320d512794969930fce9dc"
# Android automotive
sdkApiLevelAutomovie="android-30"
androidAutomotive11Url="$basePath/${sdkApiLevelAutomovie}_automotive.tar.gz"
androidAutomotive="android-automotive"
android11Sha="4a5cd2bea7ce323b724c3ff1faab13d99f9d2be9"
toolsTargetFile="/tmp/$toolsFile" toolsTargetFile="/tmp/$toolsFile"
toolsSourceFile="$basePath/$toolsFile" toolsSourceFile="$basePath/$toolsFile"
ndkTargetFile="/tmp/$ndkFile" ndkTargetFile="/tmp/$ndkFile"
@@ -142,15 +136,6 @@ echo "y" | ./sdkmanager --install "system-images;android-23;google_apis;x86" \
echo "Checking the contents of Android SDK again..." echo "Checking the contents of Android SDK again..."
ls -l "$sdkTargetFolder" ls -l "$sdkTargetFolder"
echo "no" | ./avdmanager create avd -n emulator_x86_api_23 -c 2048M -f \ echo "no" | ./avdmanager create avd -n emulator_x86_api_23 -k "system-images;android-23;google_apis;x86" -c 2048M -f
-k "system-images;android-23;google_apis;x86"
echo "Install $sdkApiLevelAutomovie $androidAutomotive"
DownloadURL "$androidAutomotive11Url" "$androidAutomotive11Url" "$android11Sha" \
"/tmp/${sdkApiLevelAutomovie}_automotive.tar.gz"
sudo tar -xzf "/tmp/${sdkApiLevelAutomovie}_automotive.tar.gz" -C $sdkTargetFolder/system-images
echo "no" | ./avdmanager create avd -n automotive_emulator_x86_api_30 -c 2048M -f \
-k "system-images;${sdkApiLevelAutomovie};${androidAutomotive};x86"
# Purely informative, show the list of avd devices # Purely informative, show the list of avd devices
./avdmanager list avd ./avdmanager list avd

View File

@@ -59,58 +59,38 @@ endif()
set(CMAKE_FIND_ROOT_PATH ${TARGET_ROOT_PATH}) set(CMAKE_FIND_ROOT_PATH ${TARGET_ROOT_PATH})
#graphical lib paths
set(EGL_LIBRARY_GRAPHIC_PATH ${TARGET_ROOT_PATH}/apps/ghs_apps_proc/qc_bsp/out/rel/libs/multimedia/graphics)
set(EGL_LIBRARY_CHK_PATH ${TARGET_ROOT_PATH}/apps/ghs_apps_proc/integrity/libs/arm64/chk)
set(EGL_LIBRARY_PREBUILD_PATH ${TARGET_ROOT_PATH}/apps/ghs_apps_proc/qc_bsp/AMSS/multimedia/graphics/opengl/esx/build/integrity/prebuilt)
#base #base
set(CMAKE_C_FLAGS "-bsp $ENV{INTEGRITY_BSP} -os_dir $ENV{INTEGRITY_DIR} -non_shared -startfile_dir=$ENV{INTEGRITY_DIR}/libs/$ENV{INTEGRITY_BSP}/$ENV{INTEGRITY_BUILD_TARGET} --rtos_library_directory=libs/$ENV{INTEGRITY_BSP}/$ENV{INTEGRITY_BUILD_TARGET} --rtos_library_directory=libs/arm64/$ENV{INTEGRITY_BUILD_TARGET} -bigswitch -DINTEGRITY -llibposix.a") set(CMAKE_C_FLAGS "-bsp $ENV{INTEGRITY_BSP} -os_dir $ENV{INTEGRITY_DIR} -non_shared -startfile_dir=$ENV{INTEGRITY_DIR}/libs/$ENV{INTEGRITY_BSP}/$ENV{INTEGRITY_BUILD_TARGET} --rtos_library_directory=libs/$ENV{INTEGRITY_BSP}/$ENV{INTEGRITY_BUILD_TARGET} --rtos_library_directory=libs/arm64/$ENV{INTEGRITY_BUILD_TARGET} -bigswitch -DINTEGRITY -llibivfs.a -llibposix.a -llibpaged_alloc.a -llibnet.a -llibsocket.a")
set(CMAKE_C_FLAGS_DEBUG "-g -Omaxdebug") set(CMAKE_C_FLAGS_DEBUG "-g -Omaxdebug")
set(CMAKE_C_FLAGS_RELEASE "-Ospeed -Olink -Omax -no_uvfd") set(CMAKE_C_FLAGS_RELEASE "-Ospeed -Olink -Omax")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --signed_fields --diag_suppress=1,82,228,236,381,611,961,997,1795,1931,1974,3148 --c++17 --thread_local_storage --exceptions --defer_parse_function_templates") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --signed_fields --diag_suppress=1,82,228,236,381,611,961,997,1795,1931,1974,3148 --c++17 --thread_local_storage --exceptions --defer_parse_function_templates")
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -frigor=accurate --signed_fields --no_implicit_include --link_once_templates -non_shared --new_outside_of_constructor --commons -I $ENV{QC_MULTIMEDIA_INC_DIR}") set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} --signed_fields --no_implicit_include --link_once_templates -non_shared --new_outside_of_constructor -I $ENV{QC_MULTIMEDIA_INC_DIR}")
set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG}) set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG})
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}") set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -L${TARGET_ROOT_PATH} -L${TARGET_ROOT_PATH}/apps/ghs_apps_proc/qc_bsp/out/rel/libs/multimedia/graphics -L${TARGET_ROOT_PATH}/apps/ghs_apps_proc/qc_bsp/out/rel/libs/base -L${TARGET_ROOT_PATH}/apps/ghs_apps_proc/qc_bsp/AMSS/multimedia/graphics/opengl/esx/build/integrity/prebuilt -L${TARGET_ROOT_PATH}/apps/ghs_apps_proc/qc_bsp/out/rel/libs/platform -L${TARGET_ROOT_PATH}/apps/ghs_apps_proc/qc_bsp/out/rel/libs/multimedia/display/ --commons")
set(CMAKE_FIND_LIBRARY_PREFIXES "lib") set(CMAKE_FIND_LIBRARY_PREFIXES "lib")
set(CMAKE_FIND_LIBRARY_SUFFIXES ".a") set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
set(BUILD_SHARED_LIBS OFF) set(BUILD_SHARED_LIBS OFF)
set(CMAKE_EXE_LINKER_FLAGS "")
set(QT_CFLAGS_OPTIMIZE_FULL "-Ospeed -olink -Omax")
set(QT_CFLAGS_OPTIMIZE_FULL "-Ospeed -Olink -Omax")
set(GLSLANG_OSDEP_PATH ../3rdparty/glslang/glslang/OSDependent/Unix) set(GLSLANG_OSDEP_PATH ../3rdparty/glslang/glslang/OSDependent/Unix)
set(GL_INC_DIR ${TARGET_ROOT_PATH}/apps/ghs_apps_proc/qc_bsp/AMSS/multimedia/graphics/include/public)
#set(QT_DEBUG_OPTIMIZATION_FLAGS "1")
#set (QT_CMAKE_DEBUG_EXTEND_TARGET "1")
set(EGL_INCLUDE_DIR $ENV{GL_INC_DIR})
set(PKG_EGL_LIBRARY_DIRS ${TARGET_ROOT_PATH}) set(PKG_EGL_LIBRARY_DIRS ${TARGET_ROOT_PATH})
set(EGL_INCLUDE_DIR ${GL_INC_DIR}) set(EGL_LIBRARY ${TARGET_ROOT_PATH}/../libeglmegapack.a)
set(EGL_LIBRARY "${EGL_LIBRARY_GRAPHIC_PATH}/libESXEGL_Adreno.a") #set(EGL_LIBRARY libESXEGL_Adreno.a libadreno_utils.a libESXGLESv2_Adreno.a libadreno_utils.a libGSLUser.a libOSUser.a libpanel.a libivfs.a libposix.a libpmem.a libtzbsp.a libpaged_alloc.a libglnext-llvm.a libopenwfd.a libplanedef.a liblogger.a libnet.a libsocket.a librfs_client.a libshm_client.a libmmosalrfs.a libmmosalfile.a libOSAbstraction.a)
set(GLESv2_INCLUDE_DIR ${GL_INC_DIR}) set(GLESv2_LIBRARY ${EGL_LIBRARY})
set(GLESv2_LIBRARY "${EGL_LIBRARY_GRAPHIC_PATH}/libESXGLESv2_Adreno.a") set(GLESv2_INCLUDE_DIR $ENV{GL_INC_DIR})
set(OPENGL_INCLUDE_DIR $ENV{GL_INC_DIR})
set(IntegrityPlatformGraphics_INCLUDE_DIR ${GL_INC_DIR})
set(IntegrityPlatformGraphics_LIBRARY "${EGL_LIBRARY_GRAPHIC_PATH}/libadreno_utils.a")
set(IntegrityPlatformGraphics_LIBRARIES_PACK
"${EGL_LIBRARY_GRAPHIC_PATH}/libplanedef.a"
"${EGL_LIBRARY_GRAPHIC_PATH}/libmmosalfile.a"
"${EGL_LIBRARY_GRAPHIC_PATH}/libOSAbstraction.a"
"${EGL_LIBRARY_GRAPHIC_PATH}/libopenwfd.a"
"${EGL_LIBRARY_GRAPHIC_PATH}/libOSUser.a"
"${EGL_LIBRARY_GRAPHIC_PATH}/libpanel.a"
"${EGL_LIBRARY_GRAPHIC_PATH}/libGSLUser.a"
"${EGL_LIBRARY_PREBUILD_PATH}/libglnext-llvm.a"
"${EGL_LIBRARY_GRAPHIC_PATH}/libpmem.a"
"${EGL_LIBRARY_CHK_PATH}/libposix.a"
"${EGL_LIBRARY_CHK_PATH}/libivfs.a"
)
list(APPEND _qt_igy_gui_libs
"${GLESv2_LIBRARY}"
"${IntegrityPlatformGraphics_LIBRARY}"
"${IntegrityPlatformGraphics_LIBRARIES_PACK}")
set(OPENGL_INCLUDE_DIR ${GL_INC_DIR})
set(OPENGL_opengl_LIBRARY ${EGL_LIBRARY})

View File

@@ -48,9 +48,9 @@ source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
# shellcheck source=../unix/SetEnvVar.sh # shellcheck source=../unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh" source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
urlToolchainEs7="http://ci-files01-hki.intra.qt.io/input/integrity/integrity_toolchain_es7_20042022.zip" urlToolchainEs7="http://ci-files01-hki.intra.qt.io/input/integrity/integrity_toolchain_es7_25102021.zip"
urlLibeglmegapack="http://ci-files01-hki.intra.qt.io/input/integrity/integrity_libeglmegapack.zip" urlLibeglmegapack="http://ci-files01-hki.intra.qt.io/input/integrity/integrity_libeglmegapack.zip"
SHA1_toolchainEs7="9e05277ec6a4610d4df565c3fbe24b9ce2a1f057" SHA1_toolchainEs7="13f634213187d94f70d184c6af38eb38f0bf44f0"
SHA1_Libeglmegapack="7f8ca64132eaea66202ea8db7f71f3300aab0777" SHA1_Libeglmegapack="7f8ca64132eaea66202ea8db7f71f3300aab0777"
targetFolder="$HOME" targetFolder="$HOME"
appPrefix="" appPrefix=""

View File

@@ -9,11 +9,3 @@
172.31.1.1 cyrus cyrus.test-net.qt.local 172.31.1.1 cyrus cyrus.test-net.qt.local
172.31.1.1 echo echo.test-net.qt.local 172.31.1.1 echo echo.test-net.qt.local
172.31.1.1 iptables iptables.test-net.qt.local 172.31.1.1 iptables iptables.test-net.qt.local
# For network test server which is still used on some test
# like networkselftest for local dns resolution
172.31.1.1 qt-test-server
# QtCoap testservers
172.31.1.1 californium californium.test-net.qt.local
172.31.1.1 freecoap freecoap.test-net.qt.local

View File

@@ -3,7 +3,7 @@
home/root/.ssh/environment = { home/root/.ssh/environment = {
TERM=qansi TERM=qansi
PATH=__IFS_PATH__:/system/xbin:. PATH=__IFS_PATH__:/system/xbin
#LD_LIBRARY_PATH=__PROC_LIB__:/home/qt/work/install/target/lib #LD_LIBRARY_PATH=__PROC_LIB__:/home/qt/work/install/target/lib
#QSG_RHI_BACKEND=software #QSG_RHI_BACKEND=software
#QT_QPA_PLATFORM=offscreen #QT_QPA_PLATFORM=offscreen

View File

@@ -2,7 +2,7 @@
############################################################################# #############################################################################
## ##
## Copyright (C) 2022 The Qt Company Ltd. ## Copyright (C) 2017 The Qt Company Ltd.
## Contact: https://www.qt.io/licensing/ ## Contact: https://www.qt.io/licensing/
## ##
## This file is part of the provisioning scripts of the Qt Toolkit. ## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -44,6 +44,3 @@ sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticDownl
# Disable "Install system data files and security updates" from App Store # Disable "Install system data files and security updates" from App Store
sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CriticalUpdateInstall -boolean FALSE sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CriticalUpdateInstall -boolean FALSE
# Disable "Automatic checks"
sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled -bool FALSE

View File

@@ -1,8 +1,6 @@
#!/usr/bin/env bash
############################################################################# #############################################################################
## ##
## Copyright (C) 2016 The Qt Company Ltd. ## Copyright (C) 2021 The Qt Company Ltd.
## Contact: https://www.qt.io/licensing/ ## Contact: https://www.qt.io/licensing/
## ##
## This file is part of the provisioning scripts of the Qt Toolkit. ## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -38,25 +36,35 @@
## $QT_END_LICENSE$ ## $QT_END_LICENSE$
## ##
############################################################################# #############################################################################
. "$PSScriptRoot\helpers.ps1"
# This script installs the minimum supported CMake to build Qt # This script will install Google's Protocol Buffers
# Script requires Cmake to be installed and strawberry-perl not to be installed
# shellcheck source=../unix/InstallFromCompressedFileFromURL.sh $version = "3.6.1"
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh" $sha1 = "44b8ba225f3b4dc45fb56d5881ec6a91329802b6"
# shellcheck source=../unix/SetEnvVar.sh $officialUrl = "https://github.com/protocolbuffers/protobuf/releases/download/v$version/protobuf-all-$version.zip"
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh" $cachedUrl = "http://ci-files01-hki.intra.qt.io/input/automotive_suite/protobuf-all-$version.zip"
$zip = "C:\Utils\protobuf-all-$version.zip"
$installationFolder = "C:\Utils\protobuf"
majorminorversion="3.16" Write-Host "Installing Protocol Buffers"
version="3.16.8" Add-Path "C:\CMake\bin"
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/cmake/cmake-$version-Linux-x86_64.tar.gz" Download "$officialUrl" "$cachedUrl" "$zip"
AltUrl="https://cmake.org/files/v$majorminorversion/cmake-$version-Linux-x86_64.tar.gz" Verify-Checksum "$zip" "$sha1"
SHA1="a4d2f96f475ccc8e1ae1d97cf6c8ce39abaa9d7c" Extract-7Zip "$zip" C:\Utils
targetFolder="/opt/cmake-$version" New-Item -ItemType directory -Force -Path "C:\Utils\protobuf-$version\cmake\build"
appPrefix="cmake-$version-Linux-x86_64" New-Item -ItemType directory -Force -Path "C:\Utils\protobuf-$version\cmake\build\release"
New-Item -ItemType directory -Force -Path "$installationFolder"
cd "C:\Utils\protobuf-$version\cmake\build\release"
cmd /c "`"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\VC\\Auxiliary\\Build\\vcvars64.bat`" && cmake -G `"NMake Makefiles`" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$installationFolder ../.. && nmake && nmake install"
if(![System.IO.File]::Exists("$installationFolder\bin\protoc.exe")){
Write-Host "Can't find $installationFolder\bin\protoc.exe. Installation probably failed!"
exit 1
}
InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$targetFolder" "$appPrefix" Remove "$zip"
SetEnvVar "CMAKE_MIN_SUPPORTED_BIN_PATH" "$targetFolder/bin"
echo "CMake Min Supported = $version" >> ~/versions.txt
Add-Path "$installationFolder\bin"
Set-EnvironmentVariable PROTOBUF_INCLUDE "$installationFolder\include"
Set-EnvironmentVariable PROTOBUF_LIB "$installationFolder\lib"

View File

@@ -43,13 +43,13 @@
# NOTE! Visual Studio is pre-installed to tier 1 image so this script won't install the whole Visual Studio. See ../../../pre-provisioning/qtci-windows-10-x86_64/msvc2019.txt # NOTE! Visual Studio is pre-installed to tier 1 image so this script won't install the whole Visual Studio. See ../../../pre-provisioning/qtci-windows-10-x86_64/msvc2019.txt
# MSVC 2019 online installers can be found from here https://docs.microsoft.com/en-us/visualstudio/releases/2019/history#installing-an-earlier-release # MSVC 2019 online installers can be found from here https://docs.microsoft.com/en-us/visualstudio/releases/2019/history#installing-an-earlier-release
$version = "16.11.10" $version = "16.11.8"
$urlCache_vsInstaller = "\\ci-files01-hki.intra.qt.io\provisioning\windows\msvc\vs2019_Professional_$version.exe" $urlCache_vsInstaller = "\\ci-files01-hki.intra.qt.io\provisioning\windows\msvc\vs2019_Professional_$version.exe"
$urlOfficial_vsInstaller = "https://download.visualstudio.microsoft.com/download/pr/791f3d28-7e20-45d9-9373-5dcfbdd1f6db/cd440cf67c0cf1519131d1d51a396e44c5b4f7b68b541c9f35c05a310d692f0a/vs_Professional.exe" $urlOfficial_vsInstaller = "https://download.visualstudio.microsoft.com/download/pr/b763973d-da6e-4025-834d-d8bc48e7d37f/e122bff0bac32d630b335db65fb61c7da25fea28b7ae58fd65cb2e170ef94f2c/vs_Professional.exe"
$sha1_vsInstaller = "d4f3b3b7dc28dcc3f25474cd1ca1e39fca7dcf3f" $sha1_vsInstaller = "993f4e9ece89dd5d8daac3c241f97e24a464f78c"
$urlCache_buildToolsInstaller = "\\ci-files01-hki.intra.qt.io\provisioning\windows\msvc\vs2019_BuildTools_$version.exe" $urlCache_buildToolsInstaller = "\\ci-files01-hki.intra.qt.io\provisioning\windows\msvc\vs2019_BuildTools_$version.exe"
$urlOfficial_buildToolsInstaller = "https://download.visualstudio.microsoft.com/download/pr/791f3d28-7e20-45d9-9373-5dcfbdd1f6db/d5eabc3f4472d5ab18662648c8b6a08ea0553699819b88f89d84ec42d12f6ad7/vs_BuildTools.exe" $urlOfficial_buildToolsInstaller = "https://download.visualstudio.microsoft.com/download/pr/b763973d-da6e-4025-834d-d8bc48e7d37f/4c9d3173a35956d1cf87e0fa8a9c79a0195e6e2acfe39f1ab92522d54a3bebb9/vs_BuildTools.exe"
$sha1_buildToolsInstaller = "69889f45d229de8e0e76b6d9e05964477eee2e78" $sha1_buildToolsInstaller = "9a7d0dd58b68a31305c1ffa0181e5b64d2b48d3b"
$installerPath = "C:\Windows\Temp\installer.exe" $installerPath = "C:\Windows\Temp\installer.exe"
function Install { function Install {
@@ -64,9 +64,6 @@ function Install {
Write-Host "Installing msvc 2019 $version" Write-Host "Installing msvc 2019 $version"
Download $urlOfficial $urlCache $installerPath Download $urlOfficial $urlCache $installerPath
Verify-Checksum $installerPath $sha1 Verify-Checksum $installerPath $sha1
# We have to update the installer bootstrapper before calling the actual installer.
# Otherwise installation might fail silently
Run-Executable "$installerPath" "--quiet --update"
Run-Executable "$installerPath" "update --passive --wait" Run-Executable "$installerPath" "update --passive --wait"
Remove-Item -Force -Path $installerPath Remove-Item -Force -Path $installerPath
} }

View File

@@ -165,15 +165,12 @@ sudo dnf -y module install nodejs:12
sudo pip3 install --upgrade pip sudo pip3 install --upgrade pip
sudo pip3 install virtualenv wheel sudo pip3 install virtualenv wheel
# Just make sure we have virtualenv to run with python3.8 -m virtualenv # Just make sure we have virtualenv to run with python3.8 -m virtualenv
sudo python3.8 -m pip install virtualenv wheel python3.8 -m pip install virtualenv --user
sudo /usr/bin/pip3 install wheel sudo /usr/bin/pip3 install wheel
# Install all needed packages in a special wheel cache directory # Install all needed packages in a special wheel cache directory
/usr/bin/pip3 wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt" /usr/bin/pip3 wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt"
# Install 3.8 compatible wheels
python3.8 -m pip wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt"
# shellcheck source=../common/unix/SetEnvVar.sh # shellcheck source=../common/unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh" source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels" SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"

View File

@@ -1,5 +0,0 @@
#!/usr/bin/env bash
set -ex
"$(dirname "$0")/../common/linux/cmake_min_supported.sh"

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
############################################################################# #############################################################################
## ##
## Copyright (C) 2022 The Qt Company Ltd. ## Copyright (C) 2021 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/ ## Contact: http://www.qt.io/licensing/
## ##
## This file is part of the provisioning scripts of the Qt Toolkit. ## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -49,7 +49,3 @@ sudo rpm --import /tmp/linux_signing_key.pub
# Update the repo cache of zypper and install Chrome # Update the repo cache of zypper and install Chrome
sudo zypper ref -f sudo zypper ref -f
sudo zypper -nq install --no-confirm google-chrome-stable sudo zypper -nq install --no-confirm google-chrome-stable
# Install Chromedriver Chromium
sudo zypper -nq install chromedriver

View File

@@ -1,5 +0,0 @@
#!/usr/bin/env bash
set -ex
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/macos/system_updates.sh"

View File

@@ -1,5 +0,0 @@
#!/usr/bin/env bash
set -ex
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/macos/system_updates.sh"

View File

@@ -1,5 +0,0 @@
#!/usr/bin/env bash
set -ex
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/macos/system_updates.sh"

View File

@@ -1,5 +0,0 @@
#!/usr/bin/env bash
set -ex
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/macos/system_updates.sh"

View File

@@ -1,5 +0,0 @@
#!/usr/bin/env bash
set -ex
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/macos/system_updates.sh"

View File

@@ -1,5 +0,0 @@
#!/usr/bin/env bash
set -ex
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/macos/system_updates.sh"

View File

@@ -3,9 +3,9 @@
# This script will install 64-bit MinGW 11.2.0 # This script will install 64-bit MinGW 11.2.0
# Note! MinGW version is 9.0.0 but the GCC version is 11.2 which is used with the naming of MinGW # Note! MinGW version is 9.0.0 but the GCC version is 11.2 which is used with the naming of MinGW
$release = "MinGW-w64-x86_64-11.2.0-release-posix-seh-rt_v9-rev3" $release = "MinGW-w64-x86_64-11.2.0-release-posix-seh-rt_v9-rev1"
$sha1 = "50174112ceca6f9fe42debbedda54ce6e9187302" $sha1 = "76bbfd135633d3d414e06cd7bf70cae94d2311db"
InstallMinGW $release $sha1 InstallMinGW $release $sha1

View File

@@ -0,0 +1,2 @@
. "$PSScriptRoot\..\common\windows\install-protobuf.ps1"

View File

@@ -5,8 +5,6 @@
# - version # - version
# - Optional true/false if set as default with PYTHON3/PIP3_PATH variables, default false # - Optional true/false if set as default with PYTHON3/PIP3_PATH variables, default false
. "$PSScriptRoot\..\common\windows\python3.ps1" 64 "3ee4e92a8ef94c70fb56859503fdc805d217d689" "C:\Python310_64" "3.10.0"
. "$PSScriptRoot\..\common\windows\python3.ps1" 64 "a8ac14ee5486547caf84abdf151be22d9d069c0a" "C:\Python38_64" "3.8.1" . "$PSScriptRoot\..\common\windows\python3.ps1" 64 "a8ac14ee5486547caf84abdf151be22d9d069c0a" "C:\Python38_64" "3.8.1"
. "$PSScriptRoot\..\common\windows\python3.ps1" 32 "14ff2c2e5538b03a012cb4c9d519d970444ebd42" "C:\Python38_32" "3.8.1" . "$PSScriptRoot\..\common\windows\python3.ps1" 32 "14ff2c2e5538b03a012cb4c9d519d970444ebd42" "C:\Python38_32" "3.8.1"
# default ones # default ones

View File

@@ -3,9 +3,9 @@
# This script will install 64-bit MinGW 11.2.0 # This script will install 64-bit MinGW 11.2.0
# Note! MinGW version is 9.0.0 but the GCC version is 11.2 which is used with the naming of MinGW # Note! MinGW version is 9.0.0 but the GCC version is 11.2 which is used with the naming of MinGW
$release = "MinGW-w64-x86_64-11.2.0-release-posix-seh-rt_v9-rev3" $release = "MinGW-w64-x86_64-11.2.0-release-posix-seh-rt_v9-rev1"
$sha1 = "50174112ceca6f9fe42debbedda54ce6e9187302" $sha1 = "76bbfd135633d3d414e06cd7bf70cae94d2311db"
InstallMinGW $release $sha1 InstallMinGW $release $sha1

View File

@@ -1 +0,0 @@
. "$PSScriptRoot\..\common\windows\openssl-arm64.ps1"

View File

@@ -0,0 +1,2 @@
. "$PSScriptRoot\..\common\windows\install-protobuf.ps1"

View File

@@ -3,9 +3,9 @@
# This script will install 64-bit MinGW 11.2.0 # This script will install 64-bit MinGW 11.2.0
# Note! MinGW version is 9.0.0 but the GCC version is 11.2 which is used with the naming of MinGW # Note! MinGW version is 9.0.0 but the GCC version is 11.2 which is used with the naming of MinGW
$release = "MinGW-w64-x86_64-11.2.0-release-posix-seh-rt_v9-rev3" $release = "mingw-w64-x86_64-11.2.0-release-posix-seh-rt_v9-rev1"
$sha1 = "50174112ceca6f9fe42debbedda54ce6e9187302" $sha1 = "5554791dc13468bf44e2e519c6691f2deecd000c"
InstallMinGW $release $sha1 InstallMinGW $release $sha1

View File

@@ -1 +0,0 @@
. "$PSScriptRoot\..\common\windows\openssl-arm64.ps1"

View File

@@ -0,0 +1,2 @@
. "$PSScriptRoot\..\common\windows\install-protobuf.ps1"

2
qt3d

Submodule qt3d updated: 14c14d0023...f83c75b25d

2
qtbase

Submodule qtbase updated: 8483dcde90...136407e3eb

2
qtcoap

Submodule qtcoap updated: d9b3e530f6...50fc1563ba

2
qtdoc

Submodule qtdoc updated: 2e6fd2b6b8...794831cc94

2
qtmqtt

Submodule qtmqtt updated: 0e8f2ebc51...b58fab105a

Submodule qtopcua updated: 48f9323eba...98f2e03163

2
qtqa

Submodule qtqa updated: 3a28053099...fe72232e88

Submodule qtscxml updated: fcf2a1e57a...da0dc6b526

2
qtsvg

Submodule qtsvg updated: 8bd900b146...068d38969c

Submodule qttools updated: ef3f15649f...4927053724

Some files were not shown because too many files have changed in this diff Show More