aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* macOS: Disable library validation when signingEike Ziller2020-02-191-1/+3
| | | | | | | | | So we can load 3rdparty plugins even when the app is signed and notarized. Also give Qt Creator "debugging" capabilities, allowing it to attach to processes. Change-Id: Ia6bb8ab279920b75a96777eafebbb4e7454fda46 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* macOS: Fix signing issues with notarizationEike Ziller2020-02-183-31/+42
| | | | | | | | | | | | | | | Notarization requires signing with hardened runtime, but this added requirements to the additional plugins we copy into Qt Creator for the commercial package. This patch fixes an issue with an absolute RPATH still being left in extra plugins, and avoids copying plugins into an already signed application by not signing the 7zips, but only the contents in the open source disk image (and the installers are signed by the installer jobs anyhow). Change-Id: I8c945a0ad9df610b20a8ee110320875f255c65b4 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* macOS: Do really deep deep code signing for notarizationEike Ziller2020-02-101-3/+18
| | | | | | | | | | | | | Notarization is more picky than the regular code signing. All code outside of the "usual" binary directories must be signed separately, in addition to being codesigned with the application afterwards. That includes Imports/qtquick2 and Resources/libexec. We cannot just move these into e.g. MacOS/ or PlugIns/ either, because these directories may _only_ contain code, no other resources. Change-Id: Id05b2644e01b61e9c33d86617c6374225b50e7f3 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* macOS: Use hardened runtime when signingEike Ziller2020-02-071-1/+2
| | | | | | | Follow up of c2398e3067e425c3d21f9e1ef91f26feecefc372 Change-Id: I003f03097633202585d36a136136d84d8f3c2140 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* fix missing comma in source include patternsTim Jenssen2019-12-171-2/+2
| | | | | | | Task-number: QDS-1403 Change-Id: I907462f0978c1610ba2e7af10f386380f8ea18c7 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
* Add another QDS doc image file pathTim Jenssen2019-12-171-0/+1
| | | | | | Task-number: QDS-1403 Change-Id: I104480405033838a565f5a596ab43404db5f40dc Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* macOS deploy: Remove debug folders from deployed Qt and deploy qbs on demandEike Ziller2019-11-051-9/+14
| | | | | Change-Id: I2cd60da041c580e6599d867f1a95c2f868f4a800 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* macOS: Fix execution of helper executables with UIEike Ziller2019-11-051-24/+31
| | | | | | | | | | | | | | The qt.conf that is written into the Resources/ folder is used for the main Qt Creator executable, so that cannot be used for the helper executables. Move the executables one more level down and add a separate qt.conf for them. Fixes: QTCREATORBUG-23120 Change-Id: Icd8842d246a1bc0e8d44656e2bc580d6698afbda Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Scripts: Fix helper script on macOSChristian Stenger2019-10-291-1/+1
| | | | | | | Broke with ca15e1ed0c04034373b56937de2e18bcfa2cfc57. Change-Id: Ife884234ff8716b3019f2d302598c887d1498a92 Reviewed-by: David Schulz <david.schulz@qt.io>
* QmlDesigner: add 3d assetimporter pluginsTim Jenssen2019-10-281-0/+13
| | | | | | | macdeployqt was not enough because this is a runtime dependency Change-Id: Idde6db46a4761288aec364cc83969a533e69816b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* add assetimporters as a new QtQuickDesigner depdencyTim Jenssen2019-10-241-1/+1
| | | | | | | | | | This is used to import QtQuick3d content as resources in the designer. Not sure if we need the qtmodule QtQuick3d in QtCreator if QtCreator also want to offer that functionality Change-Id: I7b50b820916dbe0bc0a0fc6dedc29fcb08d54f3b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Deploy clazy-standalone for the ClangTools pluginNikolai Kosjar2019-10-082-0/+6
| | | | | Change-Id: If554d3ade48da8d3877770d7e42af7185b30ceb6 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Deploy clang-tidy binary for the ClangTools pluginNikolai Kosjar2019-08-272-0/+6
| | | | | Change-Id: I4491c985cdcb93ca94be491d1acb9d960f96a190 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Deploy clangd binary also on macOSNikolai Kosjar2019-08-021-0/+2
| | | | | | | Amends c1a0d897327af3e63ab00e7b0f5a9101991ed713. Change-Id: I81c23522d2332c9db442ceadf94559407fd3594f Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* update image paths in dev package scriptTim Jenssen2019-07-091-1/+2
| | | | | | Change-Id: I169709e0f7746fdd9b44cf095c2c5249f03658f4 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Clang: Fix tidy checksNikolai Kosjar2019-07-091-2/+2
| | | | | | | | | generateClangTidyChecks.py generated funny output as it was not considering new major categories. Fixes: QTCREATORBUG-22450 Change-Id: Ibd6d0cc7539c9fb846caacbe936770d0c960f04f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Merge remote-tracking branch 'origin/4.9' into 4.10Eike Ziller2019-06-031-1/+15
|\ | | | | | | | | | | | | | | Conflicts: qbs/modules/qtc/qtc.qbs qtcreator.pri Change-Id: Id73301c82c4ba50e0a886e850da2c92bbeed4dc3
| * add QTDS doc used image folders to dev packagesTim Jenssen2019-05-281-1/+15
| | | | | | | | | | Change-Id: I06b38d9b66833ee161728e7dfad2e11a5afd4f81 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Merge remote-tracking branch 'origin/4.9'Eike Ziller2019-05-081-3/+3
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/src/howto/creator-sidebar-views.qdoc doc/src/howto/creator-ui.qdoc qbs/modules/qtc/qtc.qbs qtcreator.pri src/plugins/autotest/testresultmodel.cpp src/plugins/autotest/testresultmodel.h Change-Id: I24cc585ca7782cb1d9cb0b8b73b46892b41937fd
| * Add perfparser to source packageEike Ziller2019-04-291-3/+3
| | | | | | | | | | | | Change-Id: If984f7fbea15d9d6c9efb4b80a219afeae6e1baa Fixes: QTCREATORBUG-22348 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* | ClangFormat: Fix UI issuesIvan Donchevskii2019-04-261-1/+6
| | | | | | | | | | | | | | | | | | | | | | - 'Default' values remain so after save/load - the language is fixed to C++ - the project settings are shown correctly - fix parsing configuration file - do not trigger slots when we fill the table Change-Id: I91b477721b5084803324cd38d0cfeb9d5650dd9f Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* | ClangFormat: Make UI not translatableIvan Donchevskii2019-04-251-12/+12
| | | | | | | | | | | | Change-Id: I69f8763f6337e8372e7bd24d82ea4b5f3f9fb7fe Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | ClangFormat: Improve the configuration UIIvan Donchevskii2019-04-251-0/+286
|/ | | | | | | | | | | | | Use QComboBox, QLineEdit and QPlainTextEdit to edit different option types. Show changes in the preview without pressing 'Apply' button. The clangformatchecks.ui file is generated with the python script that is a part of this commit. Change-Id: If5ff0acab6edd74f2e087e31fbd3ad1b9f847030 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* Packaging: Restrict 7zip to 2 threadsEike Ziller2019-04-122-2/+2
| | | | | | | | Otherwise can create out-of-memory situations on 32bit machines with many cores. Change-Id: I7cc862d30079ff0fb11a3c088ae38d73afce4b1e Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Add flake2tasks.py for converting output of the flake8 Python linter into ↵Friedemann Kleint2019-03-071-0/+50
| | | | | | | task files Change-Id: I85462c9323aaac91076f5025a761a9d1fb7208e4 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Clang: Fix build with GCC 5.3Nikolai Kosjar2019-01-241-4/+4
| | | | | Change-Id: I066c1c076c900e4eb3282e64b0b928327d15484d Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Clang: Make clazy UI more fine-grainedNikolai Kosjar2019-01-241-0/+131
| | | | | | | | | | | ...so that specific checks can be enabled/disabled. This replaces the level radio buttons in Tools > Options > C++ > Code Model > "Manage..." > Tab: Clazy. Task-number: QTCREATORBUG-21120 Change-Id: If468d79d3c309b287b4105d83ac31f0b1489c71c Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
* Make scripts/generateClangTidyChecks executableNikolai Kosjar2019-01-211-0/+0
| | | | | Change-Id: I52400415794691b706be25cf46252b91a4515f90 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* be able to build without qbsTim Jenssen2018-11-301-1/+3
| | | | | Change-Id: Ieaa836a5ec813d1d5b5439f2bfdce2ee4b15dcf7 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* reduce compression rate to save some RAMTim Jenssen2018-11-131-1/+1
| | | | | Change-Id: Icc124948a5223294e90fa27b7c4cf5924bdab5e2 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Deploy: Ship prebuilt clangd binary together with clangIvan Donchevskii2018-08-101-0/+4
| | | | | Change-Id: I67f4f8ba66cc5ced0871dd6471860210c1dd558e Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* ProjectExplorer: Autodetect clang-cl shipped with Qt CreatorIvan Donchevskii2018-08-091-0/+2
| | | | | | | | | In addition to Clang detect it's MSVC compatible twin in case we run on Windows. Change-Id: Id997a1a425ca6ce23513b40141f8697521e3cdae Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* Clang: Use the tree instead of the list for Clang-Tidy settingsIvan Donchevskii2018-05-251-0/+179
| | | | | | | | | | | | | | | | | List of checks does not give enough flexibility to select/unselect specific checks. The tree fixes that. Also remove Clang-Tidy checks line edit because it is now integrated into the tree mode as an alternative way of providing checks by pressing "Plain text edit" button. 'cpptools_clangtidychecks.h' is generated using python script 'generateClangTidyChecks.py' and clang-tidy from our LLVM/Clang 6.0 build. Change-Id: I2ed1738cb2cbbf8dac6aba563469f06f69b11593 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Fix code signature on macOSEike Ziller2018-05-143-2/+21
| | | | | | | | | | We build packages with extra debug info, but sign the application before removing the debug info for the release package. We have to codesign (potentially again) between copying and packaging. Task-number: QTCREATORBUG-20370 Change-Id: I5549ca5045eb995e5a61794473c2d0180b778711 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Fix wayland plugin deploymentEike Ziller2018-05-021-2/+6
| | | | | | | | | The functionality is spread over several plugins, not just the platform plugin. Task-number: QTCREATORBUG-20354 Change-Id: I3b120d1792be31c98707e2e60124911f3d138188 Reviewed-by: Johan Helsing <johan.helsing@qt.io>
* qdoc2tasks.pl: Print messages continued over several linesFriedemann Kleint2018-02-211-1/+18
| | | | | | | | | | | | | | For example: qtandroidextras/src/androidextras/android/qandroidfunctions.cpp:301: (qdoc) warning: clang found diagnostics parsing \fn bool QtAndroid::bindService(const QAndroidIntent &serviceIntent, const QAndroidServiceConnection &serviceConnection, BindFlags flags = BindFlag::None) error: use of undeclared identifier 'QtAndroid' error: unknown type name 'QAndroidIntent' error: unknown type name 'QAndroidServiceConnection' error: unknown type name 'BindFlags' error: use of undeclared identifier 'BindFlag' Change-Id: Ie9a9accf97cdd639b8a8a9ff908a73588fc15ff5 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Add sphinx2tasks.pl for converting sphinx warning logs into .tasks filesFriedemann Kleint2018-02-211-0/+54
| | | | | | Task-number: PYSIDE-363 Change-Id: Ic3935d579cf4b13b46f339e273aad5f5dd30bd6c Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* add qmltooling plugin dir to deployqt.pyTim Jenssen2018-01-311-1/+3
| | | | | Change-Id: Ie9436c6a29d153400bd8aa4547b8b9abf310f6a6 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* fix deploy Qt for renamed QtCreatorTim Jenssen2018-01-291-7/+9
| | | | | Change-Id: I7abd20ae8ad91ac5a7bf0d5daa856c0615ae3b10 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* qdoc2tasks.pl: Adapt to changed message format in Qt 5.11Friedemann Kleint2018-01-261-2/+3
| | | | | | | Account for the additional '(qdoc)'. Change-Id: Ibef4dfba66bcc2eb1d47535b9e6501ed3a47e968 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Filter debug info out when creating macOS disk imageEike Ziller2018-01-234-61/+75
| | | | | | | Move the script to Python for that, for code sharing Change-Id: I1a0b1ed7fe3ed4413045d478c82621d75800520e Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
* Fix copying of symlinks when creating packageEike Ziller2018-01-171-1/+1
| | | | | | | Another fixup of fd54a377fed0e925678c6572b786ae371cd64aef Change-Id: Ica9635f37a98eba7277517c70ae59409ca71f176 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Add make target for creating packages with debug infoEike Ziller2018-01-151-0/+76
| | | | | | | | | | | | | | | Add a script that creates either a release binary package, or a package with debug info, from a Qt Creator build with CONFIG+=force_debug_info CONFIG+=separate_debug_info Run "make bindist_installer" for the release package and "make bindist_debug" for the package with only debug info. First step for QTCREATORBUG-13002 Change-Id: I9d45db7f41f4af956221f6feb7c4e8ca7154892e Reviewed-by: Iikka Eklund <iikka.eklund@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Remove outdated installer creation script and resourcesEike Ziller2017-12-071-155/+0
| | | | | | | | | | It is no longer used (it is using same scripts as Qt now), and contains outdated resources. Change-Id: I0576d694ef16ced49303dfc4d6075b742dbcc3b1 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Packages: Deploy styles plugins (new in Qt 5.10)Eike Ziller2017-10-251-1/+1
| | | | | | Task-number: QTCREATORBUG-19150 Change-Id: I6673437a6f1bc322f7b40c10f98982a54aca1306 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Add clazyweb2tasks.pl for converting Clazy logs into .tasks filesFriedemann Kleint2017-10-191-0/+61
| | | | | Change-Id: I68a96b1124a8fa6d5e47253c29a94ae41a238fed Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Merge remote-tracking branch 'origin/4.4' into 4.5Orgad Shaneh2017-10-041-0/+1
|\ | | | | | | Change-Id: I9b7cb3d845628abf69a73a279f5a79202c0976c2
| * Dev package: Include .hpp filesEike Ziller2017-09-261-0/+1
| | | | | | | | | | | | | | Like optional.hpp Change-Id: I1cc804834f34982dedfae0597179e523ff3bf522 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Clang: Unify compiler options buildersIvan Donchevskii2017-09-221-2/+0
|/ | | | | | | | Make build command the same for all builders. Minimize differences. Change-Id: I1cfe5071b3afb4944ed178fff1e57d3aee45d8a9 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* Merge remote-tracking branch 'origin/4.3' into 4.4Eike Ziller2017-07-281-6/+5
|\ | | | | | | Change-Id: I4876ce528e2422f63280535fe4f9dd6610a75dec