summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * Installer: Fix syntax for Python 3Orgad Shaneh2015-08-251-3/+3
| | | | | | | | | | Change-Id: I09a08f032b2cb774c0cf7d7290b9ab7e886137a2 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* | Merge remote-tracking branch 'origin/3.5'Eike Ziller2015-08-061-0/+150
|\ \ | |/ | | | | Change-Id: I1ce0fa92e5c469d591d3030d1a4f168dcee232ba
| * Clang: Add convenience script to check clang completionsNikolai Kosjar2015-08-051-0/+150
| | | | | | | | | | | | | | | | | | This one is useful for inspecting the completions we get from clang (e.g. for checking if the bug is in clang or in our code, or to compare the completions of different clang versions). Change-Id: If9dfe1b58a2b087ef6b92485e10ff272badf75c8 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
| * OS X: There is no qml(1)puppet anymore, so don't try to deploy itEike Ziller2015-07-141-6/+1
| | | | | | | | | | | | Change-Id: Ic3f3150e3295529082ca621ec27792b2d08caed1 Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com> Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
* | Linux: Deploy clang binaries to new libexec directoryEike Ziller2015-08-041-1/+1
| | | | | | | | | | | | | | | | moved from bin/ to libexec/ in master Change-Id: If6fd0b3241fbb62b09b163b6063a831c1bf592a4 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* | Follow-up fixes for the libexec path changeEike Ziller2015-07-151-7/+2
| | | | | | | | | | | | | | | | | | | | The fallback puppet must be found in libexecPath now. Deployment on OS X must also be adapted to the new location. Broke with 6d5a5aff9462b4253047f0ed2707ffa2e3497a19 Change-Id: I8dc3d62188a2f19a7e203f939bd88065fb0504f8 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com> Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
* | Merge remote-tracking branch 'origin/3.5'Eike Ziller2015-07-103-109/+30
|\ \ | |/
| * Deploy only the clang binary and its link targetEike Ziller2015-07-102-7/+16
| | | | | | | | | | | | | | | | | | Instead of all clang* which is too much on Windows (because they are copies instead of links), and we don't want clang-check on Linux and OS X either anyhow Change-Id: Ia08cf09efa5a23ec6b83bc5df18d09558810f72d Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>