meta-qt6/coin/test-lts.inc
Samuli Piippo dbbb59a2f5 Coin: add branch and repo overrides for lts modules
Until the opensource lts releases are pushed to code.qt.io,
we need to override the git configurations to fetch the modules
from the tqtc repos. This add the same configs as qt6-lts.inc did
when the release was commercial-only, but only for the CI builds.

Change-Id: I789b3600c3aa0a33beeff3cf895944fae51de86c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-02-15 08:30:25 +00:00

19 lines
1.1 KiB
PHP

python __anonymous () {
modules = [
'gn', 'qt3d', 'qt5compat', 'qtapplicationmanager', 'qtbase', 'qtcharts',
'qtcoap', 'qtconnectivity', 'qtdatavis3d', 'qtdeclarative', 'qtdeviceutilities',
'qtimageformats', 'qtinterfaceframework', 'qtlottie', 'qtmqtt', 'qtmultimedia',
'qtnetworkauth', 'qtopcua', 'qtpositioning', 'qtquick3d', 'qtquicktimeline',
'qtremoteobjects', 'qtscxml', 'qtsensors', 'qtserialbus', 'qtserialport',
'qtshadertools', 'qtsvg', 'qttools', 'qttranslations', 'qtvirtualkeyboard',
'qtwayland', 'qtwebchannel', 'qtwebengine', 'qtwebsockets', 'qtwebview'
]
for module in modules:
for pn in [ module, '%s-native' % module, 'nativesdk-%s' % module ]:
d.setVar('QT_GIT:pn-%s' % pn, d.getVar('QT_COMMERCIAL_GIT'))
d.setVar('QT_GIT_PROTOCOL:pn-%s' % pn, d.getVar('QT_COMMERCIAL_GIT_PROTOCOL'))
d.setVar('QT_MODULE_REPO:pn-%s' % pn, 'tqtc-%s.git' % d.getVar('QT_MODULE'))
d.setVar('QT_MODULE_BRANCH:pn-%s' % pn, 'tqtc/lts-%s-opensource' % d.getVar('QT_MODULE_BRANCH'))
}