aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Dev package: Include .hpp filesEike Ziller2017-09-261-0/+1
| | | | | | | Like optional.hpp Change-Id: I1cc804834f34982dedfae0597179e523ff3bf522 Reviewed-by: Eike Ziller <eike.ziller@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>
* Fix that clang static analyzer did not find built-in headersEike Ziller2016-08-182-9/+19
| | | | | | | | | Clang expects these to lie in "../lib/clang" relative to the clang executable. Change-Id: I216860876591dca1fd728e4b1e79b4b07c965620 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* Also create .tar.xz source packagesEike Ziller2016-07-061-0/+1
| | | | | | Change-Id: I21959a06ca8f10b2622b5008c0d4af2c9a4da703 Reviewed-by: Helio Chissini de Castro <helio@kde.org> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Add script to create a "dev" package, and allow building against itEike Ziller2016-05-201-0/+138
| | | | | | | | | | | | | Collects all the needed data from a source and build directory, which then can be used instead of a source directory in combination with an installed Qt Creator, to build plugins. On Windows and OS X the plugin can still only built in the same mode (release or debug) as the used Qt Creator install. Change-Id: I21119cc0681f1a5f657c969f5d1e7a23d69aedfe Reviewed-by: Marco Benelli <marco.benelli@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
* Linux deployment: Only add RPATH to Qt if necessaryEike Ziller2016-05-131-9/+12
| | | | | | | | | Don't try to add an RPATH to Qt if the library/executable does not link to Qt. Chances are, that the reserved space for the RPATH is too short in that case. Change-Id: Ie8d50ede43d19236611fe56667995e58606062db Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Set execute permission on all scripts.Friedemann Kleint2016-04-075-0/+0
| | | | | Change-Id: I406665390406dca324c2c98dda37540b22a065df Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* packageIfw: Fix warningsEike Ziller2016-03-141-10/+10
| | | | | Change-Id: I3c8df19e1fb50e5d41413751f502cb5f7331bfc4 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* Installer: Support different display version than component versionEike Ziller2016-03-141-3/+10
| | | | | | | | | | | The component version must be numeric, but we want to display e.g. Qt Creator 4.0.0-beta1 in the installer title. The change adds a -d parameter to the script and adds corresponding replacement variables. Display version falls back to component version. Change-Id: Ia8bcd05444e280f8a44ab321b043f4031725600d Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* Windows/deployqt: Only ship necessary version of EGL/GLES libsEike Ziller2016-03-071-1/+5
| | | | | | Task-number: QTCREATORBUG-8296 Change-Id: Idf27427715f3234c077466b623d32829577f13c7 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* msvc2tasks.pl: Add support for clang-cl.exe and match errors, too.Friedemann Kleint2016-02-031-9/+32
| | | | | | | | | Move regexp filtering into subroutine for clarity. Task-number: QTCREATORBUG-15641 Task-number: QTBUG-50804 Change-Id: I2b78e82f41b83c64053b350b241f3c14246eb417 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* License change: Update makedmg.sh scriptTobias Hunger2016-01-201-2/+1
| | | | | Change-Id: I9068e57370a21d4567673ab8e3e4efb78a8561cb Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* Update License according to aggrement with Free Qt FoundationTobias Hunger2016-01-1920-154/+488
| | | | | | | | | * Make sure all scripts come with a license * Update the license in the scripts * Add scripts to help with license changes Change-Id: I38a25aa1287ee8a75e0f0307d1b30320d781ad1f Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Update License according to aggrement with Free Qt FoundationTobias Hunger2016-01-151-0/+207
| | | | | | | | | * Update license files in various places * Update the license template * Update README.md and appdata.xml Change-Id: I0ae9365b15364728165e79ba8ad86dfdd6cb9ddd Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
* Scripts: Fix deployqtChristian Stenger2015-11-111-1/+1
| | | | | | | | | | When comparing re.MatchObjects instead of real bools the objects normally aren't identical. This lead to filtering out all libraries and not copying anything to the respective directory. Change-Id: Ib17cc04d281620b142ac570475d8fdc4912eaa86 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* Packaging: Fix deployment for Qt5.6Eike Ziller2015-11-032-23/+33
| | | | | | | | | | | | | | Qt 5.6 builds with relative RPATH by default on Linux. Since this additionally leads to very short RPATHs, we cannot change the relative structure within the Qt installation (e.g. plugins in bin/, libs somewhere in lib/qtcreator/). Instead we now deploy qt into a self-contained lib/Qt/ folder, keeping the original structure, on Linux. Change-Id: I36136590379c3e7b02ba7de3345369e2384dcc95 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* Deployqt script: Stylistic changesEike Ziller2015-11-021-31/+20
| | | | | | | | | | | | | | | Pylint recommendations - filter -> list comprehension - whitespace fixes - unused import - unused variable - variable overriding builtin - missing exception types Also simplify copy-ignore-helper Change-Id: Ibf7c573af35d60937f23a85d7a52e20031f38c4b Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Add script for packaging a directory.Eike Ziller2015-10-233-68/+264
| | | | | | | | | | | Mostly 7zips the directory, all files must already be in place. On Linux the script also fixes the Qt related RPATHs. Changes the RPATH fixing to only change the Qt RPATH, instead of overwriting the complete RPATH to something custom. Change-Id: I1e07b7c0fcb4292197a4e743782a1392f6558747 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* Fix deployment of qml2puppetEike Ziller2015-10-192-9/+17
| | | | | | | | | | | | The move to LIBEXEC_PATH broke running the puppet from the packages on Linux and OS X, because there it cannot find the platform plugin anymore. We need to add a qt.conf for it, and because Qt Creator.app/Contents/ Resources already contains the qt.conf for Qt Creator itself, the puppet must also move to its own subdirectory on OS X. Change-Id: I8e8cc48c49a01e10c7d7d3cc4c73020195cd5ca9 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
* Windows: Also deploy clang.exeEike Ziller2015-10-141-0/+2
| | | | | | | We need both clang.exe and clang-cl.exe for mingw and msvc Change-Id: I2f8883f2ac42636699d4326d4d5f044b34b7d9ba Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* Allow packaging additional 7zips in the installerEike Ziller2015-10-091-10/+20
| | | | | Change-Id: I435602671ef5cde46580d4ca383930951765ebde Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Merge remote-tracking branch 'origin/3.5'Eike Ziller2015-09-011-3/+3
|\ | | | | | | Change-Id: Iebaabfc2f724cd493b7cab025406531cea5cd2dc