aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * Dev package: Collect from all directories except tests/ and share/Eike Ziller2017-07-281-6/+5
| | | | | | | | | | | | | | | | Except for the qmlpuppet directories under share/. Some plugins have other directories to look into than plugins/. Change-Id: I89cc61d02c39ecee2cfb6db72986003651ca4b9c Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Clang: Make clangCompleteAt.sh work with standard headersNikolai Kosjar2017-07-241-1/+1
| | | | | | | | | | | | | | | | | | | | "clang -cc1" is the frontend only and as such it does not have any include paths set. Use -Xclang <arg> instead. [1] https://clang.llvm.org/docs/FAQ.html#id2 Change-Id: I372601cae5c672562b63fa07ed9e638e984fdd58 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* | Scripts: Add ninjawrapper.pyTobias Hunger2017-06-151-0/+31
| | | | | | | | | | | | | | | | Add a small python program to wrap ninja and split its output nicely into stdout and stderr. Change-Id: Ib2fae405c170ea15910de20d5f45aaab75aa89cb Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | Merge remote-tracking branch 'origin/4.3'Eike Ziller2017-04-191-2/+2
|\| | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/genericprojectmanager/genericproject.cpp src/plugins/genericprojectmanager/genericproject.h src/plugins/genericprojectmanager/genericprojectnodes.cpp src/plugins/genericprojectmanager/genericprojectnodes.h Change-Id: Ie0c870f68c8d200a75489b75860987655b2f6175
| * Specify absolute path to macdeployqtJake Petroules2017-04-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | This script receives the QT_INSTALL_BINS directory as an input argument, so make use of it so that the caller does not need to have that path in the PATH in order to find macdeployqt. Change-Id: I5e5197104119a19ecda83c3bbc256f3fe492c0a6 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Add perltest2tasks.plFriedemann Kleint2017-04-051-0/+83
|/ | | | | | | | Add helper script to convert messages of the Perl module Test::More into Qt Creator task files. Change-Id: Ie04871f25e0cba880adaf89b557c475c3aa65244 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* macOS: Fix deployment of clang helpersEike Ziller2017-03-301-8/+4
| | | | | | | | | | They worked but still had wrong, additional rpaths to the Qt they were built with. Remove handling of ClangCodeModel which doesn't link to clang anymore. Change-Id: I5c1fa59b3659dc8205b782fa8aac8b700b17a98a Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* deployqtHelper_mac: Add helper variable for resource pathEike Ziller2017-03-301-21/+22
| | | | | | | Shortens strings Change-Id: Idba3130e07ec99ecd370a75a2bd257223ce1f966 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* macOS: Fix deployment of qbs_processlauncher and qbs-create-projectEike Ziller2017-03-301-1/+3
| | | | | Change-Id: If38d11b452dc37dc3a5694c57d43a7a4e1635904 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Merge remote-tracking branch 'origin/4.2' into 4.3Eike Ziller2017-03-101-0/+1
|\ | | | | | | Change-Id: I2f32404f36ed885e78a7616da2f686943a8c8471
| * Include doc/ in dev packageEike Ziller2017-03-091-0/+1
| | | | | | | | | | Change-Id: I64798d47d9f28826295d555432e3a1f63bbdde20 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Merge remote-tracking branch 'origin/4.2'Eike Ziller2017-02-271-3/+4
|\| | | | | | | Change-Id: I9006dd493707ae626ae3502541599c8789e1aab0
| * gcc2tasks.pl: Also detect errorsFriedemann Kleint2017-02-201-3/+4
| | | | | | | | | | | | | | | | Previously, the script would only detect warnings. Adapt the pattern to capture errors as well. Change-Id: I15ad97a9a1305aab91c046518f3c46b2e0c55127 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* | Scripts: Make dependencyinfo script working againChristian Stenger2017-02-231-19/+23
|/ | | | | | | | | | | | | | | | | Due to the change of using json based plugin information instead of xml based (pluginspec) this script became disfunctional long time ago.. Adapt the script to use the json information generated while building QC. This script is still intended to find unused or unlisted dependecies of plugins. Prerequisites: Linux platform Usage (just as before): inside the build directory of QC just run the script directly or pass it to the Python interpreter. (still limited to Python 2.x with x>=7) Change-Id: I92b48327944df1239e9fac7fbd8ed1bee4fefa61 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Dev package: Add headers and .pri files from qmlpuppetEike Ziller2017-02-011-0/+1
| | | | | | | Needed by Qt Quick Designer plugins. Change-Id: Id759e110c31bb4d5f45811be5d910b973022e2cd Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Dev package: Add all .pri filesEike Ziller2017-01-311-7/+1
| | | | | | | | E.g. Qt Quick designer provides custom .pri files which are used by designer plugins. Change-Id: I73daa3ef4911120b12f7e320aefe3e67cf507fba Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* createDevPackage: Support extra pluginsEike Ziller2016-12-191-8/+3
| | | | | Change-Id: Ie05b59dc3c17dceeee6bb74d9ae02dd7d29e4d2e Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Support Python3 in deploy scriptsOrgad Shaneh2016-12-192-23/+28
| | | | | Change-Id: I3a25306ed6babdbae09dcb0f8bc2c5c337d36415 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Add script to convert MSVC static analyzer results to task filesFriedemann Kleint2016-12-091-0/+122
| | | | | | | | | | Add msanalyzer2tasks.pl, which does simple filtering on the XML files. Task-number: QTBUG-57086 Change-Id: I0ce0b1787aa54eac7cf6b3b9cdd258d5c9d62c60 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* purify2tasks.pl: Escape backslashes in messagesFriedemann Kleint2016-11-101-0/+1
| | | | | | | Purify sometimes has file names in its messages. Change-Id: If0fd8306f124a9f59938092ae2bfa4efaca64f5d Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Merge remote-tracking branch 'origin/4.1' into 4.2Eike Ziller2016-11-011-1/+1
|\ | | | | | | Change-Id: Ic536dc74b969dce910ec6b91e5a308e97348b8bf
| * Source packages: Fix that tar.xz was not xz but gzEike Ziller2016-10-281-1/+1
| | | | | | | | | | Change-Id: I5379cdfe963f53cca04317ea51f544c40743db7b Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
* | Merge remote-tracking branch 'origin/4.1' into 4.2Eike Ziller2016-10-241-2/+0
|\| | | | | | | | | | | | | | | Conflicts: scripts/deployqtHelper_mac.sh src/plugins/ios/iostoolhandler.cpp Change-Id: I06219e1c137e8f58f295da423363360457fa0b11
| * Remove deployment of iossim toolVikas Pachdha2016-10-201-2/+0
| | | | | | | | | | | | | | iossim tool no longer exists and it is replaced by Xcode's simctl tool Change-Id: I4f4dbdc8b8e91663109c289b75a21dd92d966018 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | Merge remote-tracking branch 'origin/4.1' into 4.2Eike Ziller2016-10-142-55/+111
|\| | | | | | | Change-Id: Ib5b66f97374a4e330aa6fa9e604378da29290d65
| * Extend source creation script for other plugins/componentsEike Ziller2016-10-132-55/+111
| | | | | | | | | | | | | | And implement that in Python Change-Id: I08d555927efffb0f8a4bafb54064ac2e5e06d730 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
* | Ship qtdiag in binary packagesEike Ziller2016-09-152-8/+28
| | | | | | | | | | | | Task-number: QTCREATORBUG-16135 Change-Id: I29aabb697feaf6546c807263b037d70abc0cc5eb Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | deployqtHelper: Assign names to command line argumentsEike Ziller2016-09-081-38/+44
|/ | | | | Change-Id: I3870ce09c399743f30fa81ae3df51f65d47697b4 Reviewed-by: Eike Ziller <eike.ziller@qt.io>