aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/deployqt.py
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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>
* 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>
* 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>
* Support Python3 in deploy scriptsOrgad Shaneh2016-12-191-20/+22
| | | | | Change-Id: I3a25306ed6babdbae09dcb0f8bc2c5c337d36415 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Ship qtdiag in binary packagesEike Ziller2016-09-151-3/+13
| | | | | | Task-number: QTCREATORBUG-16135 Change-Id: I29aabb697feaf6546c807263b037d70abc0cc5eb Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Fix that clang static analyzer did not find built-in headersEike Ziller2016-08-181-6/+14
| | | | | | | | | 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>
* 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>
* 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-031-22/+32
| | | | | | | | | | | | | | 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-231-68/+42
| | | | | | | | | | | 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-191-8/+10
| | | | | | | | | | | | 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>
* 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>
* Merge remote-tracking branch 'origin/3.5'Eike Ziller2015-07-101-9/+24
|\
| * Deploy only the clang binary and its link targetEike Ziller2015-07-101-5/+10
| | | | | | | | | | | | | | | | | | 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>
| * Deploy clang binary for use by static analyzerEike Ziller2015-07-091-8/+16
| | | | | | | | | | Change-Id: Ia0ad96e18b754e2ac20a6dddd461d4d24c1a0db4 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
| * Deployqt: Make Qt Quick 1 imports optionalEike Ziller2015-07-091-1/+3
| | | | | | | | | | | | | | | | Since we do not need Qt Quick 1 to compile Qt Creator anymore, and it is a separate component in Qt now Change-Id: I1bd35ceca7d4bd3261221a8607a35a658bc857e5 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* | Use a proper libexec path for Unix builds.Christian Kandeler2015-07-091-0/+3
|/ | | | | | Change-Id: I036c806af47f07e60408a90d3a4e181a6773f866 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* Linux: Fix deployment of libclangEike Ziller2015-06-231-5/+16
| | | | | | | | We need the versioned name of the library now, so copy all libclang.so* while keeping symlinks as symlinks. Change-Id: Ia2cc5e82be0848a3c9b0cb3055e150e6b1a151c9 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Cpaster frontend: Fix deploymentEike Ziller2015-06-231-1/+2
| | | | | | | | | | | | | On OS X we may not set QMAKE_RPATH because otherwise the default rpath to the Qt libs is removed. Install the tool on Windows and Linux. Add the plugins path to the rpath on Linux. Also make the rpath when building relative instead of absolute on Linux. Change-Id: Ieb6a79d9f9f922d117736ae7b4ae65c784ade5c9 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Fix OpenGL on Linux with Qt 5.5Eike Ziller2015-06-051-1/+1
| | | | | | | The XCB platform plugin now needs a plugin for the OpenGL backend Change-Id: I5e7b296a0b645aec2a8d3ba80c53cb946e35e7f1 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* Update LicenseEike Ziller2015-01-161-2/+2
| | | | | Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* Deploy Qt platformthemes plugins with Qt CreatorKai Koehne2014-03-201-1/+1
| | | | | | | | | Makes sure Qt Creator integrates nicely e.g. with gtk. Task-number: QTCREATORBUG-11406 Change-Id: I4da11b42e9d407ee8456c6d43479839667ee13c1 Reviewed-by: hjk <hjk121@nokiamail.com> Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Win/Lin deployqt: fix check for LLVM_INSTALL_DIREike Ziller2014-02-121-1/+1
| | | | | | | | os.environ["LLVM_INSTALL_DIR"] throws an exception if the key is not in the dictionary. Change-Id: I0e9dc9dbaf5612db3c530a436161211b6f0351af Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Lin/Win: Deploy libclang and resources if neededEike Ziller2014-02-111-0/+21
| | | | | Change-Id: I4393a3e955e3810eea79221233c82c80a9de119e Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Incremented year in copyright infoRobert Loehning2014-01-081-1/+1
| | | | | | Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Deploy also platforminputcontext pluginsKai Koehne2013-05-161-1/+1
| | | | | | | | | This is required at least with Qt 5.1 / Linux. Task-number: QTCREATORBUG-8471 Change-Id: I7342193ef40fcc1a3e523d787c7521d6e810cd61 Reviewed-by: Gatis Paeglis <gatis.paeglis@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Fix deployqt for qt4Eike Ziller2013-05-031-5/+6
| | | | | | | Don't try to deploy qt quick 2 imports if they aren't there. Change-Id: I1146ad8a81973af9e80c82caad515fea45b1530e Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
* Deploy qtquick2 imports for qml2puppet.Eike Ziller2013-05-031-5/+15
| | | | | | | | Task-number: QTCREATORBUG-9235 Change-Id: I9fae92bd9c1a07066d7d312008a7e10613b414f7 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Deploy codec plugins on Lin/Win.Eike Ziller2013-02-271-1/+1
| | | | | | | | Task-number: QTCREATORBUG-8830 Change-Id: I3d2d917fc58dc3f62277ac4072b7dc2894fb7cd4 Reviewed-by: David Schulz <david.schulz@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Incremented year in copyright infov2.6.2Robert Loehning2013-01-291-1/+1
| | | | | Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Windows: Fix deploy script.Eike Ziller2012-12-111-2/+2
| | | | | Change-Id: I4180bdc173235497f40da2df1ecd5b20048745e5 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Fix deployment of Qt libs (debug vs release) on windows.Eike Ziller2012-12-101-2/+5
| | | | | | Change-Id: If359d56bf325d24a4e127c385a3925a5e8ee6701 Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Fix copying translations from Qt.Eike Ziller2012-12-061-18/+6
| | | | | | | | | | Qt5 splits the translations into modules as well. The deployqt script was only copying specific translation patters from Qt, now we just copy all .qm files from Qt to Qt Creator. Change-Id: I02302e3f8f6b4673979559ce6cd2a32271b554a3 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Deploy Qt 5 printsupport plugins on Lin/WinEike Ziller2012-11-301-1/+1
| | | | | | Task-number: QTCREATORBUG-8297 Change-Id: Ie19534c669a1160a0acce8a037016b1f3007cb6b Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Deployqt: Add qt.confKai Koehne2012-11-281-0/+8
| | | | | | | Override any QtLibraryInfo settings. Change-Id: Ib931d132975769a2ab90f832b672bc6740138841 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* adjust deployqt to deploy also a qt5tjenssen2012-10-221-5/+7
| | | | | | Change-Id: I4f0864a78d8fc861a716bd8e8734ab0fd4181cc1 Reviewed-by: Kai Koehne <kai.koehne@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Adjust license headershjk2012-10-051-2/+2
| | | | | Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* deployqt: copy Qt libs from bin/, not lib/ on Windows.Daniel Molkentin2012-03-141-1/+5
| | | | | | Change-Id: I967dbfa89dd192ef47ee14dd15ed702c66f263c5 Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com> Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
* deployqt: Proposed for for Windows deployment, some cleanups.Daniel Molkentin2012-03-131-28/+25
| | | | | | Change-Id: I16583d70371e69bf6729a4b028a7dbf49b3b02df Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com> Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
* Fix rpath call (not calling chrpath through shell anymore).Daniel Molkentin2012-01-131-1/+1
| | | | | Change-Id: Ia966c154e0827ce7dc0c4d0a3a45d234f82d0e90 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Convert unixdeployqt.sh to python script compatible with windows.Daniel Molkentin2012-01-121-0/+274
Change-Id: I6dc30b6f9ca2268257ea236a574ee9dea152daa3 Reviewed-by: Bill King <bill.king@nokia.com>