mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-21 23:48:23 +08:00
Compare commits
71 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bb59a6bfcb | ||
|
|
1cf6f1a8cb | ||
|
|
eeb9fc4129 | ||
|
|
80e2123065 | ||
|
|
85c2dae031 | ||
|
|
26b22a63a1 | ||
|
|
04d6ce5b3d | ||
|
|
06b5bad1c1 | ||
|
|
fdfe644ad2 | ||
|
|
0ab127c294 | ||
|
|
ad91a38ee6 | ||
|
|
e66122dac6 | ||
|
|
f413d29be6 | ||
|
|
cd894f6531 | ||
|
|
59721f231c | ||
|
|
aa238f9770 | ||
|
|
b9d64d2074 | ||
|
|
3b3c2ab697 | ||
|
|
da3d33d2e8 | ||
|
|
0d19fb2955 | ||
|
|
73621de891 | ||
|
|
a37f4a2485 | ||
|
|
34cf0234b9 | ||
|
|
18b2d88dd5 | ||
|
|
0f25c861f8 | ||
|
|
2042fea677 | ||
|
|
b74a5ac533 | ||
|
|
6f39655317 | ||
|
|
51e22677e8 | ||
|
|
68884e38f8 | ||
|
|
bced3b27e6 | ||
|
|
afffd938c0 | ||
|
|
9bcf5656a1 | ||
|
|
4ff6dd218a | ||
|
|
836bc7c649 | ||
|
|
0f10422f5d | ||
|
|
4b9ea4477d | ||
|
|
a780f200a8 | ||
|
|
71282805a5 | ||
|
|
9497487c77 | ||
|
|
6ef6267ab9 | ||
|
|
fb55d5bc14 | ||
|
|
41c372c010 | ||
|
|
34e9e68372 | ||
|
|
ee16738e1b | ||
|
|
33b0b0751f | ||
|
|
be8d6ad1b7 | ||
|
|
8aef7fc9c0 | ||
|
|
8c9174127a | ||
|
|
ac8a85582b | ||
|
|
ea67572b4a | ||
|
|
0c7588bae3 | ||
|
|
0f7a4738a0 | ||
|
|
0ef5baf70b | ||
|
|
4fabcfd5d1 | ||
|
|
e5d5e2aacb | ||
|
|
366ffa5dac | ||
|
|
1297fd0b4e | ||
|
|
cc6592ef08 | ||
|
|
4a32f93d87 | ||
|
|
d4c38f8da9 | ||
|
|
677524620d | ||
|
|
1547283a3a | ||
|
|
6bc4d562c8 | ||
|
|
015b9cb53a | ||
|
|
a63aa1647c | ||
|
|
07a4522087 | ||
|
|
ef2315af73 | ||
|
|
2644bebe4b | ||
|
|
137ed3408d | ||
|
|
ac53509b31 |
@@ -9,18 +9,10 @@
|
||||
|
||||
# ==[ Footers: Uncomment and edit where applicable ]===================|
|
||||
#
|
||||
# One task per entry. Add a space after the colon.
|
||||
# Use Fixes to automatically close an issue, and Task-number to
|
||||
# reference it without further action.
|
||||
# You do not need both for the same issue.
|
||||
#Fixes:
|
||||
# One task per entry. Remember space after colon.
|
||||
#Task-number:
|
||||
#Coverity-Id:
|
||||
#
|
||||
# Add a space-separated list of target branches that the change should
|
||||
# be cherry-picked to automatically.
|
||||
#Pick-to:
|
||||
#
|
||||
# ==[ Please wrap at 72 characters ]===================================|
|
||||
#
|
||||
# Remember to read http://wiki.qt.io/Commit_Policy
|
||||
|
||||
233
.gitmodules
vendored
233
.gitmodules
vendored
@@ -1,61 +1,66 @@
|
||||
[submodule "qtbase"]
|
||||
path = qtbase
|
||||
url = ../qtbase.git
|
||||
branch = 6.2.1
|
||||
branch = 5.9.6
|
||||
status = essential
|
||||
[submodule "qtsvg"]
|
||||
depends = qtbase
|
||||
path = qtsvg
|
||||
url = ../qtsvg.git
|
||||
branch = 6.2.1
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtdeclarative"]
|
||||
depends = qtbase
|
||||
recommends = qtimageformats qtshadertools qtsvg
|
||||
recommends = qtsvg qtxmlpatterns
|
||||
path = qtdeclarative
|
||||
url = ../qtdeclarative.git
|
||||
branch = 6.2.1
|
||||
branch = 5.9.6
|
||||
status = essential
|
||||
[submodule "qtactiveqt"]
|
||||
depends = qtbase
|
||||
path = qtactiveqt
|
||||
url = ../qtactiveqt.git
|
||||
branch = 6.2.1
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtscript"]
|
||||
depends = qtbase
|
||||
recommends = qttools
|
||||
path = qtscript
|
||||
url = ../qtscript.git
|
||||
branch = 5.9.6
|
||||
status = deprecated
|
||||
[submodule "qtmultimedia"]
|
||||
depends = qtbase qtshadertools
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtmultimedia
|
||||
url = ../qtmultimedia.git
|
||||
branch = 6.2.1
|
||||
status = addon
|
||||
branch = 5.9.6
|
||||
status = essential
|
||||
[submodule "qttools"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtactiveqt
|
||||
path = qttools
|
||||
url = ../qttools.git
|
||||
branch = 6.2.1
|
||||
branch = 5.9.6
|
||||
status = essential
|
||||
[submodule "qtxmlpatterns"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtxmlpatterns
|
||||
url = ../qtxmlpatterns.git
|
||||
branch = 6.2.1
|
||||
status = ignore
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qttranslations"]
|
||||
depends = qttools
|
||||
path = qttranslations
|
||||
url = ../qttranslations.git
|
||||
branch = 6.2.1
|
||||
branch = 5.9.6
|
||||
status = essential
|
||||
priority = 30
|
||||
[submodule "qtdoc"]
|
||||
depends = qtdeclarative qttools
|
||||
recommends = qtmultimedia
|
||||
depends = qtdeclarative
|
||||
path = qtdoc
|
||||
url = ../qtdoc.git
|
||||
branch = 6.2.1
|
||||
branch = 5.9.6
|
||||
status = essential
|
||||
priority = 40
|
||||
[submodule "qtrepotools"]
|
||||
@@ -68,22 +73,22 @@
|
||||
depends = qtbase
|
||||
path = qtqa
|
||||
url = ../qtqa.git
|
||||
branch = dev
|
||||
branch = master
|
||||
status = essential
|
||||
priority = 50
|
||||
[submodule "qtlocation"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtserialport
|
||||
recommends = qtdeclarative qtquickcontrols qtquickcontrols2 qtserialport
|
||||
path = qtlocation
|
||||
url = ../qtlocation.git
|
||||
branch = 6.2.1
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtsensors"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtsensors
|
||||
url = ../qtsensors.git
|
||||
branch = 6.2.1
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtsystems"]
|
||||
depends = qtbase
|
||||
@@ -99,6 +104,12 @@
|
||||
url = ../qtfeedback.git
|
||||
branch = master
|
||||
status = ignore
|
||||
[submodule "qtdocgallery"]
|
||||
depends = qtdeclarative
|
||||
path = qtdocgallery
|
||||
url = ../qtdocgallery.git
|
||||
branch = master
|
||||
status = ignore
|
||||
[submodule "qtpim"]
|
||||
depends = qtdeclarative
|
||||
path = qtpim
|
||||
@@ -107,186 +118,194 @@
|
||||
status = ignore
|
||||
[submodule "qtconnectivity"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
recommends = qtdeclarative qtandroidextras
|
||||
path = qtconnectivity
|
||||
url = ../qtconnectivity.git
|
||||
branch = 6.2.1
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtwayland"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtwayland
|
||||
url = ../qtwayland.git
|
||||
branch = 6.2.1
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qt3d"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtshadertools
|
||||
recommends = qtdeclarative qtimageformats qtgamepad
|
||||
path = qt3d
|
||||
url = ../qt3d.git
|
||||
branch = 6.2.1
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtimageformats"]
|
||||
depends = qtbase
|
||||
path = qtimageformats
|
||||
url = ../qtimageformats.git
|
||||
branch = 6.2.1
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtquick1"]
|
||||
depends = qtscript
|
||||
recommends = qtsvg qtxmlpatterns
|
||||
path = qtquick1
|
||||
url = ../qtquick1.git
|
||||
branch = dev
|
||||
status = ignore
|
||||
[submodule "qtgraphicaleffects"]
|
||||
depends = qtdeclarative
|
||||
path = qtgraphicaleffects
|
||||
url = ../qtgraphicaleffects.git
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtquickcontrols"]
|
||||
depends = qtdeclarative
|
||||
recommends = qtgraphicaleffects
|
||||
path = qtquickcontrols
|
||||
url = ../qtquickcontrols.git
|
||||
branch = 5.9.6
|
||||
status = essential
|
||||
[submodule "qtserialbus"]
|
||||
depends = qtbase
|
||||
recommends = qtserialport
|
||||
depends = qtserialport
|
||||
path = qtserialbus
|
||||
url = ../qtserialbus.git
|
||||
branch = 6.2.1
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtserialport"]
|
||||
depends = qtbase
|
||||
path = qtserialport
|
||||
url = ../qtserialport.git
|
||||
branch = 6.2.1
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtx11extras"]
|
||||
depends = qtbase
|
||||
path = qtx11extras
|
||||
url = ../qtx11extras.git
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtmacextras"]
|
||||
depends = qtbase
|
||||
path = qtmacextras
|
||||
url = ../qtmacextras.git
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtwinextras"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtwinextras
|
||||
url = ../qtwinextras.git
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtandroidextras"]
|
||||
depends = qtbase
|
||||
path = qtandroidextras
|
||||
url = ../qtandroidextras.git
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtenginio"]
|
||||
depends = qtdeclarative
|
||||
path = qtenginio
|
||||
url = ../qtenginio.git
|
||||
branch = dev
|
||||
status = ignore
|
||||
[submodule "qtwebsockets"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtwebsockets
|
||||
url = ../qtwebsockets.git
|
||||
branch = 6.2.1
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtwebchannel"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtwebsockets
|
||||
path = qtwebchannel
|
||||
url = ../qtwebchannel.git
|
||||
branch = 6.2.1
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtwebengine"]
|
||||
depends = qtdeclarative
|
||||
recommends = qtlocation qtwebchannel qttools
|
||||
depends = qtquickcontrols qtwebchannel
|
||||
recommends = qtlocation qttools
|
||||
path = qtwebengine
|
||||
url = ../qtwebengine.git
|
||||
branch = 6.2.1
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
priority = 10
|
||||
[submodule "qtcanvas3d"]
|
||||
depends = qtdeclarative
|
||||
path = qtcanvas3d
|
||||
url = ../qtcanvas3d.git
|
||||
branch = 6.2.1
|
||||
status = ignore
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtwebview"]
|
||||
depends = qtdeclarative
|
||||
recommends = qtwebengine
|
||||
path = qtwebview
|
||||
url = ../qtwebview.git
|
||||
branch = 6.2.1
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtquickcontrols2"]
|
||||
depends = qtgraphicaleffects
|
||||
path = qtquickcontrols2
|
||||
url = ../qtquickcontrols2.git
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtpurchasing"]
|
||||
depends = qtbase qtandroidextras
|
||||
recommends = qtdeclarative
|
||||
path = qtpurchasing
|
||||
url = ../qtpurchasing.git
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtcharts"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtcharts
|
||||
url = ../qtcharts.git
|
||||
branch = 6.2.1
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtdatavis3d"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtdatavis3d
|
||||
url = ../qtdatavis3d.git
|
||||
branch = 6.2.1
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtvirtualkeyboard"]
|
||||
depends = qtbase qtdeclarative qtsvg
|
||||
recommends = qtmultimedia
|
||||
recommends = qtmultimedia qtquickcontrols
|
||||
path = qtvirtualkeyboard
|
||||
url = ../qtvirtualkeyboard.git
|
||||
branch = 6.2.1
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtgamepad"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtgamepad
|
||||
url = ../qtgamepad.git
|
||||
branch = 6.2.1
|
||||
status = ignore
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtscxml"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtscxml
|
||||
url = ../qtscxml.git
|
||||
branch = 6.2.1
|
||||
branch = 5.9.6
|
||||
status = addon
|
||||
[submodule "qtspeech"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtspeech
|
||||
url = ../qtspeech.git
|
||||
branch = 6.2.1
|
||||
status = ignore
|
||||
branch = 5.9.6
|
||||
status = preview
|
||||
[submodule "qtnetworkauth"]
|
||||
depends = qtbase
|
||||
recommends = qtwebview
|
||||
path = qtnetworkauth
|
||||
url = ../qtnetworkauth.git
|
||||
branch = 6.2.1
|
||||
status = addon
|
||||
branch = 5.9.6
|
||||
status = preview
|
||||
[submodule "qtremoteobjects"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtremoteobjects
|
||||
url = ../qtremoteobjects.git
|
||||
branch = 6.2.1
|
||||
status = addon
|
||||
[submodule "qtwebglplugin"]
|
||||
depends = qtbase qtwebsockets
|
||||
recommends = qtdeclarative
|
||||
path = qtwebglplugin
|
||||
url = ../qtwebglplugin.git
|
||||
branch = 6.2.1
|
||||
status = ignore
|
||||
[submodule "qtlottie"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtlottie
|
||||
url = ../qtlottie.git
|
||||
branch = 6.2.1
|
||||
status = addon
|
||||
[submodule "qtquicktimeline"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtquicktimeline
|
||||
url = ../qtquicktimeline
|
||||
branch = 6.2.1
|
||||
status = addon
|
||||
[submodule "qtquick3d"]
|
||||
depends = qtbase qtdeclarative qtshadertools
|
||||
recommends = qtquicktimeline
|
||||
path = qtquick3d
|
||||
url = ../qtquick3d.git
|
||||
branch = 6.2.1
|
||||
status = addon
|
||||
[submodule "qtshadertools"]
|
||||
depends = qtbase
|
||||
path = qtshadertools
|
||||
url = ../qtshadertools.git
|
||||
branch = 6.2.1
|
||||
status = addon
|
||||
[submodule "qt5compat"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qt5compat
|
||||
url = ../qt5compat.git
|
||||
branch = 6.2.1
|
||||
status = deprecated
|
||||
[submodule "qtcoap"]
|
||||
depends = qtbase
|
||||
path = qtcoap
|
||||
url = ../qtcoap.git
|
||||
branch = 6.2.1
|
||||
status = addon
|
||||
[submodule "qtmqtt"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtmqtt
|
||||
url = ../qtmqtt.git
|
||||
branch = 6.2.1
|
||||
status = addon
|
||||
[submodule "qtopcua"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtopcua
|
||||
url = ../qtopcua.git
|
||||
branch = 6.2.1
|
||||
status = addon
|
||||
branch = 5.9.6
|
||||
status = preview
|
||||
|
||||
111
CMakeLists.txt
111
CMakeLists.txt
@@ -1,111 +0,0 @@
|
||||
# The real minimum version will be checked by the qtbase project.
|
||||
# 3.16 is the absolute minimum though.
|
||||
cmake_minimum_required(VERSION 3.16...3.20)
|
||||
|
||||
# Include qtbase's .cmake.conf for access to QT_REPO_MODULE_VERSION
|
||||
set(__qt6_qtbase_src_path "${CMAKE_CURRENT_SOURCE_DIR}/qtbase")
|
||||
include("${__qt6_qtbase_src_path}/.cmake.conf")
|
||||
|
||||
# Run platform auto-detection /before/ the first project() call and thus
|
||||
# before the toolchain file is loaded.
|
||||
include("${__qt6_qtbase_src_path}/cmake/QtAutoDetect.cmake")
|
||||
|
||||
project(Qt
|
||||
VERSION "${QT_REPO_MODULE_VERSION}"
|
||||
DESCRIPTION "Qt Libraries"
|
||||
HOMEPAGE_URL "https://qt.io/"
|
||||
LANGUAGES CXX C ASM
|
||||
)
|
||||
|
||||
# Required so we can call ctest from the root build directory
|
||||
enable_testing()
|
||||
|
||||
set(qt_module_prop_prefix "__qt_prop_")
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||
if (NOT QT_BUILD_STANDALONE_TESTS)
|
||||
list(APPEND CMAKE_MODULE_PATH "${__qt6_qtbase_src_path}/cmake")
|
||||
list(APPEND CMAKE_MODULE_PATH
|
||||
"${__qt6_qtbase_src_path}/cmake/3rdparty/extra-cmake-modules/find-modules")
|
||||
list(APPEND CMAKE_MODULE_PATH "${__qt6_qtbase_src_path}/cmake/3rdparty/kwin")
|
||||
endif()
|
||||
|
||||
include("QtTopLevelHelpers")
|
||||
include(ECMOptionalAddSubdirectory)
|
||||
|
||||
# Also make sure the CMake config files do not recreate the already-existing targets
|
||||
if (NOT QT_BUILD_STANDALONE_TESTS)
|
||||
set(QT_NO_CREATE_TARGETS TRUE)
|
||||
endif()
|
||||
set(QT_SUPERBUILD TRUE)
|
||||
|
||||
# Get submodule list if not already defined
|
||||
if(NOT QT_BUILD_SUBMODULES)
|
||||
if(DEFINED ENV{QT_BUILD_SUBMODULES})
|
||||
set(QT_BUILD_SUBMODULES "$ENV{QT_BUILD_SUBMODULES}")
|
||||
else()
|
||||
qt_internal_find_modules(QT_BUILD_SUBMODULES)
|
||||
endif()
|
||||
endif()
|
||||
set(QT_BUILD_SUBMODULES "${QT_BUILD_SUBMODULES}" CACHE STRING "Submodules to build")
|
||||
|
||||
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)
|
||||
# Check for unmet dependencies
|
||||
if(NOT DEFINED BUILD_${module} OR BUILD_${module})
|
||||
message(NOTICE "Checking dependencies of '${module}'")
|
||||
get_property(required_deps GLOBAL PROPERTY QT_REQUIRED_DEPS_FOR_${module})
|
||||
foreach(dep IN LISTS "${qt_module_dependency_map_prefix}${module}")
|
||||
if (dep STREQUAL "qtbase")
|
||||
# Always available skip
|
||||
continue()
|
||||
endif()
|
||||
|
||||
set(required FALSE)
|
||||
if(dep IN_LIST required_deps)
|
||||
set(required TRUE)
|
||||
endif()
|
||||
|
||||
set(error_reason "")
|
||||
if(NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${dep}/CMakeLists.txt")
|
||||
set(error_reason "${dep}'s CMakeLists.txt couldn't be found")
|
||||
elseif(DEFINED BUILD_${dep} AND NOT BUILD_${dep})
|
||||
set(error_reason "building '${dep}' was explicitly disabled")
|
||||
endif()
|
||||
|
||||
if(NOT error_reason STREQUAL "")
|
||||
if(required)
|
||||
message(FATAL_ERROR "Module '${module}' depends on '${dep}', "
|
||||
"but ${error_reason}.\n"
|
||||
"Note: Use '-skip ${module}' to exclude it from the build.")
|
||||
else()
|
||||
message(NOTICE "Skipping optional dependency '${dep}' of '${module}', "
|
||||
"because ${error_reason}.")
|
||||
endif()
|
||||
endif()
|
||||
endforeach()
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
foreach(module IN LISTS QT_BUILD_SUBMODULES)
|
||||
message(NOTICE "Configuring '${module}'")
|
||||
ecm_optional_add_subdirectory("${module}")
|
||||
|
||||
if(module STREQUAL "qtbase")
|
||||
if (NOT QT_BUILD_STANDALONE_TESTS)
|
||||
list(APPEND CMAKE_PREFIX_PATH "${QtBase_BINARY_DIR}/lib/cmake")
|
||||
list(APPEND CMAKE_FIND_ROOT_PATH "${QtBase_BINARY_DIR}")
|
||||
endif()
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
if(NOT QT_BUILD_STANDALONE_TESTS)
|
||||
# Display a summary of everything
|
||||
include(QtBuildInformation)
|
||||
include(QtPlatformSupport)
|
||||
qt_print_feature_summary()
|
||||
qt_print_build_instructions()
|
||||
endif()
|
||||
22
LGPL_EXCEPTION.txt
Normal file
22
LGPL_EXCEPTION.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
The Qt Company Qt LGPL Exception version 1.1
|
||||
|
||||
As an additional permission to the GNU Lesser General Public License version
|
||||
2.1, the object code form of a "work that uses the Library" may incorporate
|
||||
material from a header file that is part of the Library. You may distribute
|
||||
such object code under terms of your choice, provided that:
|
||||
(i) the header files of the Library have not been modified; and
|
||||
(ii) the incorporated material is limited to numerical parameters, data
|
||||
structure layouts, accessors, macros, inline functions and
|
||||
templates; and
|
||||
(iii) you comply with the terms of Section 6 of the GNU Lesser General
|
||||
Public License version 2.1.
|
||||
|
||||
Moreover, you may apply this exception to a modified version of the Library,
|
||||
provided that such modification does not involve copying material from the
|
||||
Library into the modified Library's header files unless such material is
|
||||
limited to (i) numerical parameters; (ii) data structure layouts;
|
||||
(iii) accessors; and (iv) small macros, templates and inline functions of
|
||||
five lines or less in length.
|
||||
|
||||
Furthermore, you are not required to apply this additional permission to a
|
||||
modified version of the Library.
|
||||
@@ -1,704 +0,0 @@
|
||||
This is the GNU General Public License version 3, annotated with The
|
||||
Qt Company GPL Exception 1.0:
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
The Qt Company GPL Exception 1.0
|
||||
|
||||
Exception 1:
|
||||
|
||||
As a special exception you may create a larger work which contains the
|
||||
output of this application and distribute that work under terms of your
|
||||
choice, so long as the work is not otherwise derived from or based on
|
||||
this application and so long as the work does not in itself generate
|
||||
output that contains the output from this application in its original
|
||||
or modified form.
|
||||
|
||||
Exception 2:
|
||||
|
||||
As a special exception, you have permission to combine this application
|
||||
with Plugins licensed under the terms of your choice, to produce an
|
||||
executable, and to copy and distribute the resulting executable under
|
||||
the terms of your choice. However, the executable must be accompanied
|
||||
by a prominent notice offering all users of the executable the entire
|
||||
source code to this application, excluding the source code of the
|
||||
independent modules, but including any changes you have made to this
|
||||
application, under the terms of this license.
|
||||
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||
628
LICENSE.PREVIEW.COMMERCIAL
Normal file
628
LICENSE.PREVIEW.COMMERCIAL
Normal file
@@ -0,0 +1,628 @@
|
||||
TECHNOLOGY PREVIEW LICENSE AGREEMENT
|
||||
|
||||
For individuals and/or legal entities resident in the Americas (North
|
||||
America, Central America and South America), the applicable licensing
|
||||
terms are specified under the heading "Technology Preview License
|
||||
Agreement: The Americas".
|
||||
|
||||
For individuals and/or legal entities not resident in The Americas, the
|
||||
applicable licensing terms are specified under the heading "Technology
|
||||
Preview License Agreement: Rest of the World".
|
||||
|
||||
|
||||
TECHNOLOGY PREVIEW LICENSE AGREEMENT: The Americas
|
||||
Agreement version 2.4
|
||||
|
||||
This Technology Preview License Agreement ("Agreement")is a legal agreement
|
||||
between Digia USA, Inc. ("Digia"), with its registered office at 2350
|
||||
Mission College Blvd., Suite 1020, Santa Clara, California 95054,
|
||||
U.S.A. and you (either an individual or a legal entity) ("Licensee") for the
|
||||
Licensed Software (as defined below).
|
||||
|
||||
1. DEFINITIONS
|
||||
|
||||
"Affiliate" of a Party shall mean an entity (i) which is directly or
|
||||
indirectly controlling such Party; (ii) which is under the same direct
|
||||
or indirect ownership or control as such Party; or (iii) which is
|
||||
directly or indirectly owned or controlled by such Party. For these
|
||||
purposes, an entity shall be treated as being controlled by another if
|
||||
that other entity has fifty percent (50 %) or more of the votes in such
|
||||
entity, is able to direct its affairs and/or to control the composition
|
||||
of its board of directors or equivalent body.
|
||||
|
||||
"Applications" shall mean Licensee's software products created using the
|
||||
Licensed Software which may include portions of the Licensed Software.
|
||||
|
||||
"Term" shall mean the period of time six (6) months from the later of
|
||||
(a) the Effective Date; or (b) the date the Licensed Software was
|
||||
initially delivered to Licensee by Digia. If no specific Effective Date
|
||||
is set forth in the Agreement, the Effective Date shall be deemed to be
|
||||
the date the Licensed Software was initially delivered to Licensee.
|
||||
|
||||
"Licensed Software" shall mean the computer software, "online" or
|
||||
electronic documentation, associated media and printed materials,
|
||||
including the source code, example programs and the documentation
|
||||
delivered by Digia to Licensee in conjunction with this Agreement.
|
||||
|
||||
"Party" or "Parties" shall mean Licensee and/or Digia.
|
||||
|
||||
|
||||
2. OWNERSHIP
|
||||
|
||||
The Licensed Software is protected by copyright laws and international
|
||||
copyright treaties, as well as other intellectual property laws and
|
||||
treaties. The Licensed Software is licensed, not sold.
|
||||
|
||||
If Licensee provides any findings, proposals, suggestions or other
|
||||
feedback ("Feedback") to Digia regarding the Licensed Software, Digia
|
||||
shall own all right, title and interest including the intellectual
|
||||
property rights in and to such Feedback, excluding however any existing
|
||||
patent rights of Licensee. To the extent Licensee owns or controls any
|
||||
patents for such Feedback Licensee hereby grants to Digia and its
|
||||
Affiliates, a worldwide, perpetual, non-transferable, sublicensable,
|
||||
royalty-free license to (i) use, copy and modify Feedback and to create
|
||||
derivative works thereof, (ii) to make (and have made), use, import,
|
||||
sell, offer for sale, lease, dispose, offer for disposal or otherwise
|
||||
exploit any products or services of Digia containing Feedback, and
|
||||
(iii) sublicense all the foregoing rights to third party licensees and
|
||||
customers of Digia and/or its Affiliates.
|
||||
|
||||
|
||||
3. VALIDITY OF THE AGREEMENT
|
||||
|
||||
By installing, copying, or otherwise using the Licensed Software,
|
||||
Licensee agrees to be bound by the terms of this Agreement. If Licensee
|
||||
does not agree to the terms of this Agreement, Licensee may not install,
|
||||
copy, or otherwise use the Licensed Software. Upon Licensee's acceptance
|
||||
of the terms and conditions of this Agreement, Digia grants Licensee the
|
||||
right to use the Licensed Software in the manner provided below.
|
||||
|
||||
|
||||
4. LICENSES
|
||||
|
||||
4.1. Using and Copying
|
||||
|
||||
Digia grants to Licensee a non-exclusive, non-transferable, time-limited
|
||||
license to use and copy the Licensed Software for sole purpose of
|
||||
designing, developing and testing Applications, and evaluating and the
|
||||
Licensed Software during the Term.
|
||||
|
||||
Licensee may install copies of the Licensed Software on an unlimited
|
||||
number of computers provided that (a) if an individual, only such
|
||||
individual; or (b) if a legal entity only its employees; use the
|
||||
Licensed Software for the authorized purposes.
|
||||
|
||||
4.2 No Distribution or Modifications
|
||||
|
||||
Licensee may not disclose, modify, sell, market, commercialise,
|
||||
distribute, loan, rent, lease, or license the Licensed Software or any
|
||||
copy of it or use the Licensed Software for any purpose that is not
|
||||
expressly granted in this Section 4. Licensee may not alter or remove
|
||||
any details of ownership, copyright, trademark or other property right
|
||||
connected with the Licensed Software. Licensee may not distribute any
|
||||
software statically or dynamically linked with the Licensed Software.
|
||||
|
||||
4.3 No Technical Support
|
||||
|
||||
Digia has no obligation to furnish Licensee with any technical support
|
||||
whatsoever. Any such support is subject to separate agreement between
|
||||
the Parties.
|
||||
|
||||
|
||||
5. PRE-RELEASE CODE
|
||||
The Licensed Software contains pre-release code that is not at the level
|
||||
of performance and compatibility of a final, generally available,
|
||||
product offering. The Licensed Software may not operate correctly and
|
||||
may be substantially modified prior to the first commercial product
|
||||
release, if any. Digia is not obligated to make this or any later
|
||||
version of the Licensed Software commercially available. The License
|
||||
Software is "Not for Commercial Use" and may only be used for the
|
||||
purposes described in Section 4. The Licensed Software may not be used
|
||||
in a live operating environment where it may be relied upon to perform
|
||||
in the same manner as a commercially released product or with data that
|
||||
has not been sufficiently backed up.
|
||||
|
||||
6. THIRD PARTY SOFTWARE
|
||||
|
||||
The Licensed Software may provide links to third party libraries or code
|
||||
(collectively "Third Party Software") to implement various functions.
|
||||
Third Party Software does not comprise part of the Licensed Software. In
|
||||
some cases, access to Third Party Software may be included along with
|
||||
the Licensed Software delivery as a convenience for development and
|
||||
testing only. Such source code and libraries may be listed in the
|
||||
".../src/3rdparty" source tree delivered with the Licensed Software or
|
||||
documented in the Licensed Software where the Third Party Software is
|
||||
used, as may be amended from time to time, do not comprise the Licensed
|
||||
Software. Licensee acknowledges (1) that some part of Third Party
|
||||
Software may require additional licensing of copyright and patents from
|
||||
the owners of such, and (2) that distribution of any of the Licensed
|
||||
Software referencing any portion of a Third Party Software may require
|
||||
appropriate licensing from such third parties.
|
||||
|
||||
|
||||
7. LIMITED WARRANTY AND WARRANTY DISCLAIMER
|
||||
|
||||
The Licensed Software is licensed to Licensee "as is". To the maximum
|
||||
extent permitted by applicable law, Digia on behalf of itself and its
|
||||
suppliers, disclaims all warranties and conditions, either express or
|
||||
implied, including, but not limited to, implied warranties of
|
||||
merchantability, fitness for a particular purpose, title and
|
||||
non-infringement with regard to the Licensed Software.
|
||||
|
||||
|
||||
8. LIMITATION OF LIABILITY
|
||||
|
||||
If, Digia's warranty disclaimer notwithstanding, Digia is held liable to
|
||||
Licensee, whether in contract, tort or any other legal theory, based on
|
||||
the Licensed Software, Digia's entire liability to Licensee and
|
||||
Licensee's exclusive remedy shall be, at Digia's option, either (A)
|
||||
return of the price Licensee paid for the Licensed Software, or (B)
|
||||
repair or replacement of the Licensed Software, provided Licensee
|
||||
returns to Digia all copies of the Licensed Software as originally
|
||||
delivered to Licensee. Digia shall not under any circumstances be liable
|
||||
to Licensee based on failure of the Licensed Software if the failure
|
||||
resulted from accident, abuse or misapplication, nor shall Digia under
|
||||
any circumstances be liable for special damages, punitive or exemplary
|
||||
damages, damages for loss of profits or interruption of business or for
|
||||
loss or corruption of data. Any award of damages from Digia to Licensee
|
||||
shall not exceed the total amount Licensee has paid to Digia in
|
||||
connection with this Agreement.
|
||||
|
||||
|
||||
9. CONFIDENTIALITY
|
||||
|
||||
Each party acknowledges that during the Term of this Agreement it shall
|
||||
have access to information about the other party's business, business
|
||||
methods, business plans, customers, business relations, technology, and
|
||||
other information, including the terms of this Agreement, that is
|
||||
confidential and of great value to the other party, and the value of
|
||||
which would be significantly reduced if disclosed to third parties (the
|
||||
"Confidential Information"). Accordingly, when a party (the "Receiving
|
||||
Party") receives Confidential Information from another party (the
|
||||
"Disclosing Party"), the Receiving Party shall, and shall obligate its
|
||||
employees and agents and employees and agents of its Affiliates to: (i)
|
||||
maintain the Confidential Information in strict confidence; (ii) not
|
||||
disclose the Confidential Information to a third party without the
|
||||
Disclosing Party's prior written approval; and (iii) not, directly or
|
||||
indirectly, use the Confidential Information for any purpose other than
|
||||
for exercising its rights and fulfilling its responsibilities pursuant
|
||||
to this Agreement. Each party shall take reasonable measures to protect
|
||||
the Confidential Information of the other party, which measures shall
|
||||
not be less than the measures taken by such party to protect its own
|
||||
confidential and proprietary information.
|
||||
|
||||
"Confidential Information" shall not include information that (a) is or
|
||||
becomes generally known to the public through no act or omission of the
|
||||
Receiving Party; (b) was in the Receiving Party's lawful possession
|
||||
prior to the disclosure hereunder and was not subject to limitations on
|
||||
disclosure or use; (c) is developed by the Receiving Party without
|
||||
access to the Confidential Information of the Disclosing Party or by
|
||||
persons who have not had access to the Confidential Information of the
|
||||
Disclosing Party as proven by the written records of the Receiving
|
||||
Party; (d) is lawfully disclosed to the Receiving Party without
|
||||
restrictions, by a third party not under an obligation of
|
||||
confidentiality; or (e) the Receiving Party is legally compelled to
|
||||
disclose the information, in which case the Receiving Party shall assert
|
||||
the privileged and confidential nature of the information and cooperate
|
||||
fully with the Disclosing Party to protect against and prevent
|
||||
disclosure of any Confidential Information and to limit the scope of
|
||||
disclosure and the dissemination of disclosed Confidential Information
|
||||
by all legally available means.
|
||||
|
||||
The obligations of the Receiving Party under this Section shall continue
|
||||
during the Initial Term and for a period of five (5) years after
|
||||
expiration or termination of this Agreement. To the extent that the
|
||||
terms of the Non-Disclosure Agreement between Digia and Licensee
|
||||
conflict with the terms of this Section 9, this Section 9 shall be
|
||||
controlling over the terms of the Non-Disclosure Agreement.
|
||||
|
||||
|
||||
10. GENERAL PROVISIONS
|
||||
|
||||
10.1 No Assignment
|
||||
|
||||
Licensee shall not be entitled to assign or transfer all or any of its
|
||||
rights, benefits and obligations under this Agreement without the prior
|
||||
written consent of Digia, which shall not be unreasonably withheld.
|
||||
|
||||
10.2 Termination
|
||||
|
||||
Digia may terminate the Agreement at any time immediately upon written
|
||||
notice by Digia to Licensee if Licensee breaches this Agreement.
|
||||
|
||||
Upon termination of this Agreement, Licensee shall return to Digia all
|
||||
copies of Licensed Software that were supplied by Digia. All other
|
||||
copies of Licensed Software in the possession or control of Licensee
|
||||
must be erased or destroyed. An officer of Licensee must promptly
|
||||
deliver to Digia a written confirmation that this has occurred.
|
||||
|
||||
10.3 Surviving Sections
|
||||
|
||||
Any terms and conditions that by their nature or otherwise reasonably
|
||||
should survive a cancellation or termination of this Agreement shall
|
||||
also be deemed to survive. Such terms and conditions include, but are
|
||||
not limited to the following Sections: 2, 5, 6, 7, 8, 9, 10.2, 10.3, 10.4,
|
||||
10.5, 10.6, 10.7, and 10.8 of this Agreement.
|
||||
|
||||
10.4 Entire Agreement
|
||||
|
||||
This Agreement constitutes the complete agreement between the parties
|
||||
and supersedes all prior or contemporaneous discussions,
|
||||
representations, and proposals, written or oral, with respect to the
|
||||
subject matters discussed herein, with the exception of the
|
||||
non-disclosure agreement executed by the parties in connection with this
|
||||
Agreement ("Non-Disclosure Agreement"), if any, shall be subject to
|
||||
Section 9. No modification of this Agreement shall be effective unless
|
||||
contained in a writing executed by an authorized representative of each
|
||||
party. No term or condition contained in Licensee's purchase order shall
|
||||
apply unless expressly accepted by Digia in writing. If any provision of
|
||||
the Agreement is found void or unenforceable, the remainder shall remain
|
||||
valid and enforceable according to its terms. If any remedy provided is
|
||||
determined to have failed for its essential purpose, all limitations of
|
||||
liability and exclusions of damages set forth in this Agreement shall
|
||||
remain in effect.
|
||||
|
||||
10.5 Export Control
|
||||
|
||||
Licensee acknowledges that the Licensed Software may be subject to
|
||||
export control restrictions of various countries. Licensee shall fully
|
||||
comply with all applicable export license restrictions and requirements
|
||||
as well as with all laws and regulations relating to the importation of
|
||||
the Licensed Software and shall procure all necessary governmental
|
||||
authorizations, including without limitation, all necessary licenses,
|
||||
approvals, permissions or consents, where necessary for the
|
||||
re-exportation of the Licensed Software.,
|
||||
|
||||
10.6 Governing Law and Legal Venue
|
||||
|
||||
This Agreement shall be governed by and construed in accordance with the
|
||||
federal laws of the United States of America and the internal laws of
|
||||
the State of New York without given effect to any choice of law rule
|
||||
that would result in the application of the laws of any other
|
||||
jurisdiction. The United Nations Convention on Contracts for the
|
||||
International Sale of Goods (CISG) shall not apply. Each Party (a)
|
||||
hereby irrevocably submits itself to and consents to the jurisdiction of
|
||||
the United States District Court for the Southern District of New York
|
||||
(or if such court lacks jurisdiction, the state courts of the State of
|
||||
New York) for the purposes of any action, claim, suit or proceeding
|
||||
between the Parties in connection with any controversy, claim, or
|
||||
dispute arising out of or relating to this Agreement; and (b) hereby
|
||||
waives, and agrees not to assert by way of motion, as a defense or
|
||||
otherwise, in any such action, claim, suit or proceeding, any claim that
|
||||
is not personally subject to the jurisdiction of such court(s), that the
|
||||
action, claim, suit or proceeding is brought in an inconvenient forum or
|
||||
that the venue of the action, claim, suit or proceeding is improper.
|
||||
Notwithstanding the foregoing, nothing in this Section 9.6 is intended
|
||||
to, or shall be deemed to, constitute a submission or consent to, or
|
||||
selection of, jurisdiction, forum or venue for any action for patent
|
||||
infringement, whether or not such action relates to this Agreement.
|
||||
|
||||
10.7 No Implied License
|
||||
|
||||
There are no implied licenses or other implied rights granted under this
|
||||
Agreement, and all rights, save for those expressly granted hereunder,
|
||||
shall remain with Digia and its licensors. In addition, no licenses or
|
||||
immunities are granted to the combination of the Licensed Software with
|
||||
any other software or hardware not delivered by Digia under this
|
||||
Agreement.
|
||||
|
||||
10.8 Government End Users
|
||||
|
||||
A "U.S. Government End User" shall mean any agency or entity of the
|
||||
government of the United States. The following shall apply if Licensee
|
||||
is a U.S. Government End User. The Licensed Software is a "commercial
|
||||
item," as that term is defined in 48 C.F.R. 2.101 (Oct. 1995),
|
||||
consisting of "commercial computer software" and "commercial computer
|
||||
software documentation," as such terms are used in 48 C.F.R. 12.212
|
||||
(Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1
|
||||
through 227.7202-4 (June 1995), all U.S. Government End Users acquire
|
||||
the Licensed Software with only those rights set forth herein. The
|
||||
Licensed Software (including related documentation) is provided to U.S.
|
||||
Government End Users: (a) only as a commercial end item; and (b) only
|
||||
pursuant to this Agreement.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
TECHNOLOGY PREVIEW LICENSE AGREEMENT: Rest of the World
|
||||
Agreement version 2.4
|
||||
|
||||
This Technology Preview License Agreement ("Agreement") is a legal
|
||||
agreement between Digia Finland Ltd ("Digia"), with its registered office at
|
||||
Valimotie 21,FI-00380 Helsinki, Finland and you (either an individual or a
|
||||
legal entity) ("Licensee") for the Licensed Software.
|
||||
|
||||
1. DEFINITIONS
|
||||
|
||||
"Affiliate" of a Party shall mean an entity (i) which is directly or
|
||||
indirectly controlling such Party; (ii) which is under the same direct
|
||||
or indirect ownership or control as such Party; or (iii) which is
|
||||
directly or indirectly owned or controlled by such Party. For these
|
||||
purposes, an entity shall be treated as being controlled by another if
|
||||
that other entity has fifty percent (50 %) or more of the votes in such
|
||||
entity, is able to direct its affairs and/or to control the composition
|
||||
of its board of directors or equivalent body.
|
||||
|
||||
"Applications" shall mean Licensee's software products created using the
|
||||
Licensed Software which may include portions of the Licensed Software.
|
||||
|
||||
"Term" shall mean the period of time six (6) months from the later of
|
||||
(a) the Effective Date; or (b) the date the Licensed Software was
|
||||
initially delivered to Licensee by Digia. If no specific Effective Date
|
||||
is set forth in the Agreement, the Effective Date shall be deemed to be
|
||||
the date the Licensed Software was initially delivered to Licensee.
|
||||
|
||||
"Licensed Software" shall mean the computer software, "online" or
|
||||
electronic documentation, associated media and printed materials,
|
||||
including the source code, example programs and the documentation
|
||||
delivered by Digia to Licensee in conjunction with this Agreement.
|
||||
|
||||
"Party" or "Parties" shall mean Licensee and/or Digia.
|
||||
|
||||
|
||||
2. OWNERSHIP
|
||||
|
||||
The Licensed Software is protected by copyright laws and international
|
||||
copyright treaties, as well as other intellectual property laws and
|
||||
treaties. The Licensed Software is licensed, not sold.
|
||||
|
||||
If Licensee provides any findings, proposals, suggestions or other
|
||||
feedback ("Feedback") to Digia regarding the Licensed Software, Digia
|
||||
shall own all right, title and interest including the intellectual
|
||||
property rights in and to such Feedback, excluding however any existing
|
||||
patent rights of Licensee. To the extent Licensee owns or controls any
|
||||
patents for such Feedback Licensee hereby grants to Digia and its
|
||||
Affiliates, a worldwide, perpetual, non-transferable, sublicensable,
|
||||
royalty-free license to (i) use, copy and modify Feedback and to create
|
||||
derivative works thereof, (ii) to make (and have made), use, import,
|
||||
sell, offer for sale, lease, dispose, offer for disposal or otherwise
|
||||
exploit any products or services of Digia containing Feedback, and
|
||||
(iii) sublicense all the foregoing rights to third party licensees and
|
||||
customers of Digia and/or its Affiliates.
|
||||
|
||||
3. VALIDITY OF THE AGREEMENT
|
||||
|
||||
By installing, copying, or otherwise using the Licensed Software,
|
||||
Licensee agrees to be bound by the terms of this Agreement. If Licensee
|
||||
does not agree to the terms of this Agreement, Licensee may not install,
|
||||
copy, or otherwise use the Licensed Software. Upon Licensee's acceptance
|
||||
of the terms and conditions of this Agreement, Digia grants Licensee the
|
||||
right to use the Licensed Software in the manner provided below.
|
||||
|
||||
|
||||
4. LICENSES
|
||||
|
||||
4.1. Using and Copying
|
||||
|
||||
Digia grants to Licensee a non-exclusive, non-transferable, time-limited
|
||||
license to use and copy the Licensed Software for sole purpose of
|
||||
designing, developing and testing Applications, and evaluating and the
|
||||
Licensed Software during the Term.
|
||||
|
||||
Licensee may install copies of the Licensed Software on an unlimited
|
||||
number of computers provided that (a) if an individual, only such
|
||||
individual; or (b) if a legal entity only its employees; use the
|
||||
Licensed Software for the authorized purposes.
|
||||
|
||||
4.2 No Distribution or Modifications
|
||||
|
||||
Licensee may not disclose, modify, sell, market, commercialise,
|
||||
distribute, loan, rent, lease, or license the Licensed Software or any
|
||||
copy of it or use the Licensed Software for any purpose that is not
|
||||
expressly granted in this Section 4. Licensee may not alter or remove
|
||||
any details of ownership, copyright, trademark or other property right
|
||||
connected with the Licensed Software. Licensee may not distribute any
|
||||
software statically or dynamically linked with the Licensed Software.
|
||||
|
||||
4.3 No Technical Support
|
||||
|
||||
Digia has no obligation to furnish Licensee with any technical support
|
||||
whatsoever. Any such support is subject to separate agreement between
|
||||
the Parties.
|
||||
|
||||
|
||||
5. PRE-RELEASE CODE
|
||||
|
||||
The Licensed Software contains pre-release code that is not at the level
|
||||
of performance and compatibility of a final, generally available,
|
||||
product offering. The Licensed Software may not operate correctly and
|
||||
may be substantially modified prior to the first commercial product
|
||||
release, if any. Digia is not obligated to make this or any later
|
||||
version of the Licensed Software commercially available. The License
|
||||
Software is "Not for Commercial Use" and may only be used for the
|
||||
purposes described in Section 4. The Licensed Software may not be used
|
||||
in a live operating environment where it may be relied upon to perform
|
||||
in the same manner as a commercially released product or with data that
|
||||
has not been sufficiently backed up.
|
||||
|
||||
6. THIRD PARTY SOFTWARE
|
||||
|
||||
The Licensed Software may provide links to third party libraries or code
|
||||
(collectively "Third Party Software") to implement various functions.
|
||||
Third Party Software does not comprise part of the Licensed Software. In
|
||||
some cases, access to Third Party Software may be included along with
|
||||
the Licensed Software delivery as a convenience for development and
|
||||
testing only. Such source code and libraries may be listed in the
|
||||
".../src/3rdparty" source tree delivered with the Licensed Software or
|
||||
documented in the Licensed Software where the Third Party Software is
|
||||
used, as may be amended from time to time, do not comprise the Licensed
|
||||
Software. Licensee acknowledges (1) that some part of Third Party
|
||||
Software may require additional licensing of copyright and patents from
|
||||
the owners of such, and (2) that distribution of any of the Licensed
|
||||
Software referencing any portion of a Third Party Software may require
|
||||
appropriate licensing from such third parties.
|
||||
|
||||
|
||||
7. LIMITED WARRANTY AND WARRANTY DISCLAIMER
|
||||
|
||||
The Licensed Software is licensed to Licensee "as is". To the maximum
|
||||
extent permitted by applicable law, Digia on behalf of itself and its
|
||||
suppliers, disclaims all warranties and conditions, either express or
|
||||
implied, including, but not limited to, implied warranties of
|
||||
merchantability, fitness for a particular purpose, title and
|
||||
non-infringement with regard to the Licensed Software.
|
||||
|
||||
|
||||
8. LIMITATION OF LIABILITY
|
||||
|
||||
If, Digia's warranty disclaimer notwithstanding, Digia is held liable to
|
||||
Licensee, whether in contract, tort or any other legal theory, based on
|
||||
the Licensed Software, Digia's entire liability to Licensee and
|
||||
Licensee's exclusive remedy shall be, at Digia's option, either (A)
|
||||
return of the price Licensee paid for the Licensed Software, or (B)
|
||||
repair or replacement of the Licensed Software, provided Licensee
|
||||
returns to Digia all copies of the Licensed Software as originally
|
||||
delivered to Licensee. Digia shall not under any circumstances be liable
|
||||
to Licensee based on failure of the Licensed Software if the failure
|
||||
resulted from accident, abuse or misapplication, nor shall Digia under
|
||||
any circumstances be liable for special damages, punitive or exemplary
|
||||
damages, damages for loss of profits or interruption of business or for
|
||||
loss or corruption of data. Any award of damages from Digia to Licensee
|
||||
shall not exceed the total amount Licensee has paid to Digia in
|
||||
connection with this Agreement.
|
||||
|
||||
|
||||
9. CONFIDENTIALITY
|
||||
|
||||
Each party acknowledges that during the Term of this Agreement it shall
|
||||
have access to information about the other party's business, business
|
||||
methods, business plans, customers, business relations, technology, and
|
||||
other information, including the terms of this Agreement, that is
|
||||
confidential and of great value to the other party, and the value of
|
||||
which would be significantly reduced if disclosed to third parties (the
|
||||
"Confidential Information"). Accordingly, when a party (the "Receiving
|
||||
Party") receives Confidential Information from another party (the
|
||||
"Disclosing Party"), the Receiving Party shall, and shall obligate its
|
||||
employees and agents and employees and agents of its Affiliates to: (i)
|
||||
maintain the Confidential Information in strict confidence; (ii) not
|
||||
disclose the Confidential Information to a third party without the
|
||||
Disclosing Party's prior written approval; and (iii) not, directly or
|
||||
indirectly, use the Confidential Information for any purpose other than
|
||||
for exercising its rights and fulfilling its responsibilities pursuant
|
||||
to this Agreement. Each party shall take reasonable measures to protect
|
||||
the Confidential Information of the other party, which measures shall
|
||||
not be less than the measures taken by such party to protect its own
|
||||
confidential and proprietary information.
|
||||
|
||||
"Confidential Information" shall not include information that (a) is or
|
||||
becomes generally known to the public through no act or omission of the
|
||||
Receiving Party; (b) was in the Receiving Party's lawful possession
|
||||
prior to the disclosure hereunder and was not subject to limitations on
|
||||
disclosure or use; (c) is developed by the Receiving Party without
|
||||
access to the Confidential Information of the Disclosing Party or by
|
||||
persons who have not had access to the Confidential Information of the
|
||||
Disclosing Party as proven by the written records of the Receiving
|
||||
Party; (d) is lawfully disclosed to the Receiving Party without
|
||||
restrictions, by a third party not under an obligation of
|
||||
confidentiality; or (e) the Receiving Party is legally compelled to
|
||||
disclose the information, in which case the Receiving Party shall assert
|
||||
the privileged and confidential nature of the information and cooperate
|
||||
fully with the Disclosing Party to protect against and prevent
|
||||
disclosure of any Confidential Information and to limit the scope of
|
||||
disclosure and the dissemination of disclosed Confidential Information
|
||||
by all legally available means.
|
||||
|
||||
The obligations of the Receiving Party under this Section shall continue
|
||||
during the Initial Term and for a period of five (5) years after
|
||||
expiration or termination of this Agreement. To the extent that the
|
||||
terms of the Non-Disclosure Agreement between Digia and Licensee
|
||||
conflict with the terms of this Section 9, this Section 9 shall be
|
||||
controlling over the terms of the Non-Disclosure Agreement.
|
||||
|
||||
|
||||
10. GENERAL PROVISIONS
|
||||
|
||||
10.1 No Assignment
|
||||
|
||||
Licensee shall not be entitled to assign or transfer all or any of its
|
||||
rights, benefits and obligations under this Agreement without the prior
|
||||
written consent of Digia, which shall not be unreasonably withheld.
|
||||
|
||||
10.2 Termination
|
||||
|
||||
Digia may terminate the Agreement at any time immediately upon written
|
||||
notice by Digia to Licensee if Licensee breaches this Agreement.
|
||||
|
||||
Upon termination of this Agreement, Licensee shall return to Digia all
|
||||
copies of Licensed Software that were supplied by Digia. All other
|
||||
copies of Licensed Software in the possession or control of Licensee
|
||||
must be erased or destroyed. An officer of Licensee must promptly
|
||||
deliver to Digia a written confirmation that this has occurred.
|
||||
|
||||
10.3 Surviving Sections
|
||||
|
||||
Any terms and conditions that by their nature or otherwise reasonably
|
||||
should survive a cancellation or termination of this Agreement shall
|
||||
also be deemed to survive. Such terms and conditions include, but are
|
||||
not limited to the following Sections: 2, 5, 6, 7, 8, 9, 10.2, 10.3, 10.4,
|
||||
10.5, 10.6, 10.7, and 10.8 of this Agreement.
|
||||
|
||||
10.4 Entire Agreement
|
||||
|
||||
This Agreement constitutes the complete agreement between the parties
|
||||
and supersedes all prior or contemporaneous discussions,
|
||||
representations, and proposals, written or oral, with respect to the
|
||||
subject matters discussed herein, with the exception of the
|
||||
non-disclosure agreement executed by the parties in connection with this
|
||||
Agreement ("Non-Disclosure Agreement"), if any, shall be subject to
|
||||
Section 9. No modification of this Agreement shall be effective unless
|
||||
contained in a writing executed by an authorized representative of each
|
||||
party. No term or condition contained in Licensee's purchase order shall
|
||||
apply unless expressly accepted by Digia in writing. If any provision of
|
||||
the Agreement is found void or unenforceable, the remainder shall remain
|
||||
valid and enforceable according to its terms. If any remedy provided is
|
||||
determined to have failed for its essential purpose, all limitations of
|
||||
liability and exclusions of damages set forth in this Agreement shall
|
||||
remain in effect.
|
||||
|
||||
10.5 Export Control
|
||||
|
||||
Licensee acknowledges that the Licensed Software may be subject to
|
||||
export control restrictions of various countries. Licensee shall fully
|
||||
comply with all applicable export license restrictions and requirements
|
||||
as well as with all laws and regulations relating to the importation of
|
||||
the Licensed Software and shall procure all necessary governmental
|
||||
authorizations, including without limitation, all necessary licenses,
|
||||
approvals, permissions or consents, where necessary for the
|
||||
re-exportation of the Licensed Software.,
|
||||
|
||||
10.6 Governing Law and Legal Venue
|
||||
|
||||
This Agreement shall be construed and interpreted in accordance with the
|
||||
laws of Finland, excluding its choice of law provisions. Any disputes
|
||||
arising out of or relating to this Agreement shall be resolved in
|
||||
arbitration under the Rules of Arbitration of the Chamber of Commerce of
|
||||
Helsinki, Finland. The arbitration tribunal shall consist of one (1), or
|
||||
if either Party so requires, of three (3), arbitrators. The award shall
|
||||
be final and binding and enforceable in any court of competent
|
||||
jurisdiction. The arbitration shall be held in Helsinki, Finland and the
|
||||
process shall be conducted in the English language.
|
||||
|
||||
10.7 No Implied License
|
||||
|
||||
There are no implied licenses or other implied rights granted under this
|
||||
Agreement, and all rights, save for those expressly granted hereunder,
|
||||
shall remain with Digia and its licensors. In addition, no licenses or
|
||||
immunities are granted to the combination of the Licensed Software with
|
||||
any other software or hardware not delivered by Digia under this
|
||||
Agreement.
|
||||
|
||||
10.8 Government End Users
|
||||
|
||||
A "U.S. Government End User" shall mean any agency or entity of the
|
||||
government of the United States. The following shall apply if Licensee
|
||||
is a U.S. Government End User. The Licensed Software is a "commercial
|
||||
item," as that term is defined in 48 C.F.R. 2.101 (Oct. 1995),
|
||||
consisting of "commercial computer software" and "commercial computer
|
||||
software documentation," as such terms are used in 48 C.F.R. 12.212
|
||||
(Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1
|
||||
through 227.7202-4 (June 1995), all U.S. Government End Users acquire
|
||||
the Licensed Software with only those rights set forth herein. The
|
||||
Licensed Software (including related documentation) is provided to U.S.
|
||||
Government End Users: (a) only as a commercial end item; and (b) only
|
||||
pursuant to this Agreement.
|
||||
|
||||
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
136
README
Normal file
136
README
Normal file
@@ -0,0 +1,136 @@
|
||||
HOW TO BUILD QT5
|
||||
================
|
||||
|
||||
|
||||
Synopsis
|
||||
========
|
||||
|
||||
System requirements
|
||||
------------------
|
||||
|
||||
- Perl 5.8 or later
|
||||
- Python 2.7 or later
|
||||
- C++ compiler supporting the C++11 standard
|
||||
|
||||
For other platform specific requirements,
|
||||
please see section "Setting up your machine" on:
|
||||
http://wiki.qt.io/Get_The_Source
|
||||
|
||||
Licensing:
|
||||
----------
|
||||
|
||||
Opensource users:
|
||||
|
||||
<source_package> = qt-everywhere-opensource-src-<version>
|
||||
<license> = -opensource
|
||||
|
||||
Commercial users:
|
||||
|
||||
<source_package> = qt-everywhere-enterprise-src-<version>
|
||||
<license> = -commercial
|
||||
|
||||
Linux, Mac:
|
||||
-----------
|
||||
|
||||
cd <path>/<source_package>
|
||||
./configure -prefix $PWD/qtbase <license> -nomake tests
|
||||
make -j 4
|
||||
|
||||
Windows:
|
||||
--------
|
||||
|
||||
Open a command prompt.
|
||||
Ensure that the following tools can be found in the path:
|
||||
* Supported compiler (Visual Studio 2012 or later,
|
||||
MinGW-builds gcc 4.9 or later)
|
||||
* Perl version 5.12 or later [http://www.activestate.com/activeperl/]
|
||||
* Python version 2.7 or later [http://www.activestate.com/activepython/]
|
||||
* Ruby version 1.9.3 or later [http://rubyinstaller.org/]
|
||||
|
||||
cd <path>\<source_package>
|
||||
configure -prefix %CD%\qtbase <license> -nomake tests
|
||||
nmake // jom // mingw32-make
|
||||
|
||||
To accelerate the bootstrap of qmake with MSVC, it may be useful to pass
|
||||
"-make-tool jom" on the configure command line. If you do not use jom,
|
||||
adding "/MP" to the CL environment variable is a good idea.
|
||||
|
||||
More details follow.
|
||||
|
||||
Build!
|
||||
======
|
||||
|
||||
A typical `configure; make' build process is used.
|
||||
|
||||
Some relevant configure options (see configure -help):
|
||||
|
||||
-release Compile and link Qt with debugging turned off.
|
||||
-debug Compile and link Qt with debugging turned on.
|
||||
-nomake tests Disable building of tests to speed up compilation
|
||||
-nomake examples Disable building of examples to speed up compilation
|
||||
-confirm-license Automatically acknowledge the LGPL 2.1 license.
|
||||
|
||||
Example for a release build:
|
||||
(adjust the `-jN' parameter as appropriate for your system)
|
||||
|
||||
./configure -prefix $PWD/qtbase <license>
|
||||
make -j4
|
||||
|
||||
Example for a developer build:
|
||||
(enables more autotests, builds debug version of libraries, ...)
|
||||
|
||||
./configure -developer-build <license>
|
||||
make -j4
|
||||
|
||||
See output of `./configure -help' for documentation on various options to
|
||||
configure.
|
||||
|
||||
The above examples will build whatever Qt5 modules have been enabled by
|
||||
default in the build system.
|
||||
|
||||
It is possible to build selected modules with their dependencies by doing
|
||||
a `make module-<foo>'. For example, to build only qtdeclarative,
|
||||
and the modules it depends on:
|
||||
|
||||
./configure -prefix $PWD/qtbase <license>
|
||||
make -j4 module-qtdeclarative
|
||||
|
||||
This can save a lot of time if you are only interested in a subset of Qt5.
|
||||
|
||||
|
||||
Hints
|
||||
=====
|
||||
|
||||
The submodule repository qtrepotools contains useful scripts for
|
||||
developers and release engineers. Consider adding qtrepotools/bin
|
||||
to your PATH environment variable to access them.
|
||||
|
||||
The qt5_tool in qtrepotools has some more features which may be of interest.
|
||||
Try `qt5_tool --help'.
|
||||
|
||||
|
||||
Building Qt5 from git
|
||||
=====================
|
||||
See http://wiki.qt.io/Building_Qt_5_from_Git and README.git
|
||||
for more information.
|
||||
See http://wiki.qt.io/Qt_5 for the reference platforms.
|
||||
|
||||
|
||||
Documentation
|
||||
=============
|
||||
|
||||
After configuring and compiling Qt, building the documentation is possible by running
|
||||
"make docs".
|
||||
|
||||
After having built the documentation, you need to install it with the following
|
||||
command:
|
||||
|
||||
make install_docs
|
||||
|
||||
The documentation is installed in the path set to $QT_INSTALL_DOCS.
|
||||
Running "qmake -query" will list the value of QT_INSTALL_DOCS.
|
||||
|
||||
Information about Qt 5's documentation is located in qtbase/doc/README
|
||||
or in the following page: http://wiki.qt.io/Qt5DocumentationProject
|
||||
|
||||
Note: Building the documentation is only tested on desktop platforms.
|
||||
131
README.md
131
README.md
@@ -1,131 +0,0 @@
|
||||
HOW TO BUILD Qt6
|
||||
================
|
||||
|
||||
|
||||
Synopsis
|
||||
========
|
||||
|
||||
System requirements
|
||||
------------------
|
||||
|
||||
* CMake 3.18 or later
|
||||
* Perl 5.8 or later
|
||||
* Python 2.7 or later
|
||||
* C++ compiler supporting the C++17 standard
|
||||
|
||||
It's recommended to have ninja 1.8 or later installed.
|
||||
|
||||
For other platform specific requirements,
|
||||
please see section "Setting up your machine" on:
|
||||
http://wiki.qt.io/Get_The_Source
|
||||
|
||||
Linux, Mac:
|
||||
-----------
|
||||
|
||||
````
|
||||
cd <path>/<source_package>
|
||||
./configure -prefix $PWD/qtbase
|
||||
cmake --build .
|
||||
````
|
||||
|
||||
Windows:
|
||||
--------
|
||||
|
||||
1. Open a command prompt.
|
||||
2. Ensure that the following tools can be found in the path:
|
||||
* Supported compiler (Visual Studio 2019 or later, or MinGW-builds gcc 8.1 or later)
|
||||
* Perl version 5.12 or later [http://www.activestate.com/activeperl/]
|
||||
* Python version 2.7 or later [http://www.activestate.com/activepython/]
|
||||
* Ruby version 1.9.3 or later [http://rubyinstaller.org/]
|
||||
|
||||
````
|
||||
cd <path>\<source_package>
|
||||
configure -prefix %CD%\qtbase
|
||||
cmake --build .
|
||||
````
|
||||
|
||||
More details follow.
|
||||
|
||||
Build!
|
||||
======
|
||||
|
||||
Qt is built with CMake, and a typical
|
||||
`configure && cmake --build .` build process is used.
|
||||
|
||||
If ninja is installed, it is automatically chosen as CMake generator.
|
||||
|
||||
Some relevant configure options (see configure -help):
|
||||
|
||||
* `-release` Compile and link Qt with debugging turned off.
|
||||
* `-debug` Compile and link Qt with debugging turned on.
|
||||
|
||||
Example for a release build:
|
||||
|
||||
````
|
||||
./configure -prefix $PWD/qtbase
|
||||
cmake --build .
|
||||
````
|
||||
|
||||
Example for a developer build:
|
||||
(enables more autotests, builds debug version of libraries, ...)
|
||||
|
||||
````
|
||||
./configure -developer-build
|
||||
cmake --build .
|
||||
````
|
||||
|
||||
See output of `./configure -help` for documentation on various options to
|
||||
configure.
|
||||
|
||||
The above examples will build whatever Qt modules have been enabled
|
||||
by default in the build system.
|
||||
|
||||
It is possible to build selected repositories with their dependencies by doing
|
||||
a `ninja <repo-name>/all'. For example, to build only qtdeclarative,
|
||||
and the modules it depends on:
|
||||
|
||||
````
|
||||
./configure
|
||||
ninja qtdeclarative/all
|
||||
````
|
||||
|
||||
This can save a lot of time if you are only interested in a subset of Qt.
|
||||
|
||||
|
||||
Hints
|
||||
=====
|
||||
|
||||
The submodule repository `qtrepotools` contains useful scripts for
|
||||
developers and release engineers. Consider adding qtrepotools/bin
|
||||
to your `PATH` environment variable to access them.
|
||||
|
||||
|
||||
Building Qt from git
|
||||
=====================
|
||||
See http://wiki.qt.io/Building_Qt_6_from_Git and README.git
|
||||
for more information.
|
||||
See http://wiki.qt.io/Qt_6 for the reference platforms.
|
||||
|
||||
|
||||
Documentation
|
||||
=============
|
||||
|
||||
After configuring and compiling Qt, building the documentation is possible by running
|
||||
|
||||
```
|
||||
cmake --build . --target docs
|
||||
```
|
||||
|
||||
After having built the documentation, you need to install it with the following
|
||||
command:
|
||||
|
||||
```
|
||||
cmake --build . --target install_docs
|
||||
```
|
||||
|
||||
The documentation is installed in the path specified with the
|
||||
configure argument `-docdir`.
|
||||
|
||||
Information about Qt's documentation is located in qtbase/doc/README
|
||||
|
||||
Note: Building the documentation is only tested on desktop platforms.
|
||||
@@ -1,85 +0,0 @@
|
||||
# Copyright (C) 2016 Olivier Goffart <ogoffart@woboq.com>
|
||||
#
|
||||
# You may use this file under the terms of the 3-clause BSD license.
|
||||
# See the file LICENSE from this package for details.
|
||||
|
||||
# This is the clang-format configuration style to be used by Qt,
|
||||
# based on the rules from https://wiki.qt.io/Qt_Coding_Style and
|
||||
# https://wiki.qt.io/Coding_Conventions
|
||||
|
||||
---
|
||||
# Webkit style was loosely based on the Qt style
|
||||
BasedOnStyle: WebKit
|
||||
|
||||
Standard: Cpp11
|
||||
|
||||
# Column width is limited to 100 in accordance with Qt Coding Style.
|
||||
# https://wiki.qt.io/Qt_Coding_Style
|
||||
# Note that this may be changed at some point in the future.
|
||||
ColumnLimit: 100
|
||||
# How much weight do extra characters after the line length limit have.
|
||||
# PenaltyExcessCharacter: 4
|
||||
|
||||
# Disable reflow of qdoc comments: indentation rules are different.
|
||||
# Translation comments are also excluded.
|
||||
CommentPragmas: "^!|^:"
|
||||
|
||||
# We want a space between the type and the star for pointer types.
|
||||
PointerBindsToType: false
|
||||
|
||||
# We use template< without space.
|
||||
SpaceAfterTemplateKeyword: false
|
||||
|
||||
# We want to break before the operators, but not before a '='.
|
||||
BreakBeforeBinaryOperators: NonAssignment
|
||||
|
||||
# Braces are usually attached, but not after functions or class declarations.
|
||||
BreakBeforeBraces: Custom
|
||||
BraceWrapping:
|
||||
AfterClass: true
|
||||
AfterControlStatement: false
|
||||
AfterEnum: false
|
||||
AfterFunction: true
|
||||
AfterNamespace: false
|
||||
AfterObjCDeclaration: false
|
||||
AfterStruct: true
|
||||
AfterUnion: false
|
||||
BeforeCatch: false
|
||||
BeforeElse: false
|
||||
IndentBraces: false
|
||||
|
||||
# When constructor initializers do not fit on one line, put them each on a new line.
|
||||
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
||||
# Indent initializers by 4 spaces
|
||||
ConstructorInitializerIndentWidth: 4
|
||||
|
||||
# Indent width for line continuations.
|
||||
ContinuationIndentWidth: 8
|
||||
|
||||
# No indentation for namespaces.
|
||||
NamespaceIndentation: None
|
||||
|
||||
# Allow indentation for preprocessing directives (if/ifdef/endif). https://reviews.llvm.org/rL312125
|
||||
IndentPPDirectives: AfterHash
|
||||
|
||||
# Horizontally align arguments after an open bracket.
|
||||
# The coding style does not specify the following, but this is what gives
|
||||
# results closest to the existing code.
|
||||
AlignAfterOpenBracket: true
|
||||
AlwaysBreakTemplateDeclarations: true
|
||||
|
||||
# Ideally we should also allow less short function in a single line, but
|
||||
# clang-format does not handle that.
|
||||
AllowShortFunctionsOnASingleLine: Inline
|
||||
|
||||
# The coding style specifies some include order categories, but also tells to
|
||||
# separate categories with an empty line. It does not specify the order within
|
||||
# the categories. Since the SortInclude feature of clang-format does not
|
||||
# re-order includes separated by empty lines, the feature is not used.
|
||||
SortIncludes: false
|
||||
|
||||
# macros for which the opening brace stays attached.
|
||||
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH, forever, Q_FOREVER, QBENCHMARK, QBENCHMARK_ONCE ]
|
||||
|
||||
# Break constructor initializers before the colon and after the commas.
|
||||
BreakConstructorInitializers: BeforeColon
|
||||
@@ -1,73 +0,0 @@
|
||||
#.rst:
|
||||
# ECMOptionalAddSubdirectory
|
||||
# --------------------------
|
||||
#
|
||||
# Make subdirectories optional.
|
||||
#
|
||||
# ::
|
||||
#
|
||||
# ecm_optional_add_subdirectory(<dir>)
|
||||
#
|
||||
# This behaves like add_subdirectory(), except that it does not complain if the
|
||||
# directory does not exist. Additionally, if the directory does exist, it
|
||||
# creates an option to allow the user to skip it. The option will be named
|
||||
# BUILD_<dir>.
|
||||
#
|
||||
# This is useful for "meta-projects" that combine several mostly-independent
|
||||
# sub-projects.
|
||||
#
|
||||
# If the CMake variable DISABLE_ALL_OPTIONAL_SUBDIRECTORIES is set to TRUE for
|
||||
# the first CMake run on the project, all optional subdirectories will be
|
||||
# disabled by default (but can of course be enabled via the respective options).
|
||||
# For example, the following will disable all optional subdirectories except the
|
||||
# one named "foo":
|
||||
#
|
||||
# .. code-block:: sh
|
||||
#
|
||||
# cmake -DDISABLE_ALL_OPTIONAL_SUBDIRECTORIES=TRUE -DBUILD_foo=TRUE myproject
|
||||
#
|
||||
# Since pre-1.0.0.
|
||||
|
||||
#=============================================================================
|
||||
# Copyright 2007 Alexander Neundorf <neundorf@kde.org>
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
#
|
||||
# 1. Redistributions of source code must retain the copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# 2. Redistributions in binary form must reproduce the copyright
|
||||
# notice, this list of conditions and the following disclaimer in the
|
||||
# documentation and/or other materials provided with the distribution.
|
||||
# 3. The name of the author may not be used to endorse or promote products
|
||||
# derived from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
function(ECM_OPTIONAL_ADD_SUBDIRECTORY _dir)
|
||||
get_filename_component(_fullPath ${_dir} ABSOLUTE)
|
||||
if(EXISTS ${_fullPath}/CMakeLists.txt)
|
||||
if(DISABLE_ALL_OPTIONAL_SUBDIRECTORIES)
|
||||
set(_DEFAULT_OPTION_VALUE FALSE)
|
||||
else()
|
||||
set(_DEFAULT_OPTION_VALUE TRUE)
|
||||
endif()
|
||||
if(DISABLE_ALL_OPTIONAL_SUBDIRS AND NOT DEFINED BUILD_${_dir})
|
||||
set(_DEFAULT_OPTION_VALUE FALSE)
|
||||
endif()
|
||||
option(BUILD_${_dir} "Build directory ${_dir}" ${_DEFAULT_OPTION_VALUE})
|
||||
if(BUILD_${_dir})
|
||||
add_subdirectory(${_dir})
|
||||
endif()
|
||||
endif()
|
||||
endfunction()
|
||||
@@ -1,3 +0,0 @@
|
||||
include(cmake/QtTopLevelHelpers.cmake)
|
||||
|
||||
qt_internal_sync_to(${SYNC_TO_MODULE} ${SYNC_TO_BRANCH})
|
||||
@@ -1,327 +0,0 @@
|
||||
# Populates $out_module_list with all subdirectories that have a CMakeLists.txt file
|
||||
function(qt_internal_find_modules out_module_list)
|
||||
set(module_list "")
|
||||
file(GLOB directories LIST_DIRECTORIES true RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" *)
|
||||
foreach(directory IN LISTS directories)
|
||||
if(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/${directory}"
|
||||
AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${directory}/CMakeLists.txt")
|
||||
list(APPEND module_list "${directory}")
|
||||
endif()
|
||||
endforeach()
|
||||
message(DEBUG "qt_internal_find_modules: ${module_list}")
|
||||
set(${out_module_list} "${module_list}" PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
||||
# poor man's yaml parser, populating $out_dependencies with all dependencies
|
||||
# in the $depends_file
|
||||
# Each entry will be in the format dependency/sha1
|
||||
function(qt_internal_parse_dependencies depends_file out_dependencies)
|
||||
file(STRINGS "${depends_file}" lines)
|
||||
set(eof_marker "---EOF---")
|
||||
list(APPEND lines "${eof_marker}")
|
||||
set(required_default TRUE)
|
||||
set(dependencies "")
|
||||
set(dependency "")
|
||||
set(revision "")
|
||||
set(required "${required_default}")
|
||||
foreach(line IN LISTS lines)
|
||||
if(line MATCHES "^ (.+):$" OR line STREQUAL "${eof_marker}")
|
||||
# Found a repo entry or end of file. Add the last seen dependency.
|
||||
if(NOT dependency STREQUAL "")
|
||||
if(revision STREQUAL "")
|
||||
message(FATAL_ERROR "Format error in ${depends_file} - ${dependency} does not specify revision!")
|
||||
endif()
|
||||
list(APPEND dependencies "${dependency}/${revision}/${required}")
|
||||
endif()
|
||||
# Remember the current dependency
|
||||
if(NOT line STREQUAL "${eof_marker}")
|
||||
set(dependency "${CMAKE_MATCH_1}")
|
||||
set(revision "")
|
||||
set(required "${required_default}")
|
||||
# dependencies are specified with relative path to this module
|
||||
string(REPLACE "../" "" dependency ${dependency})
|
||||
endif()
|
||||
elseif(line MATCHES "^ ref: (.+)$")
|
||||
set(revision "${CMAKE_MATCH_1}")
|
||||
elseif(line MATCHES "^ required: (.+)$")
|
||||
string(TOUPPER "${CMAKE_MATCH_1}" required)
|
||||
endif()
|
||||
endforeach()
|
||||
message(DEBUG "qt_internal_parse_dependencies for ${depends_file}: ${dependencies} ${revisions}")
|
||||
set(${out_dependencies} "${dependencies}" PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
||||
# Load $module and populate $out_ordered with the submodules based on their dependencies
|
||||
# $ordered carries already sorted dependencies; $out_has_dependencies is left empty
|
||||
# if there are no dependencies, otherwise set to 1; Save list of dependencies for $module into
|
||||
# $out_module_dependencies. List may contain duplicates, since function checks max depth
|
||||
# dependencies.
|
||||
# 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
|
||||
out_module_dependencies out_revisions)
|
||||
set(depends_file "${CMAKE_CURRENT_SOURCE_DIR}/${module}/dependencies.yaml")
|
||||
if(NOT EXISTS "${depends_file}")
|
||||
set(${out_has_dependencies} "" PARENT_SCOPE)
|
||||
return()
|
||||
endif()
|
||||
set(${out_has_dependencies} "1" PARENT_SCOPE)
|
||||
set(dependencies "")
|
||||
qt_internal_parse_dependencies("${depends_file}" dependencies)
|
||||
# module hasn't been seen yet, append it
|
||||
list(FIND ordered "${module}" pindex)
|
||||
if (pindex EQUAL -1)
|
||||
list(LENGTH ordered pindex)
|
||||
list(APPEND ordered "${module}")
|
||||
list(APPEND revisions "HEAD")
|
||||
endif()
|
||||
set(modules_dependencies "")
|
||||
foreach(dependency IN LISTS dependencies)
|
||||
if(dependency MATCHES "(.*)/([^/]+)/([^/]+)")
|
||||
set(dependency "${CMAKE_MATCH_1}")
|
||||
set(revision "${CMAKE_MATCH_2}")
|
||||
set(required "${CMAKE_MATCH_3}")
|
||||
if(required)
|
||||
set_property(GLOBAL APPEND PROPERTY QT_REQUIRED_DEPS_FOR_${module} ${dependency})
|
||||
endif()
|
||||
else()
|
||||
message(FATAL_ERROR "Internal Error: wrong dependency format ${dependency}")
|
||||
endif()
|
||||
list(APPEND modules_dependencies "${dependency}")
|
||||
list(FIND ordered "${dependency}" dindex)
|
||||
if (dindex EQUAL -1)
|
||||
# dependency hasnt' been seen yet - load it
|
||||
list(INSERT ordered ${pindex} "${dependency}")
|
||||
list(INSERT revisions ${pindex} "${revision}")
|
||||
qt_internal_add_module_dependencies(${dependency} "${ordered}" ordered has_dependency
|
||||
"${out_module_dependencies}" revisions)
|
||||
elseif(dindex GREATER pindex)
|
||||
# otherwise, make sure it is before module
|
||||
list(REMOVE_AT ordered ${dindex})
|
||||
list(REMOVE_AT revisions ${dindex})
|
||||
list(INSERT ordered ${pindex} "${dependency}")
|
||||
list(INSERT revisions ${pindex} "${revision}")
|
||||
endif()
|
||||
endforeach()
|
||||
set(${out_ordered} "${ordered}" PARENT_SCOPE)
|
||||
set(${out_module_dependencies} ${${out_module_dependencies}} ${modules_dependencies} PARENT_SCOPE)
|
||||
set(${out_revisions} "${revisions}" PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
||||
# populates $out_all_ordered with the sequence of the modules that need
|
||||
# to be built in order to build $modules; dependencies for each module are populated
|
||||
# in variables with specified in $dependencies_map_prefix prefix
|
||||
function(qt_internal_sort_module_dependencies modules out_all_ordered dependencies_map_prefix)
|
||||
set(ordered "")
|
||||
foreach(module IN LISTS modules)
|
||||
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()
|
||||
if (no_dependencies)
|
||||
list(APPEND ordered "${no_dependencies}")
|
||||
endif()
|
||||
message(DEBUG "qt_internal_parse_dependencies sorted ${modules}: ${ordered}")
|
||||
set(${out_all_ordered} "${ordered}" PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
||||
# does what it says, but also updates submodules
|
||||
function(qt_internal_checkout module revision)
|
||||
set(swallow_output "") # unless VERBOSE, eat git output, show it in case of error
|
||||
if (NOT VERBOSE)
|
||||
list(APPEND swallow_output "OUTPUT_VARIABLE" "git_output" "ERROR_VARIABLE" "git_output")
|
||||
endif()
|
||||
message(NOTICE "Checking '${module}' out to revision '${revision}'")
|
||||
execute_process(
|
||||
COMMAND "git" "checkout" "${revision}"
|
||||
WORKING_DIRECTORY "./${module}"
|
||||
RESULT_VARIABLE git_result
|
||||
${swallow_output}
|
||||
)
|
||||
if (git_result EQUAL 128)
|
||||
message(WARNING "${git_output}, trying detached checkout")
|
||||
execute_process(
|
||||
COMMAND "git" "checkout" "--detach" "${revision}"
|
||||
WORKING_DIRECTORY "./${module}"
|
||||
RESULT_VARIABLE git_result
|
||||
${swallow_output}
|
||||
)
|
||||
endif()
|
||||
if (git_result)
|
||||
message(FATAL_ERROR "Failed to check '${module}' out to '${revision}': ${git_output}")
|
||||
endif()
|
||||
execute_process(
|
||||
COMMAND "git" "submodule" "update"
|
||||
WORKING_DIRECTORY "./${module}"
|
||||
RESULT_VARIABLE git_result
|
||||
OUTPUT_VARIABLE git_stdout
|
||||
ERROR_VARIABLE git_stderr
|
||||
)
|
||||
endfunction()
|
||||
|
||||
# clones or creates a worktree for $dependency, using the source of $dependent
|
||||
function(qt_internal_get_dependency dependent dependency)
|
||||
set(swallow_output "") # unless VERBOSE, eat git output, show it in case of error
|
||||
if (NOT VERBOSE)
|
||||
list(APPEND swallow_output "OUTPUT_VARIABLE" "git_output" "ERROR_VARIABLE" "git_output")
|
||||
endif()
|
||||
|
||||
set(gitdir "")
|
||||
set(remote "")
|
||||
|
||||
# try to read the worktree source
|
||||
execute_process(
|
||||
COMMAND "git" "rev-parse" "--git-dir"
|
||||
WORKING_DIRECTORY "./${dependent}"
|
||||
RESULT_VARIABLE git_result
|
||||
OUTPUT_VARIABLE git_stdout
|
||||
ERROR_VARIABLE git_stderr
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
string(FIND "${git_stdout}" "${module}" index)
|
||||
string(SUBSTRING "${git_stdout}" 0 ${index} gitdir)
|
||||
string(FIND "${gitdir}" ".git/modules" index)
|
||||
if(index GREATER -1) # submodules have not been absorbed
|
||||
string(SUBSTRING "${gitdir}" 0 ${index} gitdir)
|
||||
endif()
|
||||
message(DEBUG "Will look for clones in ${gitdir}")
|
||||
|
||||
execute_process(
|
||||
COMMAND "git" "remote" "get-url" "origin"
|
||||
WORKING_DIRECTORY "./${dependent}"
|
||||
RESULT_VARIABLE git_result
|
||||
OUTPUT_VARIABLE git_stdout
|
||||
ERROR_VARIABLE git_stderr
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
string(FIND "${git_stdout}" "${dependent}.git" index)
|
||||
string(SUBSTRING "${git_stdout}" 0 ${index} remote)
|
||||
message(DEBUG "Will clone from ${remote}")
|
||||
|
||||
if(EXISTS "${gitdir}.gitmodules" AND NOT EXISTS "${gitdir}${dependency}/.git")
|
||||
# super repo exists, but the submodule we need does not - try to initialize
|
||||
message(NOTICE "Initializing submodule '${dependency}' from ${gitdir}")
|
||||
execute_process(
|
||||
COMMAND "git" "submodule" "update" "--init" "${dependency}"
|
||||
WORKING_DIRECTORY "${gitdir}"
|
||||
RESULT_VARIABLE git_result
|
||||
${swallow_output}
|
||||
)
|
||||
if (git_result)
|
||||
# ignore errors, fall back to an independent clone instead
|
||||
message(WARNING "Failed to initialize submodule '${dependency}' from ${gitdir}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(EXISTS "${gitdir}${dependency}")
|
||||
# for the module we want, there seems to be a clone parallel to what we have
|
||||
message(NOTICE "Adding worktree for ${dependency} from ${gitdir}${dependency}")
|
||||
execute_process(
|
||||
COMMAND "git" "worktree" "add" "--detach" "${CMAKE_CURRENT_SOURCE_DIR}/${dependency}"
|
||||
WORKING_DIRECTORY "${gitdir}/${dependency}"
|
||||
RESULT_VARIABLE git_result
|
||||
${swallow_output}
|
||||
)
|
||||
if (git_result)
|
||||
message(FATAL_ERROR "Failed to check '${module}' out to '${revision}': ${git_output}")
|
||||
endif()
|
||||
else()
|
||||
# we don't find the existing clone, so clone from the same remote
|
||||
message(NOTICE "Cloning ${dependency} from ${remote}${dependency}.git")
|
||||
execute_process(
|
||||
COMMAND "git" "clone" "${remote}${dependency}.git"
|
||||
WORKING_DIRECTORY "."
|
||||
RESULT_VARIABLE git_result
|
||||
${swallow_output}
|
||||
)
|
||||
if (git_result)
|
||||
message(FATAL_ERROR "Failed to check '${module}' out to '${revision}': ${git_output}")
|
||||
endif()
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
# evaluates the dependencies for $module, and checks all dependencies
|
||||
# out so that it is a consistent set
|
||||
function(qt_internal_sync_to module)
|
||||
if(ARGN)
|
||||
set(revision "${ARGV1}")
|
||||
# special casing "." as the target module - checkout all out to $revision
|
||||
if("${module}" STREQUAL ".")
|
||||
qt_internal_find_modules(modules)
|
||||
foreach(module IN LISTS modules)
|
||||
qt_internal_checkout("${module}" "${revision}")
|
||||
endforeach()
|
||||
return()
|
||||
endif()
|
||||
else()
|
||||
set(revision "HEAD")
|
||||
endif()
|
||||
qt_internal_checkout("${module}" "${revision}")
|
||||
|
||||
set(revision "")
|
||||
set(checkedout "1")
|
||||
# Load all dependencies for $module, then iterate over the dependencies in reverse order,
|
||||
# and check out the first that isn't already at the required revision.
|
||||
# Repeat everything (we need to reload dependencies after each checkout) until no more checkouts
|
||||
# are done.
|
||||
while(${checkedout})
|
||||
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} revisions : ${revisions}")
|
||||
|
||||
if (NOT has_dependencies)
|
||||
message(NOTICE "Module ${module} has no dependencies")
|
||||
return()
|
||||
endif()
|
||||
|
||||
list(LENGTH dependencies count)
|
||||
math(EXPR count "${count} - 1")
|
||||
set(checkedout 0)
|
||||
foreach(i RANGE ${count} 0 -1 )
|
||||
list(GET dependencies ${i} dependency)
|
||||
list(GET revisions ${i} revision)
|
||||
if ("${revision}" STREQUAL "HEAD")
|
||||
message(DEBUG "Not changing checked out revision of ${dependency}")
|
||||
continue()
|
||||
endif()
|
||||
|
||||
if(NOT EXISTS "./${dependency}")
|
||||
message(DEBUG "No worktree for '${dependency}' found in '${CMAKE_CURRENT_SOURCE_DIR}'")
|
||||
qt_internal_get_dependency("${module}" "${dependency}")
|
||||
endif()
|
||||
|
||||
execute_process(
|
||||
COMMAND "git" "rev-parse" "HEAD"
|
||||
WORKING_DIRECTORY "./${dependency}"
|
||||
RESULT_VARIABLE git_result
|
||||
OUTPUT_VARIABLE git_stdout
|
||||
ERROR_VARIABLE git_stderr
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
if (git_result)
|
||||
message(WARNING "${git_stdout}")
|
||||
message(FATAL_ERROR "Failed to get current HEAD of '${dependency}': ${git_stderr}")
|
||||
endif()
|
||||
if ("${git_stdout}" STREQUAL "${revision}")
|
||||
continue()
|
||||
endif()
|
||||
|
||||
qt_internal_checkout("${dependency}" "${revision}")
|
||||
set(checkedout 1)
|
||||
break()
|
||||
endforeach()
|
||||
endwhile()
|
||||
endfunction()
|
||||
@@ -1,61 +0,0 @@
|
||||
version: 2
|
||||
accept_configuration:
|
||||
condition: property
|
||||
property: features
|
||||
not_contains_value: Disable
|
||||
|
||||
instructions:
|
||||
Build:
|
||||
- !include "{{qt/qtbase}}/prepare_building_env.yaml"
|
||||
- type: MakeDirectory
|
||||
directory: .git
|
||||
- type: SetBuildDirectory
|
||||
directory: "{{.SourceDir}}"
|
||||
- type: ChangeDirectory
|
||||
directory: "{{.BuildDir}}"
|
||||
- type: ExecuteCommand
|
||||
command: "{{.Env.ENV_PREFIX}} cmake {{.Env.CONFIGURE_ARGS}} -DCMAKE_INSTALL_PREFIX:PATH={{.InstallDir}} -DQT_BUILD_TESTS=OFF {{.SourceDir}}"
|
||||
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution
|
||||
maxTimeInSeconds: 6000
|
||||
maxTimeBetweenOutput: 1200
|
||||
userMessageOnFailure: >
|
||||
Failed to call cmake.
|
||||
|
||||
- type: Group
|
||||
instructions:
|
||||
- type: ExecuteCommand
|
||||
command: "{{.Env.ENV_PREFIX}} cmake --build . --target qtbase/src/plugins/platforms/all qtbase/src/plugins/sqldrivers/all qttools/all --parallel -v"
|
||||
maxTimeInSeconds: 12000
|
||||
maxTimeBetweenOutput: 1200
|
||||
userMessageOnFailure: >
|
||||
Failed to build sources.
|
||||
- type: ExecuteCommand
|
||||
command: "{{.Env.ENV_PREFIX}} cmake --build . --target docs -v"
|
||||
maxTimeInSeconds: 12000
|
||||
maxTimeBetweenOutput: 1200
|
||||
userMessageOnFailure: >
|
||||
Failed to generate docs.
|
||||
- type: ExecuteCommand
|
||||
command: "cp -r {{.BuildDir}}/qtbase/doc/config {{.BuildDir}}/doc"
|
||||
maxTimeInSeconds: 12000
|
||||
maxTimeBetweenOutput: 1200
|
||||
userMessageOnFailure: "Failed to copy qtbase/doc/config to documentation directory."
|
||||
- type: ExecuteCommand
|
||||
command: "cp -r {{.BuildDir}}/qtbase/doc/global {{.BuildDir}}/doc"
|
||||
maxTimeInSeconds: 12000
|
||||
maxTimeBetweenOutput: 1200
|
||||
userMessageOnFailure: "Failed to copy qtbase/doc/global to documentation directory."
|
||||
- type: UploadArtifact
|
||||
archiveDirectory: '{{.BuildDir}}/doc'
|
||||
transferType: UploadModuleDocumentation
|
||||
maxTimeInSeconds: 1800
|
||||
maxTimeBetweenOutput: 1800
|
||||
enable_if:
|
||||
condition: property
|
||||
property: features
|
||||
contains_value: "Documentation"
|
||||
|
||||
Test:
|
||||
- type: EnvironmentVariable
|
||||
variableName: Dummy
|
||||
variableValue: dummy
|
||||
@@ -1,177 +0,0 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms_qemu.yaml,
|
||||
cmake_platforms_target_android_host_linux.yaml,
|
||||
cmake_platforms_target_android_host_macos.yaml,
|
||||
cmake_platforms_target_android_host_windows.yaml,
|
||||
cmake_platforms_wasm.yaml,
|
||||
macos.yaml
|
||||
]
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache']
|
||||
Configure arguments: '-DCMAKE_BUILD_TYPE=RelWithDebInfo -DFEATURE_widgets=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: ['NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'DisableTests']
|
||||
Configure arguments: '-DFEATURE_developer_build=ON -DFEATURE_gui=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: [
|
||||
'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'DisableTests']
|
||||
Configure arguments: '-DFEATURE_developer_build=ON -DINPUT_opengl=no -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: [
|
||||
'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'Documentation']
|
||||
Configure arguments: '-DQT_BUILD_EXAMPLES=ON -DFEATURE_developer_build=ON -DWARNINGS_ARE_ERRORS=OFF -DQT_LIBINFIX=TestInfix -DQT_NAMESPACE=TestNamespace -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: ['NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Id: 'Ubuntu-20.04-host'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache']
|
||||
Configure arguments: '-DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFEATURE_separate_debug_info=ON -DFEATURE_system_jpeg=OFF -DFEATURE_system_png=OFF -DFEATURE_system_pcre2=OFF -DFEATURE_system_harfbuzz=OFF -DFEATURE_system_doubleconversion=OFF -DFEATURE_libudev=OFF -DCMAKE_AUTOGEN_VERBOSE=ON -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: ['NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Id: 'OpenSUSE-15.3-host'
|
||||
Template: 'qtci-linux-openSUSE-15.3-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache']
|
||||
Configure arguments: '-DQT_BUILD_EXAMPLES=OFF -DFEATURE_developer_build=ON -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: ['NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-linux-openSUSE-15.3-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache']
|
||||
Configure arguments: '-DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFEATURE_headersclean=ON -DFEATURE_separate_debug_info=ON -DFEATURE_system_jpeg=OFF -DFEATURE_system_png=OFF -DFEATURE_system_pcre2=OFF -DFEATURE_system_harfbuzz=OFF -DFEATURE_system_doubleconversion=OFF -DFEATURE_libudev=OFF -DINPUT_bundled_xcb_xinput=yes -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DOpenGL_GL_PREFERENCE=LEGACY'
|
||||
Environment variables: ['NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-linux-SLES-15_SP2-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'DisableTests']
|
||||
Configure arguments: '-DQT_BUILD_EXAMPLES=OFF -DBUILD_SHARED_LIBS=OFF -DFEATURE_sql_mysql=OFF -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}} -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: ['NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Packaging', 'Sccache', "DebugAndRelease"]
|
||||
Configure arguments: '-G"Ninja Multi-Config" -DCMAKE_CONFIGURATION_TYPES="RelWithDebInfo;Debug" -DFEATURE_msvc_obj_debug_info=ON -DFEATURE_headersclean=ON -DQT_BUILD_EXAMPLES=OFF -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DFEATURE_system_zlib=OFF -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: [
|
||||
'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}'
|
||||
]
|
||||
-
|
||||
Id: 'Windows10-MSVC2019-x64-host'
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Sccache', "DebugAndRelease"]
|
||||
Configure arguments: '-G"Ninja Multi-Config" -DQT_BUILD_EXAMPLES=ON -DFEATURE_developer_build=ON -DCMAKE_CONFIGURATION_TYPES="RelWithDebInfo;Debug" -DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DFEATURE_system_zlib=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: [
|
||||
'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Target arch: 'arm64'
|
||||
Features: ['Sccache', 'DisableTests', 'TargetBuildOnly', 'Packaging']
|
||||
Platform dependency: 'Windows10-MSVC2019-x64-host'
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS={{.Env.TARGET_CONFIGURE_ARGS}} -DQT_QMAKE_TARGET_MKSPEC=win32-arm64-msvc -G"Ninja Multi-Config" -DCMAKE_CONFIGURATION_TYPES="RelWithDebInfo;Debug" -DFEATURE_msvc_obj_debug_info=ON -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Id: 'RHEL-8.2-host'
|
||||
Template: 'qtci-linux-RHEL-8.2-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'Sccache']
|
||||
Configure arguments: '-DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFEATURE_headersclean=ON -DFEATURE_separate_debug_info=ON -DFEATURE_system_jpeg=OFF -DFEATURE_system_png=OFF -DFEATURE_system_pcre2=OFF -DFEATURE_system_harfbuzz=OFF -DFEATURE_system_doubleconversion=OFF -DFEATURE_libudev=OFF -DINPUT_bundled_xcb_xinput=yes -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DOpenGL_GL_PREFERENCE=LEGACY'
|
||||
Environment variables: ['NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Target os: 'IOS_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-latest-xcode-universal-packaging-build'
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests']
|
||||
Environment variables: ['TARGET_CONFIGURE_ARGS=-G"Ninja Multi-Config" -DCMAKE_CONFIGURATION_TYPES="Release;Debug" -DQT_BUILD_EXAMPLES=OFF -DCMAKE_SYSTEM_NAME=iOS', 'NON_QTBASE_TARGET_CONFIGURE_ARGS=']
|
||||
-
|
||||
Id: 'Windows10-Mingw8-x64-host'
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'Mingw'
|
||||
Features: ['Packaging', 'Sccache']
|
||||
Configure arguments: '-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFEATURE_separate_debug_info=ON -DQT_BUILD_EXAMPLES=OFF -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DFEATURE_system_zlib=OFF -DFEATURE_system_tiff=OFF -DFEATURE_system_freetype=OFF -DFEATURE_system_jpeg=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..'
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW810}}\bin;{{.Env.Path}}',
|
||||
'NON_QTBASE_CONFIGURE_ARGS=-DFEATURE_system_tiff=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}'
|
||||
]
|
||||
-
|
||||
Id: 'Windows10-LLVM-x64-host'
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache']
|
||||
Configure arguments: '-GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFEATURE_separate_debug_info=ON -DBUILD_EXAMPLES=OFF -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DFEATURE_system_zlib=OFF -DFEATURE_system_tiff=OFF -DFEATURE_system_freetype=OFF -DFEATURE_system_jpeg=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..'
|
||||
Environment variables: ['Path=C:\llvm-mingw\bin;{{.Env.Path}}', 'NON_QTBASE_CONFIGURE_ARGS=-DFEATURE_system_tiff=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache', 'LLVM_INSTALL_DIR=C:\llvm-mingw']
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'Mingw'
|
||||
Environment variables: ['PATH=C:\MINGW810\mingw64\bin;$PATH']
|
||||
Features: ['Sccache']
|
||||
Configure arguments: '-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DFEATURE_developer_build=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFEATURE_separate_debug_info=ON -DBUILD_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 -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: ['Path={{.Env.MINGW810}}\bin;{{.Env.Path}}', 'NON_QTBASE_CONFIGURE_ARGS=-DFEATURE_system_tiff=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache','LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}']
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Target os: 'QNX_710'
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'QCC'
|
||||
Platform dependency: 'Ubuntu-20.04-host'
|
||||
Features: ['Sccache', 'DisableTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-DFEATURE_dbus=OFF -DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-x8664.cmake',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=']
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Target os: 'QNX_710'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'QCC'
|
||||
Platform dependency: 'Ubuntu-20.04-host'
|
||||
Features: ['Sccache', 'DisableTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-DFEATURE_dbus=OFF -DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-aarch64le.cmake',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=']
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Target os: 'QNX_710'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'QCC'
|
||||
Platform dependency: 'Ubuntu-20.04-host'
|
||||
Features: ['Sccache', 'DisableTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-DFEATURE_dbus=OFF -DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-armv7le.cmake',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=']
|
||||
@@ -1,50 +0,0 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Target os: 'QEMU'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'Ubuntu-20.04-host'
|
||||
Features: ['Sccache']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-DQT_BUILD_EXAMPLES=ON -DFEATURE_developer_build=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON -DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARMV7_TOOLCHAIN_FILE}} -DQT_FEATURE_system_harfbuzz=OFF -DQT_QMAKE_TARGET_MKSPEC=devices/linux-imx7-g++ -DQT_QMAKE_DEVICE_OPTIONS="CROSS_COMPILE={{.Env.QEMUARMV7_TOOLCHAIN_CROSS_COMPILE}};DISTRO_OPTS=hard-float boot2qt" -DCMAKE_STAGING_PREFIX=/home/qt/work/install/target -DCMAKE_AUTOGEN_VERBOSE=ON -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DFEATURE_forkfd_pidfd=OFF -DWARNINGS_ARE_ERRORS=OFF',
|
||||
'QT_YOCTO_ENVSETUP={{.Env.QEMUARMV7_TOOLCHAIN_ENVSETUP}}',
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.21.1/bin",
|
||||
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}',
|
||||
'GST_PLUGIN_SCANNER={{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
|
||||
'QT_QUICK_BACKEND=software',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TARGET_TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Target os: 'QEMU'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'Ubuntu-20.04-host'
|
||||
Features: ['Sccache']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-DQT_BUILD_EXAMPLES=OFF -DFEATURE_developer_build=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON -DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARM64_TOOLCHAIN_FILE}} -DQT_FEATURE_system_harfbuzz=OFF -DQT_QMAKE_TARGET_MKSPEC=devices/linux-generic-g++ -DQT_QMAKE_DEVICE_OPTIONS="CROSS_COMPILE={{.Env.QEMUARM64_TOOLCHAIN_CROSS_COMPILE}};DISTRO_OPTS=boot2qt" -DCMAKE_STAGING_PREFIX=/home/qt/work/install/target -DCMAKE_AUTOGEN_VERBOSE=ON -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DFEATURE_forkfd_pidfd=OFF -DWARNINGS_ARE_ERRORS=OFF',
|
||||
'QT_YOCTO_ENVSETUP={{.Env.QEMUARM64_TOOLCHAIN_ENVSETUP}}',
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.21.1/bin",
|
||||
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}',
|
||||
'GST_PLUGIN_SCANNER={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
|
||||
'QT_QUICK_BACKEND=software',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TARGET_TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Target os: 'QEMU'
|
||||
Target arch: 'mips64'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'Ubuntu-20.04-host'
|
||||
Features: ['Sccache', 'DisableTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-DQT_BUILD_EXAMPLES=OFF -DFEATURE_developer_build=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON -DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUMIPS64_TOOLCHAIN_FILE}} -DQT_FEATURE_system_harfbuzz=OFF -DQT_QMAKE_TARGET_MKSPEC=devices/linux-generic-g++ -DQT_QMAKE_DEVICE_OPTIONS="CROSS_COMPILE={{.Env.QEMUMIPS64_TOOLCHAIN_CROSS_COMPILE}};DISTRO_OPTS=boot2qt" -DCMAKE_STAGING_PREFIX=/home/qt/work/install/target -DCMAKE_AUTOGEN_VERBOSE=ON -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DFEATURE_forkfd_pidfd=OFF -DWARNINGS_ARE_ERRORS=OFF',
|
||||
'QT_YOCTO_ENVSETUP={{.Env.QEMUMIPS64_TOOLCHAIN_ENVSETUP}}',
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.21.1/bin",
|
||||
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUMIPS64_TOOLCHAIN_SYSROOT}}',
|
||||
'GST_PLUGIN_SCANNER={{.Env.QEMUMIPS64_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
|
||||
'QT_QUICK_BACKEND=software',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TARGET_TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
@@ -1,28 +0,0 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-linux-SLES-15_SP2-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'MinimalStaticTests']
|
||||
Configure arguments: '-DQT_BUILD_EXAMPLES=OFF -DBUILD_SHARED_LIBS=OFF -DFEATURE_sql_mysql=OFF -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}} -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: ['NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Sccache', 'MinimalStaticTests']
|
||||
Configure arguments: '-G"Ninja" -DCMAKE_BUILD_TYPE="RelWithDebInfo" -DBUILD_SHARED_LIBS=OFF -DFEATURE_msvc_obj_debug_info=ON -DQT_BUILD_EXAMPLES=OFF -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DFEATURE_system_zlib=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: [
|
||||
'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}'
|
||||
]
|
||||
-
|
||||
Template: 'qtci-macos-11.0-x86_64-102'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'MinimalStaticTests']
|
||||
Configure arguments: '-DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=OFF -DFEATURE_framework=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: [
|
||||
'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
]
|
||||
@@ -1,46 +0,0 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-8.2-x86_64-50'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'RHEL-8.2-host'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests']
|
||||
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_HOME}} -DANDROID_ABI=arm64-v8a -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME}} -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-8.2-x86_64-50'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'RHEL-8.2-host'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests']
|
||||
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_HOME}} -DANDROID_ABI=armeabi-v7a -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME}} -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-8.2-x86_64-50'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'RHEL-8.2-host'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests']
|
||||
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_HOME}} -DANDROID_ABI=x86 -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME}} -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-8.2-x86_64-50'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'RHEL-8.2-host'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests']
|
||||
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_HOME}} -DANDROID_ABI=x86_64 -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME}} -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
@@ -1,46 +0,0 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-latest-xcode-universal-packaging-build'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests']
|
||||
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_HOME}} -DANDROID_ABI=arm64-v8a -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-latest-xcode-universal-packaging-build'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests']
|
||||
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_HOME}} -DANDROID_ABI=armeabi-v7a -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-latest-xcode-universal-packaging-build'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests']
|
||||
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_HOME}} -DANDROID_ABI=x86 -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-latest-xcode-universal-packaging-build'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests']
|
||||
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_HOME}} -DANDROID_ABI=x86_64 -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
@@ -1,50 +0,0 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Mingw'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'Windows10-Mingw8-x64-host'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests']
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW810}}\bin;{{.Env.Path}}',
|
||||
'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_HOME}} -DANDROID_ABI=arm64-v8a -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME}} -DFEATURE_pkg_config=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'Mingw'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'Windows10-Mingw8-x64-host'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests']
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW810}}\bin;{{.Env.Path}}',
|
||||
'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_HOME}} -DANDROID_ABI=armeabi-v7a -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME}} -DFEATURE_pkg_config=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'Mingw'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'Windows10-Mingw8-x64-host'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests']
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW810}}\bin;{{.Env.Path}}',
|
||||
'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_HOME}} -DANDROID_ABI=x86 -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME}} -DFEATURE_pkg_config=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'Mingw'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'Windows10-Mingw8-x64-host'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests']
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW810}}\bin;{{.Env.Path}}',
|
||||
'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_HOME}} -DANDROID_ABI=x86_64 -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME}} -DFEATURE_pkg_config=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
@@ -1,35 +0,0 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-linux-openSUSE-15.3-x86_64-50'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'OpenSUSE-15.3-host'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests']
|
||||
Environment variables: [
|
||||
'EM_CONFIG={{.Env.EMSDK}}/.emscripten',
|
||||
'TARGET_CONFIGURE_ARGS=-DQT_QMAKE_TARGET_MKSPEC=wasm-emscripten -DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'Mingw'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'Windows10-Mingw8-x64-host'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests']
|
||||
Environment variables: [
|
||||
'Path={{.Env.EMSDK_PATH}};{{.Env.MINGW810}}\bin;{{.Env.Path}}',
|
||||
'EM_CONFIG={{.Env.EMSDK}}/.emscripten',
|
||||
'TARGET_CONFIGURE_ARGS=-DQT_QMAKE_TARGET_MKSPEC=wasm-emscripten -DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DFEATURE_pkg_config=OFF']
|
||||
-
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-latest-xcode-universal-packaging-build'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests']
|
||||
Environment variables: [
|
||||
'EM_CONFIG={{.Env.EMSDK}}/.emscripten',
|
||||
'TARGET_CONFIGURE_ARGS=-DQT_QMAKE_TARGET_MKSPEC=wasm-emscripten -DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
25
coin/platform_configs/default.txt
Normal file
25
coin/platform_configs/default.txt
Normal file
@@ -0,0 +1,25 @@
|
||||
Template Target OS Target arch Compiler Features
|
||||
----------------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
||||
qtci-windows-8.1-x86_64 MSVC2013 DeveloperBuild Release DisableTests
|
||||
qtci-windows-10-x86_64-10 MSVC2015 DeveloperBuild Release QtNamespace QtLibInfix BuildExamples
|
||||
qtci-windows-7-x86-3 Mingw53 DeveloperBuild Release OpenGLDynamic
|
||||
qtci-windows-10-x86_64-10 x86 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
||||
qtci-windows-10-x86_64-10 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
||||
qtci-windows-10-x86_64-10 WinRT_10 x86 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||
qtci-windows-10-x86_64-10 WinRT_10 armv7 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||
qtci-linux-Ubuntu-16.04-x86_64-2 GCC NoWidgets ForceDebugInfo
|
||||
qtci-linux-Ubuntu-16.04-x86_64-2 GCC DeveloperBuild OutOfSourceBuild QtLibInfix QtNamespace BuildExamples Documentation
|
||||
qtci-linux-openSUSE-42.3-x86_64 GCC DeveloperBuild NoPch
|
||||
qtci-linux-openSUSE-42.3-x86_64 ICC_18 DeveloperBuild NoPch DisableTests
|
||||
qtci-linux-RHEL-6.6-x86_64 GCC Release ForceDebugInfo
|
||||
qtci-linux-RHEL-7.4-x86_64 GCC Packaging Release NoUseGoldLinker
|
||||
qtci-macos-10.12-x86_64-8 Clang Packaging DebugAndRelease Release
|
||||
qtci-osx-10.11-x86_64-3 Clang DeveloperBuild Release QtNamespace NoPch
|
||||
qtci-osx-10.10-x86_64 Clang Release NoFramework DisableTests
|
||||
qtci-macos-10.12-x86_64-8 IOS_ANY x86_64 Clang Release DisableTests Static
|
||||
qtci-linux-RHEL-7.4-x86_64 Android_ANY armv7 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||
qtci-linux-Ubuntu-16.04-x86_64-2 QEMU armv7 GCC Release
|
||||
qtci-linux-Ubuntu-16.04-x86_64-2 QEMU arm64 GCC Release
|
||||
qtci-linux-Ubuntu-16.04-x86_64-2 GCC TestOnly LicenseCheck
|
||||
qtci-linux-RHEL-6.6-x86_64 QNX_660 armv7 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||
qtci-linux-RHEL-7.4-x86_64 INTEGRITY_11_04 armv7 GCC Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||
@@ -1,6 +0,0 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly', 'LicenseCheck', 'UseLegacyInstructions']
|
||||
@@ -1,4 +0,0 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,28 +0,0 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Target arch: 'x86'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86% -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-8.2-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-libudev -no-use-gold-linker -force-debug-info -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -qt-libjpeg -qt-libpng -qt-xcb -sysconfdir /etc/xdg -qt-pcre -openssl -qt-harfbuzz QMAKE_LFLAGS_APP+=-s -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-libudev -no-use-gold-linker -force-debug-info -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -qt-libjpeg -qt-libpng -qt-xcb -sysconfdir /etc/xdg -qt-pcre -openssl -qt-harfbuzz QMAKE_LFLAGS_APP+=-s -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly', 'LicenseCheck', 'UseLegacyInstructions']
|
||||
@@ -1,17 +0,0 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Target os: 'INTEGRITY'
|
||||
Platform dependency: 'Ubuntu-20.04-host'
|
||||
Features: ['Sccache', 'DisableTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS={{.Env.TARGET_CONFIGURE_ARGS}} -DQT_HOST_PATH=/home/qt/work/install -DQT_BUILD_EXAMPLES=OFF -DCMAKE_TOOLCHAIN_FILE=/home/qt/integrity_toolchain/toolchain.cmake -DQT_QMAKE_TARGET_MKSPEC=devices/integrity-armv8-SA8155P -DINPUT_harfbuzz=no -DFEATURE_library=OFF -DBUILD_qtdoc=OFF -DBUILD_qttranslations=OFF -DFEATURE_printdialog=OFF --debug-trycompile -DFEATURE_quick3d_assimp=OFF -DFEATURE_dbus=OFF -GNinja -DUNIX=ON -DFEATURE_gtk3=OFF -DFEATURE_glib=OFF -DFEATURE_libudev=OFF -DFEATURE_system_pcre2=OFF -DFEATURE_sql_mysql=OFF -DCMAKE_C_COMPILER=cxintarm64 -DCMAKE_CXX_COMPILER=cxintarm64',
|
||||
'INTEGRITY_DIR=/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/integrity',
|
||||
'INTEGRITY_BSP=platform-sa8155', 'INTEGRITY_BUILD_TARGET=rel',
|
||||
'QC_MULTIMEDIA_INC_DIR=/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/qc_bsp/include/amss/multimedia',
|
||||
'GL_INC_DIR=/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/qc_bsp/AMSS/multimedia/graphics/include/public',
|
||||
'GL_LIB_DIR=/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/qc_bsp/out/rel/libs/base:/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/qc_bsp/out/rel/libs/multimedia/display:/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/qc_bsp/out/rel/libs/multimedia/graphics:/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/qc_bsp/out/rel/libs/platform/:/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/qc_bsp/AMSS/multimedia/graphics/opengl/esx/build/integrity/prebuilt/',
|
||||
'PATH=/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/comp:$PATH',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DFEATURE_system_webp=OFF']
|
||||
@@ -1,12 +0,0 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: "ios-tests-target"
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Target os: 'IOS_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-latest-xcode-universal-packaging-build'
|
||||
Features: ['Sccache', 'DebugAndRelease', 'MinimalStaticTests']
|
||||
Environment variables: ['TARGET_CONFIGURE_ARGS=-G"Ninja Multi-Config" -DCMAKE_CONFIGURATION_TYPES="Release;Debug" -DQT_BUILD_EXAMPLES=OFF -DCMAKE_SYSTEM_NAME=iOS', 'NON_QTBASE_TARGET_CONFIGURE_ARGS=']
|
||||
@@ -1,24 +0,0 @@
|
||||
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.0-x86_64-102'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly']
|
||||
Platform dependency: 'macos-latest-xcode-x86_64-developer-build'
|
||||
@@ -1,69 +0,0 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
# Build with latest Xcode
|
||||
-
|
||||
# This is a universal build containing both x86_64 and arm64 architectures
|
||||
Id: 'macos-latest-xcode-universal-packaging-build'
|
||||
Template: 'qtci-macos-11.0-x86_64-102'
|
||||
Compiler: 'Clang'
|
||||
Target arch: 'x86_64-arm64'
|
||||
Features: ['Packaging', 'Sccache', 'DoNotRunTests']
|
||||
Configure arguments: '-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFEATURE_separate_debug_info=ON -DFEATURE_headersclean=ON -DFEATURE_framework=ON -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DODBC_ROOT=/usr/local/opt/libiodbc -DPostgreSQL_ROOT={{.Env.POSTGRESQLBINPATH}}/..'
|
||||
Environment variables: [
|
||||
'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DFEATURE_gds=OFF',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
]
|
||||
|
||||
# Then run tests on all supported deployment targets
|
||||
-
|
||||
Id: 'macos-10.14-x86_64-tests'
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly', 'Packaging']
|
||||
Platform dependency: 'macos-latest-xcode-universal-packaging-build'
|
||||
-
|
||||
Id: 'macos-10.15-x86_64-tests'
|
||||
Template: 'qtci-macos-10.15-x86_64-102'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly', 'Packaging']
|
||||
Platform dependency: 'macos-latest-xcode-universal-packaging-build'
|
||||
-
|
||||
Id: 'macos-11-x86_64-tests'
|
||||
Template: 'qtci-macos-11.0-x86_64-102'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly', 'Packaging']
|
||||
Platform dependency: 'macos-latest-xcode-universal-packaging-build'
|
||||
-
|
||||
Id: 'macos-11-arm64-tests'
|
||||
Template: 'qtci-macos-11.0-arm64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly', 'Packaging']
|
||||
Platform dependency: 'macos-latest-xcode-universal-packaging-build'
|
||||
|
||||
# Build x86_64 developer-builds for all modules, but only run tests for qtbase and declarative.
|
||||
# See macos-developer-build-tests.yaml for the tests
|
||||
-
|
||||
Id: 'macos-latest-xcode-x86_64-developer-build'
|
||||
Template: 'qtci-macos-11.0-x86_64-102'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'DoNotRunTests']
|
||||
Configure arguments: '-DFEATURE_developer_build=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_WITH_PCH=OFF -DFEATURE_framework=OFF -DQT_NAMESPACE=TestNamespace -DQT_BUILD_EXAMPLES=ON -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: [
|
||||
'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
]
|
||||
|
||||
# Build arm64 developer-builds for all modules, and run their tests. This ensures that we have full
|
||||
# arm64 build and test coverage, regardless of possible issues with the universal build.
|
||||
-
|
||||
Id: 'macos-latest-xcode-arm64-developer-build'
|
||||
Template: 'qtci-macos-11.0-arm64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['DoNotRunTests']
|
||||
Configure arguments: '-DFEATURE_developer_build=ON -DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFEATURE_separate_debug_info=ON -DFEATURE_framework=ON -DPostgreSQL_ROOT={{.Env.POSTGRESQLBINPATH}}/..'
|
||||
-
|
||||
Id: 'macos-11-arm64-developer-build-tests'
|
||||
Template: 'qtci-macos-11.0-arm64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
Platform dependency: 'macos-latest-xcode-arm64-developer-build'
|
||||
@@ -1,43 +0,0 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET1'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET2'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET3'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET4'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET5'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET6'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET7'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET8'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET9'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET10'
|
||||
@@ -1,4 +0,0 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Include: [meta-boot2qt.yaml]
|
||||
Configurations: []
|
||||
@@ -1 +0,0 @@
|
||||
qt5.yaml
|
||||
@@ -1,9 +0,0 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly', 'LicenseCheck']
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Packaging', 'Sccache', 'MinimalStaticTests']
|
||||
Configure arguments: '-G"Ninja" -DCMAKE_BUILD_TYPE="RelWithDebInfo" -DBUILD_SHARED_LIBS=OFF -DFEATURE_icu=OFF -DFEATURE_system_doubleconversion=OFF -DFEATURE_msvc_obj_debug_info=ON -DQT_BUILD_EXAMPLES=OFF -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DFEATURE_system_zlib=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: [
|
||||
'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}'
|
||||
]
|
||||
-
|
||||
Id: 'RHEL-8.2-host'
|
||||
Template: 'qtci-linux-RHEL-8.2-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'Sccache', 'MinimalStaticTests']
|
||||
Configure arguments: '-DQT_BUILD_EXAMPLES=OFF -DBUILD_SHARED_LIBS=OFF -DFEATURE_system_jpeg=OFF -DFEATURE_system_png=OFF -DFEATURE_system_pcre2=OFF -DFEATURE_system_harfbuzz=OFF -DFEATURE_system_doubleconversion=OFF -DFEATURE_libudev=OFF -DINPUT_bundled_xcb_xinput=yes -DFEATURE_icu=OFF -DFEATURE_sql_mysql=OFF -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}} -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: ['NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Id: 'macOS-11.0'
|
||||
Template: 'qtci-macos-11.0-x86_64-102'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Packaging', 'Sccache', 'MinimalStaticTests']
|
||||
Configure arguments: '-DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=OFF -DFEATURE_icu=OFF -DFEATURE_system_doubleconversion=OFF -DFEATURE_framework=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
Environment variables: [
|
||||
'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||
]
|
||||
@@ -1,33 +0,0 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests']
|
||||
Configure arguments: ''
|
||||
Environment variables: []
|
||||
Environment script: ['%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
|
||||
-
|
||||
Template: 'qtci-windows-10-x86-4'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests']
|
||||
Configure arguments: ''
|
||||
Environment variables: []
|
||||
Environment script: ['%ProgramFiles%\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'x86']
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-8.2-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests']
|
||||
Configure arguments: ''
|
||||
Environment variables: []
|
||||
-
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Packaging', 'DisableTests', 'Sccache', 'DebugAndRelease']
|
||||
Configure arguments: ''
|
||||
Environment variables: []
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly', 'LicenseCheck']
|
||||
@@ -1 +0,0 @@
|
||||
qt5.yaml
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
24
coin/platform_configs/qt5.txt
Normal file
24
coin/platform_configs/qt5.txt
Normal file
@@ -0,0 +1,24 @@
|
||||
Template Target OS Target arch Compiler Features
|
||||
--------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
||||
qtci-windows-8.1-x86_64 x86 MSVC2013 DebugAndRelease Release ForceDebugInfo OpenGLDynamic DisableTests
|
||||
qtci-windows-8.1-x86_64 MSVC2013 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic DisableTests
|
||||
qtci-windows-10-x86_64-10 WinRT_10 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||
qtci-windows-10-x86_64-10 x86 MSVC2017 DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
||||
qtci-windows-10-x86_64-10 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
||||
qtci-windows-10-x86_64-10 WinRT_10 x86 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||
qtci-windows-7-x86-3 Mingw53 Packaging DebugAndRelease Release OpenGLDynamic DisableTests
|
||||
qtci-windows-10-x86_64-10 WinRT_10 armv7 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||
qtci-windows-10-x86_64-10 WinRT_10 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||
qtci-linux-RHEL-7.4-x86_64 Android_ANY x86 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||
qtci-windows-7-x86-3 Android_ANY armv7 Mingw53 Packaging Release DisableTests OpenGLES2
|
||||
qtci-windows-7-x86-3 Android_ANY x86 Mingw53 Packaging Release DisableTests OpenGLES2
|
||||
qtci-macos-10.12-x86_64-8 Android_ANY armv7 GCC Packaging Release DisableTests OpenGLES2
|
||||
qtci-macos-10.12-x86_64-8 Android_ANY x86 GCC Packaging Release DisableTests OpenGLES2
|
||||
qtci-linux-RHEL-6.6-x86_64 QNX_660 x86 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||
qtci-macos-10.12-x86_64-8 IOS_ANY multi Clang Packaging DebugAndRelease DisableTests Static
|
||||
qtci-windows-10-x86_64-10 QNX_700 armv7 Mingw53 Packaging Release DisableTests OpenGLES2
|
||||
qtci-windows-10-x86_64-10 QNX_700 x86_64 Mingw53 Packaging Release DisableTests OpenGLES2
|
||||
qtci-windows-10-x86_64-10 QNX_660 armv7 Mingw53 Packaging Release DisableTests OpenGLES2
|
||||
qtci-windows-10-x86_64-10 QNX_660 x86 Mingw53 Packaging Release DisableTests OpenGLES2
|
||||
qtci-linux-RHEL-7.4-x86_64 QNX_700 x86_64 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||
qtci-linux-RHEL-7.4-x86_64 QNX_700 armv7 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
4
coin/platform_configs/qtbase.txt
Normal file
4
coin/platform_configs/qtbase.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
Template Target OS Target arch Compiler Features
|
||||
--------------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
||||
qtci-linux-Ubuntu-16.04-x86_64-2 QEMU armv7 GCC DeveloperBuild DisableTests
|
||||
qtci-linux-Ubuntu-16.04-x86_64-2 QEMU arm64 GCC DeveloperBuild DisableTests
|
||||
@@ -1,20 +0,0 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_static_tests.yaml,
|
||||
macos-developer-build-tests.yaml,
|
||||
integrity.yaml,
|
||||
ios-tests.yaml
|
||||
]
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-8.2-x86_64-50'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'RHEL-8.2-host'
|
||||
Features: ['Packaging', 'Sccache', 'AndroidTestRun']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-DBUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE={{.Env.ANDROID_NDK_ROOT}}/build/cmake/android.toolchain.cmake -DANDROID_SDK_ROOT={{.Env.ANDROID_SDK_HOME}} -DANDROID_ABI=x86 -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME}} -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
4
coin/platform_configs/qtdeclarative.txt
Normal file
4
coin/platform_configs/qtdeclarative.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
Template Target OS Target arch Compiler Features
|
||||
--------------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
||||
qtci-linux-Ubuntu-16.04-x86_64-2 QEMU armv7 GCC DeveloperBuild
|
||||
qtci-linux-Ubuntu-16.04-x86_64-2 QEMU arm64 GCC DeveloperBuild
|
||||
@@ -1,8 +0,0 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
macos-developer-build-tests.yaml,
|
||||
cmake_platforms_static_tests.yaml,
|
||||
integrity.yaml
|
||||
]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,6 +0,0 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
integrity.yaml
|
||||
]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,24 +0,0 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'Mingw'
|
||||
Environment variables: ['PATH=C:\MINGW810\mingw64\bin;$PATH']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -developer-build -nomake tests -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -platform win32-g++'
|
||||
Features: ['UseLegacyInstructions']
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'Mingw'
|
||||
Environment variables: ['PATH=C:\MINGW810\mingw64\bin;$PATH']
|
||||
Features: ['Packaging', 'DisableTests', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -static -nomake tests -nomake examples -no-icu -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -platform win32-g++'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-8.2-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'DisableTests', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -release -static -nomake tests -nomake examples -no-use-gold-linker -no-icu -no-fontconfig -qt-freetype -no-opengl -qpa offscreen -no-xcb -qt-libpng -no-vulkan'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'DisableTests', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -release -static -nomake tests -nomake examples -no-use-gold-linker -no-icu -no-fontconfig -qt-freetype -no-opengl -qpa offscreen -no-xcb -qt-libpng -no-vulkan'
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,6 +0,0 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
qt-creator.yaml
|
||||
]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,6 +0,0 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
integrity.yaml
|
||||
]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,6 +0,0 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
integrity.yaml
|
||||
]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,6 +0,0 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
macos-developer-build-tests.yaml
|
||||
]
|
||||
Configurations: []
|
||||
5
coin/platform_configs/qtwebkit.txt
Normal file
5
coin/platform_configs/qtwebkit.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
Template Target OS Target arch Compiler Features
|
||||
--------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
||||
qtci-windows-10-x86_64-10 x86 MSVC2017 DebugAndRelease Release ForceDebugInfo OpenGLDynamic DisableTests
|
||||
qtci-windows-10-x86_64-10 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic DisableTests
|
||||
qtci-windows-7-x86-3 Mingw53 Packaging DebugAndRelease Release OpenGLDynamic DisableTests
|
||||
@@ -1,8 +0,0 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'Mingw'
|
||||
Environment variables: ['PATH=C:\MINGW810_i686\mingw32\bin;$PATH']
|
||||
Features: ['Packaging', UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -platform win32-g++ QMAKE_LFLAGS_APP+=-s'
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,9 +0,0 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly', 'LicenseCheck']
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
6
coin/platform_configs/tqtc-qt-rta.txt
Normal file
6
coin/platform_configs/tqtc-qt-rta.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
Template Target OS Target arch Compiler Features
|
||||
--------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
||||
qtci-windows-7-x86_64-4 MSVC2013 Release ForceDebugInfo OpenGLDynamic DisableTests
|
||||
qtci-windows-8.1-x86_64 MSVC2013 Release ForceDebugInfo OpenGLDynamic DisableTests
|
||||
qtci-windows-10-x86-3 MSVC2017 Release ForceDebugInfo OpenGLDynamic
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,50 +0,0 @@
|
||||
### CENTOS 8.3 ###
|
||||
Hard Disk: 500G
|
||||
Network: CI
|
||||
Video Card: Total Video Memory: 64MB
|
||||
Boot options/Firmware: BIOS
|
||||
|
||||
Language: English (United States)
|
||||
Time & Date: Etc/Coordinated Universal Time
|
||||
Software Selection: Server with GUI
|
||||
Network & Host..: Connect
|
||||
|
||||
Language: English (US)
|
||||
Typing:English (US)
|
||||
Privacy: Location Services: OFF
|
||||
Connect Your Online Accounts: Skip
|
||||
|
||||
|
||||
# Configure Settings
|
||||
Notifications:
|
||||
* Notification Popups: OFF
|
||||
* Lock Screen Notifications: OFF
|
||||
Privacy:
|
||||
* Screen Lock: OFF
|
||||
Power:
|
||||
* Blank screen: Never
|
||||
Devices:
|
||||
* Displays: Resolution 1280 x 800
|
||||
Details:
|
||||
* Time Zone: UTC
|
||||
* run "sudo timedatectl set-timezone Etc/UTC"
|
||||
* Users: Automatic login on
|
||||
|
||||
# Add user to sudoers
|
||||
Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
|
||||
|
||||
Add 'GRUB_GFXMODE=1280x800' to /etc/default/grub
|
||||
sudo grub2-mkconfig -o /etc/grub2.cfg
|
||||
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||
|
||||
# Add support for virtio driver
|
||||
su
|
||||
echo "add_drivers+=\"virtio-blk\"" >> /etc/dracut.conf.d/virtio.conf
|
||||
dracut -f
|
||||
|
||||
# Fetch and run coin-setup
|
||||
Download http://coin/coin/binary/linux_amd64/coin-setup
|
||||
run './coin-setup'
|
||||
|
||||
Reboot
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
### RHEL 8.2 ###
|
||||
Hard Disk: 500G
|
||||
Network: CI
|
||||
Video Card: Total Video Memory: 64MB
|
||||
Boot options/Firmware: BIOS
|
||||
|
||||
Language: English (United States)
|
||||
Time & Date: Etc/Coordinated Universal Time
|
||||
Software Selection: Server with GUI
|
||||
Network & Host..: Connect
|
||||
|
||||
Language: English (US)
|
||||
Typing:English (US)
|
||||
Privacy: Location Services: OFF
|
||||
Connect Your Online Accounts: Skip
|
||||
|
||||
# Configure Settings
|
||||
Notifications:
|
||||
* Notification Popups: OFF
|
||||
* Lock Screen Notifications: OFF
|
||||
Privacy:
|
||||
* Screen Lock: OFF
|
||||
Power:
|
||||
* Blank screen: Never
|
||||
Devices:
|
||||
* Displays: Resolution 1280 x 800
|
||||
Details:
|
||||
* Time Zone: UTC
|
||||
* run "sudo timedatectl set-timezone Etc/UTC"
|
||||
* Users: Automatic login on
|
||||
|
||||
# Add user to sudoers
|
||||
Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
|
||||
|
||||
Add 'GRUB_GFXMODE=1280x800' to /etc/default/grub
|
||||
sudo grub2-mkconfig -o /etc/grub2.cfg
|
||||
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||
|
||||
# Add support for virtio driver
|
||||
su
|
||||
echo "add_drivers+=\"virtio-blk\"" >> /etc/dracut.conf.d/virtio.conf
|
||||
dracut -f
|
||||
|
||||
# Fetch and run coin-setup
|
||||
Download http://coin/coin/binary/linux_amd64/coin-setup
|
||||
run './coin-setup'
|
||||
|
||||
Reboot
|
||||
@@ -1,47 +0,0 @@
|
||||
### SUSE Linux Enterprise Desktop 15 SP2 ###
|
||||
|
||||
Language: English (US)
|
||||
Keyboard Layout: English (US)
|
||||
|
||||
Available Extensions and Modules:
|
||||
Basesystem Module
|
||||
Desktop Applications Module
|
||||
Python 2 Module
|
||||
|
||||
Gnome Desktop (X11)
|
||||
|
||||
Resolution 1280x800
|
||||
|
||||
# Settings
|
||||
Notification Popups - disabled
|
||||
LockScreen Notifications - disabled
|
||||
|
||||
# Privacy
|
||||
Screen Lock - Off
|
||||
|
||||
# Power
|
||||
Power Saving - Blank Screen - never
|
||||
|
||||
# Add user to sudoers
|
||||
Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
|
||||
|
||||
# Fetch and run coin-setup
|
||||
Download http://coin/coin/binary/linux_386/coin-setup
|
||||
sudo ./coin-setup
|
||||
|
||||
# Add support for virtio driver
|
||||
sudo echo "add_drivers+=\"virtio-blk\"" >> /etc/dracut.conf.d/virtio.conf
|
||||
sudo dracut -f
|
||||
|
||||
# Add these to '/etc/polkit-default-privs.local'
|
||||
org.freedesktop.udisks2.filesystem-mount yes
|
||||
org.freedesktop.udisks2.filesystem-mount-other-seat yes
|
||||
org.freedesktop.udisks2.filesystem-mount-system yes
|
||||
org.freedesktop.login1.power-off yes
|
||||
org.freedesktop.login1.power-off-ignore-inhibit yes
|
||||
org.freedesktop.login1.power-off-multiple-sessions yes
|
||||
|
||||
# Register product
|
||||
# Add 'Available Extensions and Modules'
|
||||
* Basesystem Module 15 SP2 x86_64
|
||||
* Server Applications Module 15 SP2 x86_64
|
||||
@@ -1,7 +0,0 @@
|
||||
Add accessibility settings:
|
||||
/Volumes/Macintosh\ HD/usr/bin/sqlite3 "/Volumes/Macintosh HD/Library/Application Support/com.apple.TCC/TCC.db" <<"EOF"
|
||||
insert into access (service,client,client_type,allowed,prompt_count,indirect_object_identifier,flags,last_modified) values ("kTCCServiceAccessibility","com.froglogic.squish.ide.product",0,1,1,"UNSEEN",0,1612871478)
|
||||
|
||||
insert into access (service,client,client_type,allowed,prompt_count,indirect_object_identifier,flags,last_modified) values ("kTCCServiceAccessibility","/Users/qt/bootstrap-agent",1,1,1,"UNSEEN",0,1612871478);
|
||||
EOF
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
Add accessibility settings:
|
||||
/Volumes/Macintosh\ HD/usr/bin/sqlite3 "/Volumes/Macintosh HD/Library/Application Support/com.apple.TCC/TCC.db" <<"EOF"{{insert into access (service,client,client_type,auth_value,auth_reason,auth_version,indirect_object_identifier_type,indirect_object_code_identity,last_modified) values }}
|
||||
('kTCCServiceAccessibility','com.froglogic.squish.ide.product',0,2,4,1,0,0,1612867994);
|
||||
|
||||
{{insert into access (service,client,client_type,auth_value,auth_reason,auth_version,indirect_object_identifier_type,indirect_object_code_identity,last_modified) values }}
|
||||
('kTCCServiceAccessibility','/Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home/jre/bin/java',1,2,4,1,0,0,1612867994);
|
||||
|
||||
EOF
|
||||
@@ -1,6 +1,6 @@
|
||||
############################################################################
|
||||
##
|
||||
## Copyright (C) 2020 The Qt Company Ltd.
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -32,9 +32,17 @@
|
||||
#############################################################################
|
||||
. "$PSScriptRoot\..\common\helpers.ps1"
|
||||
|
||||
# Install Visual Studio 2017 Build Tools
|
||||
# Install both build tools: Visual C++ and Web development
|
||||
# This script will install Visual Studio 2017 Build Tools
|
||||
# https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017
|
||||
|
||||
$url_internal = https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017
|
||||
$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/mu_build_tools_for_visual_studio_2017_version_15.0_x86_x64_10254482.exe"
|
||||
$version = "2017_version_15.0"
|
||||
$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/mu_build_tools_for_visual_studio_" + $version + "_x86_x64_10254482.exe"
|
||||
$sha1 = "a31e099e5114fef80a21654689e6864afc544a16"
|
||||
$msvcPackage = "C:\Windows\Temp\$version.exe"
|
||||
|
||||
Download $url_cache $url_cache $msvcPackage
|
||||
Verify-Checksum $msvcPackage $sha1
|
||||
cmd /c "$msvcPackage --all --passive --wait"
|
||||
echo "Cleaning $msvcPackage.."
|
||||
Remove-Item -Recurse -Force "$msvcPackage"
|
||||
echo "Visual Studio Build Tools = $version" >> ~\versions.txt
|
||||
@@ -1,47 +0,0 @@
|
||||
CPU 4G
|
||||
Memory: 4G
|
||||
Hard disk: 250G
|
||||
Network: CI_NW
|
||||
Video Card - total memory: 32MB
|
||||
|
||||
VM Options:
|
||||
Boot options/Firmware: BIOS
|
||||
|
||||
Language: English US
|
||||
Time and currency format: Finnish (Finland)
|
||||
Keyboard: Finnish
|
||||
Windows 10 Enterprise
|
||||
Region: Finland
|
||||
Default keyboard layout: English (United States)
|
||||
|
||||
* VMware tools (complete) installed
|
||||
* Resolution set to 1280x800
|
||||
* Coin-setup:
|
||||
- Installing Boostrap agent
|
||||
- Disabling fast boot
|
||||
- Disabling firewall
|
||||
- Disabling UAC
|
||||
- Enabling autologin
|
||||
- Automatic login
|
||||
- Disabling windows updates
|
||||
* Enable 'Allow remote connections to this computer'
|
||||
* Windows Defender Antivirus turned off: Open 'gpedit.msc': 'Computer Configuration' - 'Administrative Templates' - 'Windows Components' - 'Windows Defender Antivirus'
|
||||
- Edit 'Turn off Windows Defender Antivirus' > 'Enabled' > 'Apply' * Background defrag disabled: 'defragment and optimize drives' - 'change settings' - unchecked "run on a schedule" * Background defrag disabled: 'defragment
|
||||
NOTE! Without this step windows defender can't be disabled!
|
||||
* Background defrag disabled: 'defragment and optimize drives' - 'change settings' - unchecked "run on a schedule"
|
||||
- Run in terminal: 'schtasks /Delete /TN "Microsoft\Windows\Defrag\ScheduledDefrag"'
|
||||
* Time zone: Coordinated Universal Time
|
||||
* Windows search disabled: 'Control Panel\System and Security\Administrative Tools\Services' - 'Windows search' - stop & disable
|
||||
* Sysmain disabled: 'Control Panel\System and Security\Administrative Tools\Services' - 'SysMain' - stop & disable
|
||||
* Power saver disabled: Open 'Power & sleep' and set 'Screen' to 'never'
|
||||
* Turn windows features on or off -> Check the "SMB 1.0/CIFS File Sharing Support
|
||||
* Google Chrome installed for RTA
|
||||
* Turn off Virus & threat protection (all sections) manually. Without this step windows defender can't be disabled!
|
||||
- Real-tiem protection -> off
|
||||
- Cloud-delivered protection -> off
|
||||
- Automatic sample submission -> off
|
||||
- Tamper protection -> off
|
||||
* Activate Windows
|
||||
* Modify 'Windows Software Development Kit - Windows 10.0.18362.1' from 'Add or remove programs'
|
||||
- Add feature 'Debugging Tools for Windows'
|
||||
* REBOOT the VM
|
||||
@@ -1,72 +0,0 @@
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2019 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL21$
|
||||
## Commercial License Usage
|
||||
## Licensees holding valid commercial Qt licenses may use this file in
|
||||
## accordance with the commercial license agreement provided with the
|
||||
## Software or, alternatively, in accordance with the terms contained in
|
||||
## a written agreement between you and The Qt Company. For licensing terms
|
||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||
## information use the contact form at http://www.qt.io/contact-us.
|
||||
##
|
||||
## GNU Lesser General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
## General Public License version 2.1 or version 3 as published by the Free
|
||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||
## following information to ensure the GNU Lesser General Public License
|
||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
##
|
||||
## As a special exception, The Qt Company gives you certain additional
|
||||
## rights. These rights are described in The Qt Company LGPL Exception
|
||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
##
|
||||
## $QT_END_LICENSE$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# Windows 7 does not have Get-ScheduledTask and Unregister-ScheduledTask
|
||||
# thus needing its own version.
|
||||
Write-Host "Disabling defragmentation"
|
||||
$version = Get-CimInstance Win32_OperatingSystem | Select-Object -ExpandProperty Caption
|
||||
if ($version -like '*Windows 7*'){
|
||||
$pi = New-Object System.Diagnostics.ProcessStartInfo
|
||||
$pi.FileName = "C:\Windows\System32\schtasks.exe"
|
||||
$pi.RedirectStandardError = $true
|
||||
$pi.UseShellExecute = $false
|
||||
$pi.Arguments = "/Delete /TN `"\Microsoft\Windows\Defrag\ScheduledDefrag`" /F"
|
||||
$prog = New-Object System.Diagnostics.Process
|
||||
$prog.StartInfo = $pi
|
||||
$prog.Start() | Out-Null
|
||||
$err = $prog.StandardError.ReadToEnd()
|
||||
$prog.WaitForExit()
|
||||
if ($prog.ExitCode -eq 0){
|
||||
Write-Host "Scheduled defragmentation removed"
|
||||
} else {
|
||||
if ($err -like '*cannot find the file*'){
|
||||
Write-Host "No scheduled defragmentation task found"
|
||||
exit 0
|
||||
} else {
|
||||
Write-Host "Error while deleting scheduled defragmentation task: $err"
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
try {
|
||||
$state = (Get-ScheduledTask -ErrorAction Stop -TaskName "ScheduledDefrag").State
|
||||
Write-Host "Scheduled defragmentation task found in state: $state"
|
||||
}
|
||||
catch {
|
||||
Write-Host "No scheduled defragmentation task found"
|
||||
exit 0
|
||||
}
|
||||
Write-Host "Unregistering scheduled defragmentation task"
|
||||
Unregister-ScheduledTask -ErrorAction Stop -Confirm:$false -TaskName ScheduledDefrag
|
||||
Write-Host "Scheduled Defragmentation task was cancelled"
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
. "$PSScriptRoot\..\..\provisioning\common\windows\helpers.ps1"
|
||||
|
||||
# Disable the NTP from syncing
|
||||
Run-Executable "w32tm.exe" "/config /syncfromflags:NO"
|
||||
@@ -1,88 +0,0 @@
|
||||
. "$PSScriptRoot\..\..\provisioning\common\windows\helpers.ps1"
|
||||
|
||||
# This script will remove unneeded Tasks from Task Scheduler
|
||||
|
||||
# Application Experience 'Microsoft Compatibility Appraiser' - "Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program."
|
||||
DisableSchedulerTask "Application Experience\Microsoft Compatibility Appraiser"
|
||||
|
||||
# Application Experience 'ProgramDataUpdater' - "Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program"
|
||||
DisableSchedulerTask "Application Experience\ProgramDataUpdater"
|
||||
|
||||
# Autochk 'Proxy' - "This task collects and uploads autochk SQM data if opted-in to the Microsoft Customer Experience Improvement Program."
|
||||
DisableSchedulerTask "Autochk\Proxy"
|
||||
|
||||
# Chkdsk 'ProactiveScan' - "NTFS Volume Health Scan"
|
||||
DisableSchedulerTask "Chkdsk\ProactiveScan"
|
||||
|
||||
# Chkdsk 'SyspartRepair'
|
||||
DeleteSchedulerTask "Chkdsk\SyspartRepair"
|
||||
|
||||
# Customer Experience Improvement Program 'Consolidator' - "If the user has consented to participate in the Windows Customer Experience Improvement Program, this job collects and sends usage data to Microsoft."
|
||||
DisableSchedulerTask "Customer Experience Improvement Program\Consolidator"
|
||||
|
||||
# Customer Experience Improvement Program 'sbCeip' - "The USB CEIP (Customer Experience Improvement Program) task collects Universal Serial Bus related statistics and information about your machine and sends it to the Windows Device Connectivity engineering group at Microsoft. The information received is used to help improve the reliability, stability, and overall functionality of USB in Windows. If the user has not consented to participate in Windows CEIP, this task does not do anything."
|
||||
DisableSchedulerTask "Customer Experience Improvement Program\UsbCeip"
|
||||
|
||||
# Device Information 'Device'
|
||||
DisableSchedulerTask "Device Information\Device"
|
||||
|
||||
# Diagnosis 'Scheduled' - "The Windows Scheduled Maintenance Task performs periodic maintenance of the computer system by fixing problems automatically or reporting them through Security and Maintenance."
|
||||
DisableSchedulerTask "Diagnosis\Scheduled"
|
||||
|
||||
# DiskDiagnostic 'Microsoft-Windows-DiskDiagnosticDataCollector' - "The Windows Disk Diagnostic reports general disk and system information to Microsoft for users participating in the Customer Experience Program."
|
||||
DisableSchedulerTask "DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector"
|
||||
|
||||
# ExploitGuard 'ExploitGuard MDM policy Refresh' - "Task for applying changes to the machine's Exploit Protection settings."
|
||||
DisableSchedulerTask "ExploitGuard\ExploitGuard MDM policy Refresh"
|
||||
|
||||
# Feedback/Siuf 'DmClient'
|
||||
DisableSchedulerTask "Feedback\Siuf\DmClient"
|
||||
|
||||
# Feedback/Siuf 'DmClient'OnScenarioDownload'
|
||||
DisableSchedulerTask "Feedback\Siuf\DmClientOnScenarioDownload"
|
||||
|
||||
# File Classification Infrastructure 'Property Definition Sync'
|
||||
DisableSchedulerTask "File Classification Infrastructure\Property Definition Sync"
|
||||
|
||||
# InstallService 'ScanForUpdates'
|
||||
DisableSchedulerTask "InstallService\ScanForUpdates"
|
||||
|
||||
# InstallService 'ScanForUpdatesAsUser'
|
||||
DisableSchedulerTask "InstallService\ScanForUpdatesAsUser"
|
||||
|
||||
# LanguageComponentsInstaller 'Installation' - "Install language components that match the user's language list."
|
||||
DisableSchedulerTask "LanguageComponentsInstaller\Installation"
|
||||
|
||||
# LanguageComponentsInstaller 'ReconcileLanguageResources' - "Install language components that match the user's language list."
|
||||
DisableSchedulerTask "LanguageComponentsInstaller\ReconcileLanguageResources"
|
||||
|
||||
# PI 'Secure-Boot-Update' - "This task updates the Secure Boot variables."
|
||||
DisableSchedulerTask "PI\Secure-Boot-Update"
|
||||
|
||||
# PI 'Sqm-Tasks' - "This task gathers information about the Trusted Platform Module (TPM), Secure Boot, and Measured Boot."
|
||||
DisableSchedulerTask "PI\Sqm-Tasks"
|
||||
|
||||
# Power Efficiency Diagnotics 'AnalyzeSystem' - "This task analyzes the system looking for conditions that may cause high energy use."
|
||||
DisableSchedulerTask "PushToInstall\Registration"
|
||||
|
||||
# Servicing 'StartComponentCleanup'
|
||||
DisableSchedulerTask "Servicing\StartComponentCleanup"
|
||||
|
||||
# SettingSync 'BackgroundUploadTask'
|
||||
DeleteSchedulerTask "SettingSync\BackgroundUploadTask"
|
||||
|
||||
# SoftwareProtectionPlatform 'SvcRestartTask' - "This task restarts the Software Protection Platform service at the specified time"
|
||||
DeleteSchedulerTask "SoftwareProtectionPlatform\SvcRestartTask"
|
||||
|
||||
# SoftwareProtectionPlatform 'SvcRestartTaskLogon' - "This task restarts the Software Protection Platform service at the specified time"
|
||||
DisableSchedulerTask "SoftwareProtectionPlatform\SvcRestartTaskLogon"
|
||||
|
||||
# SoftwareProtectionPlatform 'SvcRestartTaskNetwork' - "This task restarts the Software Protection Platform service when a new network is detected"
|
||||
DisableSchedulerTask "SoftwareProtectionPlatform\SvcRestartTaskNetwork"
|
||||
|
||||
# UNP 'RunUpdateNotificationMgr'
|
||||
DeleteSchedulerTask "UNP\RunUpdateNotificationMgr"
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
# Disable UpdateOrchestrator
|
||||
|
||||
$name = "UpdateOrchestrator"
|
||||
$path = "C:\Windows\System32\Tasks\Microsoft\Windows\$name"
|
||||
|
||||
takeown /F $path /A /R
|
||||
icacls $path /grant Administrators:F /T
|
||||
SCHTASKS /Change /TN "Microsoft\Windows\$name\Reboot" /DISABLE
|
||||
del "$path\Schedule Scan"
|
||||
del "$path\Schedule Scan Static Task"
|
||||
del "$path\Backup Scan"
|
||||
del "$path\UpdateModelTask"
|
||||
del "$path\USO_UxBroker"
|
||||
|
||||
# Disable Update orchestrator service
|
||||
reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsoSvc" /V Start /T REG_dWORD /D 4 /F
|
||||
@@ -1,63 +0,0 @@
|
||||
###########################################################################
|
||||
##
|
||||
## Copyright (C) 2019 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL21$
|
||||
## Commercial License Usage
|
||||
## Licensees holding valid commercial Qt licenses may use this file in
|
||||
## accordance with the commercial license agreement provided with the
|
||||
## Software or, alternatively, in accordance with the terms contained in
|
||||
## a written agreement between you and The Qt Company. For licensing terms
|
||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||
## information use the contact form at http://www.qt.io/contact-us.
|
||||
##
|
||||
## GNU Lesser General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
## General Public License version 2.1 or version 3 as published by the Free
|
||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||
## following information to ensure the GNU Lesser General Public License
|
||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
##
|
||||
## As a special exception, The Qt Company gives you certain additional
|
||||
## rights. These rights are described in The Qt Company LGPL Exception
|
||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
##
|
||||
## $QT_END_LICENSE$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# Turning off win defender.
|
||||
#
|
||||
# If disabled manually, windows will automatically enable it after
|
||||
# some period of time. Disabling it speeds up the builds.
|
||||
# NOTE! Windows Defender Antivirus needs to be turned off!
|
||||
# Open 'gpedit.msc': 'Computer Configuration' - 'Administrative Templates' - 'Windows Components' - 'Windows Defender Antivirus'
|
||||
# Edit 'Turn off Windows Defender Antivirus' > 'Enabled' > 'Apply'
|
||||
|
||||
|
||||
. "$PSScriptRoot\..\..\provisioning\common\windows\helpers.ps1"
|
||||
|
||||
Run-Executable "reg.exe" "ADD `"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender`" /V DisableAntiSpyware /T REG_dWORD /D 1 /F"
|
||||
|
||||
# 'Windows Defender Cache Maintenance' - "Periodic maintenance task."
|
||||
DisableSchedulerTask "Windows Defender\Windows Defender Cache Maintenance"
|
||||
|
||||
# 'Windows Defender Cleanup' - "Periodic cleanup task."
|
||||
DisableSchedulerTask "Windows Defender\Windows Defender Cleanup"
|
||||
|
||||
# 'Windows Defender Scheduled Scan' - "Periodic scan task."
|
||||
DisableSchedulerTask "Windows Defender\Windows Defender Scheduled Scan"
|
||||
|
||||
# 'Windows Defender Verification' - "Periodic verification task."
|
||||
DisableSchedulerTask "Windows Defender\Windows Defender Verification"
|
||||
|
||||
# Disable 'QueueReporting' - "Windows Error Reporting task to process queued reports."
|
||||
DisableSchedulerTask "Windows Error Reporting\QueueReporting"
|
||||
|
||||
# Disable WindowsUpdate from Task Scheduler
|
||||
DisableSchedulerTask "WindowsUpdate\Scheduled Start"
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user