aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* build.py: Generate SBOM by defaultEike Ziller2025-07-231-4/+15
| | | | | | | | | But disable it for the OldestQt in the PRECHECK, since that doesn't support it. Change-Id: I1f3a34225e5c09dc22827657e3b81ca0602eda56 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Scripts: Handle "nothing installed" case gracefully for plugin buildsEike Ziller2025-06-171-9/+16
| | | | | | | | | | When (temporarily) turning off the QmlDesigner build, the separate QmlDesigner plugin repository build results in nothing being installed. The 7zip call and signing code then fails if the installation directory isn't even created as a consequence. Change-Id: I14cc9504b6a5d653ab94845423e266d2cb8caf42 Reviewed-by: David Schulz <david.schulz@qt.io>
* Coin/GitHub Actions: Update LLVM to version 20.1.3Cristian Adam2025-04-251-3/+5
| | | | | | | | | Starting with LLVM 20.1.3 clazy-standalone doesn't come with the ClazyPlugin.so|dylib dependency, thus there is no need to deploy it. Task-number: QTCREATORBUG-32582 Change-Id: Id452e53c60231633d8647cf5d4d40e55c0503e43 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* gcc2tasks.pl: Catch "fatal error" (missing includes) as wellFriedemann Kleint2025-03-311-1/+5
| | | | | | | As a drive-by, print the issue count as the other scripts do. Change-Id: If1dc4cfb64c03a716190569d5241a309bde55b80 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Move license into LICENSES subdirAlexandru Croitor2025-03-271-1/+1
| | | | | | | | In preparation for SBOM creation, where we will refer to all licenses in the LICENSES subdirectory. Change-Id: I73e54ca0ccf6736c7b03165c2067ab225903b128 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* LibArchive: Allow using system libarchiveMarcus Tillmanns2025-03-201-3/+1
| | | | | | Fixes: QTCREATORBUG-32624 Change-Id: I4e76cbc44c97801ee2b0a2875c7f13bc9aa0b50f Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Merge remote-tracking branch 'origin/qds/dev'Tim Jenssen2025-01-061-2/+48
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: share/qtcreator/templates/wizards/projects/qtquickuiprototype/wizard.json src/libs/sqlite/sqliteids.h src/plugins/effectcomposer/effectshaderscodeeditor.cpp src/plugins/qmldesigner/qmlpreviewplugin/qmlpreviewactions.cpp src/tools/tools.qbs Change-Id: Ia89da2e6704c10f91f4066210cddd1f3239e85b9
| * QmlDesigner: improve terminology consistencyTim Jenßen2024-12-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Removed secondary name "QML Emulation Layer," which was introduced to hide the term "QML Puppet" from normal users - "QML Puppet" settings are nowadays hidden from normal users anyway - Added crash info indicating it is an internal process; this is the only location where "QML Puppet" is exposed to normal users - Removed outdated CMake comments Task-number: QDS-13345 Change-Id: Idb8b909580269a8396842f1cc4ad056649075d01 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
| * rename qml2puppet to qmlpuppetTim Jenßen2024-12-121-1/+1
| | | | | | | | | | | | | | | | | | | | Reduce confusion that the 2 does not mean qml is transported. It was the version when we had 1 and 2, but one is gone long ago. Task-number: QDS-13345 Change-Id: Ie1664f4fd489182e5e234e31b4bf92a5f547323e Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
| * Build/deploy: solve missing QtWebEngineProcess dependencyTim Jenßen2024-12-091-0/+46
| | | | | | | | | | | | Task-number: QDS-14292 Change-Id: Ib464df3e0f11d48625c78b35c7d39b3e7b693076 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | KArchive: Add creator specific changesMarcus Tillmanns2024-12-101-0/+3
|/ | | | | Change-Id: I8227bffd0e83d69d456e49a9d5f66a5ef00ba60e Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Scripts: Small download improvementsEike Ziller2024-11-221-6/+24
| | | | | | | | | | - better readable message - first download to temporary (-part), then move to target (makes it more obvious which files have finished on disk) - add option for skipping downloading existing files Change-Id: Ie36b4b65b7e7a206a54cec8d643095970d85ff07 Reviewed-by: David Schulz <david.schulz@qt.io>
* Scripts: Share a useful functionEike Ziller2024-11-122-9/+10
| | | | | | | To be used in upcoming scripts Change-Id: I56bb024f35b1feb156deae122235d09116d4eaa1 Reviewed-by: David Schulz <david.schulz@qt.io>
* Build: Unify archive creationEike Ziller2024-11-114-14/+17
| | | | | | | | | Between building Qt Creator, extra plugins, and sdktool. This adds avoiding arm-specific 7zip methods to the sdktool build, which cannot be extracted with p7zip on Linux. Change-Id: Ibc8a18967b6c4e7869a4a86680da9005f70d498b Reviewed-by: David Schulz <david.schulz@qt.io>
* COIN: Add instructions for oldest supported Qt versionEike Ziller2024-11-072-8/+12
| | | | | | | | | And fix installation of ICU, that was installed at the wrong location (the toplevel Qt directory instead of lib/, which didn't matter on systems where the right ICU version was preinstalled anyway) Change-Id: I53dcd6126b7b46358dd9aa0622e58a8c614bff3f Reviewed-by: David Schulz <david.schulz@qt.io>
* Build: Fix zipping of dev package on LinuxEike Ziller2024-11-072-2/+8
| | | | | | | | | | | | Official 7zip normally checks for the existence of symlink targets, and fails if they do not. That can be avoided with a command line flag. This is important for the dev packages on Linux, where the libFoo.so is a symlink to the actual library, and the symlink is part of the dev package, but the actual library part of the non-dev package. Change-Id: Ibd5855c4e106c96058a693d87e84d0f2d8f93365 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Patrik Teivonen <patrik.teivonen@qt.io>
* COIN: Make independent from internal scriptsEike Ziller2024-10-284-13/+358
| | | | | | | | | The coin scripts may no longer access the repository with the internal build scripts. Move (adapted versions of) the needed scripts into the repository itself. Change-Id: I0515b8d66bd917e32eaabf64a1c76cc852fbe5df Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* Build: Fix 7zip command for ARM machines also for pluginsEike Ziller2024-10-111-8/+11
| | | | | | | Amends 14e04c03252238b771a2cc251cce6b17f2075b96 Change-Id: Ice95e62d451f1d4d65245337d01ce7481501fdbb Reviewed-by: Antti Kokko <antti.kokko@qt.io>
* Merge remote-tracking branch 'origin/14.0'Eike Ziller2024-09-251-21/+21
|\ | | | | | | | | | | | | | | | | Conflicts: coin/instructions/build.yaml src/plugins/cppeditor/cpptoolsreuse.cpp src/plugins/projectexplorer/projectexplorer.cpp Change-Id: I26748c67ed58114b392704bbf4eba978b1048c80
| * Build: Fix archive creation on ARM WindowsEike Ziller2024-09-241-21/+21
| | | | | | | | | | | | | | | | | | Prevent 7z from using the "arm executable" compression algorithm, that cannot be extracted by pk7zip Task-number: QTCREATORBUG-31331 Change-Id: I1c6358bad90f4fc0f8e065cdda802c72a97bd129 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* | Remove outdated copyright related scriptsEike Ziller2024-09-122-160/+0
| | | | | | | | | | | | Change-Id: Ic805db07cf384eb2c654c4366bc89a9c725aab57 Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | Add a converter for converting an exported Axivion JSON table into a task fileFriedemann Kleint2024-07-101-0/+67
|/ | | | | Change-Id: If722af7472cc174e23a9d98e266874660e86842f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* build.py: Avoid ARM 7z compression filterEike Ziller2024-06-101-3/+6
| | | | | | | | | Which fails to extract with (older?) p7zip from Linux distributions, which is used for building online repositories. Change-Id: Ia9032293841cf192b9b2e0ff820ca4a8b7f47763 Reviewed-by: Patrik Teivonen <patrik.teivonen@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* Deploy qtplugininfoEike Ziller2024-03-041-2/+4
| | | | | | | | | It is useful for inspecting Qt Creator plugins and doesn't hurt. Change-Id: Ifefb3b17193e16b0f592b854477374dbcb5ab1b4 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* ClangFormat: Replace checks widget with editorArtem Sokolovskii2024-01-261-229/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The existing approach utilizing the widget poses maintenance challenges, primarily due to the dynamic nature of clang-format settings across versions. The widget necessitates regeneration for each new version, and compatibility issues arise when users have different clang-format versions on their devices. The updated solution adopts an Editor integrated with a yaml language server, offering the ability to highlight and provide code completion for the .clang-format file. This resolves the widget regeneration issue and ensures compatibility with various clang-format versions. - Replaced the checks widget with an editor - Introduced a line for yaml language server schema in .clang-format files to enable autocompletion. ToDo: Enhance schema accessibility without relying on this line. - Added Ctrl+Space shortcut for autocompletion - Added Ctrl+S shortcut for saving - Eliminated outdated logic related to the checks widget - Fixed copying and removal of clang-format settings Change-Id: I2e3fbf19abe2f4df031f6ba5faffd47e07274346 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Brush up task file conversion scriptsFriedemann Kleint2024-01-192-6/+11
| | | | | | | | | | | | Modernize them by using f-strings and print out the issue count. Make flake2tasks.py include the error number in the warning text. Change-Id: I2d736c27dd3b2356e2b0d0d20f95112e7c37d3f9 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Merge remote-tracking branch 'origin/qds/dev'Tim Jenssen2024-01-182-5/+8
|\ | | | | | | Change-Id: I5d593fc74785958886453dc0b452c25356a8c65f
| * scripts: add zip_threads argument to every callTim Jenssen2024-01-171-3/+3
| | | | | | | | | | Change-Id: Ie3fabbea5e8082f73eac71d8c7650a82fa706b30 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
| * scripts: add build sdk_tool optionTim Jenßen2024-01-171-2/+5
| | | | | | | | | | Change-Id: I1bfbcb1baead5fe351a785b126540c60bc5db3c3 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* | Merge remote-tracking branch 'origin/qds/dev'Tim Jenssen2023-12-141-8/+9
|\| | | | | | | Change-Id: I6c657f5b8c0602ca76e9b17b10f1ff7a38b1b8be
| * Build/deploy: fix missing argumentTim Jenssen2023-11-271-2/+2
| | | | | | | | | | | | Change-Id: Ia73cfac75d336d7e321aef4059bb0eb6e4e3ed31 Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
| * qds: add Qt Shade Baker binaryTim Jenssen2023-11-241-8/+9
| | | | | | | | | | | | | | Task-number: QDS-11387 Change-Id: Ibea4c241fcaaecffc7f3a29b8fc68fda442c5104 Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* | Scripts: Update compression algorithm for makedmgCristian Adam2023-11-241-1/+1
| | | | | | | | | | | | | | | | | | bzip2 has been marked as deprecated by hdutil. Change-Id: I647f1895c6b0d6456806d2ce3768fabcfdcfabc3 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* | qtcreatorcdbext: Deploy lldb on WindowsCristian Adam2023-11-151-1/+4
|/ | | | | | | | | | | | | Starting with LLVM 17.0.1 we include lldb in the list of packages compiled on Windows. This commit deploys lldb.exe and its Python required machinery. Fixes: QTCREATORBUG-14539 Change-Id: I7f44c537cbaf31bf2f065762bdc9a48dd5efc64d Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* build.py: Apply additional config to all buildsEike Ziller2023-10-101-2/+2
| | | | | | | | | Not only Qt Creator but also cdbextension & wininterrupt. Otherwise there is no way to pass additional configuration to these. Change-Id: I2bd4894f212df9795e1d66577bb25a26b29224a4 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Build/deploy: Move call to macdeployqt to deploy.pyEike Ziller2023-08-282-99/+64
| | | | | | | | | And get rid of deployqtHelper_mac.sh Change-Id: Iab8ba3e36f43c94b21f86a842eb1781a5ca462f2 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Build/deploy: Move llvm deployment to deploy.pyEike Ziller2023-08-282-59/+44
| | | | | | | | Moving things away from deployqtHelper_mac.sh Change-Id: Ifadbf763fdbf12b5e22fc037986eb1b018b96aef Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Build/deploy: Move qt.conf creation to deploy.pyEike Ziller2023-08-282-27/+47
| | | | | | | Moving things away from deployqtHelper_mac.sh Change-Id: I41810ac060bde63f3b11af852bb2e2f37d822bf4 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Build/deploy: Move copying translations to deploy.pyEike Ziller2023-08-282-16/+9
| | | | | | | Moving things away from deployqtHelper_mac.sh Change-Id: I0c37d111cdfb88c1ef2452d03ca2bcc542600521 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Build/deploy: Move copying imports to deploy.pyEike Ziller2023-08-282-23/+15
| | | | | | | Moving things away from deployqtHelper_mac.sh Change-Id: Ib12b3105cb632833b713b04596c8bffd80f15131 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Build/deploy: Move copying plugins to deploy.pyEike Ziller2023-08-282-49/+35
| | | | | | | | Moving things away from deployqtHelper_mac.sh Change-Id: I0470432a0ffa33437e3249d3fb3766d511073caf Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Build/deploy: Move copying qtdiag to deploy.pyEike Ziller2023-08-282-23/+31
| | | | | | | | | | Moving things away from deployqtHelper_mac.sh Change-Id: Ic71ad9a8ed522dc8c4eaa745ec519d9d705d1073 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* ClangFormat: Mention generator script in header warningAlessandro Portale2023-08-041-4/+4
| | | | | | | Change-Id: Iaaeb7b35088e0f9e3e724aaca161894b8fee6ffb Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ClangFormat: Update script for generating clangformatchecksArtem Sokolovskii2023-08-031-27/+25
| | | | | | | | | Updated for clang-format-16 Task-number: QTCREATORBUG-29434 Change-Id: Ib7fe12c19a6e3616760c146b623b150fb1df2c22 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Build: Remove outdated argument handlingEike Ziller2023-07-261-8/+1
| | | | | | | No longer used Change-Id: Ife7edad49c66ee2a59d67ea4eca72767f8d73a7a Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Build: Rename deployqt.py to deploy.pyEike Ziller2023-07-261-0/+0
| | | | | | | It hasn't been about just deploying Qt for a very long time. Change-Id: I72fb070db505909500d2e68f2bafb198c3342c2b Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Scripts: Make codesigning available more directlyEike Ziller2023-06-221-5/+23
| | | | | | | | | | | | | | Codesigning is done implicitly when using e.g. build.py but sometimes doing it explicitly is convenient. Add a main() to common.py and add arguments for triggering codesigning: python3 common.py codesign -s identity app_bundle Change-Id: I8b0f766cfae0ea9d8173f331792a14964993d705 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Merge remote-tracking branch 'origin/10.0'Eike Ziller2023-04-241-3/+10
|\ | | | | | | Change-Id: I8b36c1812b61dbe08fe3e7930f950e6b8e8a7079
| * deployqt: Support elfutils from Linux distributionEike Ziller2023-04-201-3/+10
| | | | | | | | | | | | | | | | | | | | | | Which can be in a more complicated directory than just /usr/lib, like /usr/lib/aarch64-linux-gnu . So, recursively look for the elf library to determine the right directory. Change-Id: I58ed8a045fbde50dea8851f63409a5a0863c3b16 Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* | Merge remote-tracking branch 'origin/10.0'Eike Ziller2023-04-132-0/+18
|\| | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/python/pipsupport.cpp src/plugins/qtsupport/exampleslistmodel.cpp src/plugins/qtsupport/examplesparser.cpp tests/auto/examples/tst_examples.cpp Change-Id: I00273622423fa99d41621969f6ecbbdaa0e18664