aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/build.py
Commit message (Collapse)AuthorAgeFilesLines
...
* cmake expects forward slashes here - even on windowsTim Jenssen2020-11-091-1/+1
| | | | | Change-Id: Ia31727b703745e01d6def91237a0bc46ea37261a Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Do not try to deploy QtQuick1 importsEike Ziller2020-11-061-3/+1
| | | | | | | | | We don't ship them with Qt Creator since a longer time now, and in Qt6 they are completely gone. Change-Id: I7c6b1da1782cb641e17b2d1c7ff764dd81e15ee6 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* build.py: add --add-module-pathEike Ziller2020-10-281-0/+6
| | | | | | | | Which prepends a path to CMAKE_MODULE_PATH which is required for branding. Task-number: QTCREATORBUG-22488 Change-Id: I6b0015778d8ceec7183740e5b70eaafd220a3bdf Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Consolidate some options for build.py and build_plugin.pyEike Ziller2020-10-281-1/+3
| | | | | Change-Id: Ic745231ed68296f8052e3b0897893ee8fce53b16 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Use the packaging script for the github actionEike Ziller2020-06-251-14/+37
| | | | | | | | | | | | | | Unifies a bit of what is done. For example this adds documentation and creates a disk image for macOS. It will also make adding perfparser/elfutils and 32bit wininterrupt and qtcreatorcdbext easier. Adds Qt translations. Adds some useful options to build.py and make it work with python3 Disables detection of debug vs release build in deployqt.py on Windows if dumpbin is not there (for MinGW). Change-Id: I3cc33144cad653823321209c219d220eb75093ec Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* CMake build: Show build date in about dialog in packagesEike Ziller2020-06-151-0/+4
| | | | | | | | The default for non-packaging build is OFF. Fixes: QTCREATORBUG-24128 Change-Id: Id422babe197e215d6cb33807a78ba1ee3aaabb32 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* CMake build: Deploy elfutilsEike Ziller2020-06-051-6/+10
| | | | | | Fixes: QTCREATORBUG-24131 Change-Id: Ibfe829492e86ce1563882cf3be6469f9e553812d Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* CMake build: Move documentation functions to re-usable locationEike Ziller2020-05-251-8/+3
| | | | | | | | | | | Removes "install_..._docs" and "clean_docs" special targets. Instead install documentation with "--install . --component qch_docs" and "--install . --component html_docs" which have the advantage that the install prefix can be specified later on with --prefix. Also removes export of IDE_SOURCE_DIR, which is not used. Change-Id: I4fce0b9aa8c7fc40b7e94e065777ddf4c0b76c41 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Build script: Add option for passing arguments to build commandEike Ziller2020-05-151-1/+6
| | | | | | | So one can pass e.g. -j3 when locally testing while still doing other things Change-Id: I7a528884f19698290e49c372eb31030afe609d23 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Packaging: Install documentationEike Ziller2020-04-291-1/+13
| | | | | | Fixes: QTCREATORBUG-23912 Change-Id: I2e28c9f9000dca1216ec31bad307031937223e83 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Add script for building external plugins for packagingEike Ziller2020-04-281-20/+25
| | | | | | | | Also turn off PCH for building Qt Creator and add some more options for local testing. Change-Id: Ic05099ef1dd8e8c78b174d7cd07a83b2f4a9cbb5 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Fix link on commit sha in about dialogEike Ziller2020-03-231-1/+1
| | | | | | | | | | Passing a URL via defines breaks when trying to "stringify" it. It would always stop at the first slash. Instead use a qmake variable directly. That has the additional advantage that the value isn't passed on each and every compiler command line. Change-Id: I97a297fbcdee5ea03eb6fa08181c95b1ad2de767 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* scripts: build.py: Handle Null path in default_python3()Alessandro Portale2020-02-261-1/+3
| | | | | Change-Id: Ice6b269502a77f31a7af447429bba4332df026e9 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* build.py: Remove unused 'temp' directoryEike Ziller2020-02-261-4/+2
| | | | | | Change-Id: I7b6a45aa2ac1d0851207512e2659f46f1940f628 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Add script for building Qt Creator for packagingEike Ziller2020-02-191-0/+246
The result is a number of 7zips in the build directory that can be packaged in an installer, or unzipped on a different machine directly Change-Id: Ic1a691678b2268c08e9159c1958dbecefc640fc3 Reviewed-by: Cristian Adam <cristian.adam@qt.io>