aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add licenses for submodulesFriedemann Kleint2016-10-149-0/+4333
| | | | | | Task-number: PYSIDE-431 Change-Id: Ic2fea5d524c6bee86eae4616968df5b2a5a6b942 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Fix licenses of setup.py testrunner.pyFriedemann Kleint2016-10-122-19/+77
| | | | | Change-Id: I049929e2c4e24554866000df5daa063071060884 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* fix testing with filtering on real CIChristian Tismer2016-09-302-9/+33
| | | | | | | | | | | | | | | There are a couple of effects when running testrunner.py in real life. Fix: It reports success when there are no tests found. Fix and extend the recognition of relative paths. Add a "getcwd" sub-command to get external access to the build folder. The make command uses no longer "-C" for easier environ access. Change-Id: Iee2f81ed762b9773021055d26f9b144c31acbe35 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Build shiboken with documentation generator by defaultFriedemann Kleint2016-09-281-1/+0
| | | | | Change-Id: I7ebf94d93ce5125deadf103bb4354e54079a372b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* support pyside CI testing with filteringChristian Tismer2016-09-224-0/+890
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PySide is currently in an unfinished state. Therefore, running all the tests will never return a success. To make this more useful, this script is controlled by a blacklist, in order to keep record of the known-to-fail tests. On success: zero error status On Failure: nonzero (raises ValueError) The test parser uses a blacklist file that is compatible to standard Qt blacklist files. macOS, Ubuntu and windows (thanks to fkleint) are supported. The blacklist has a feature where new configurations are learned. It first removes old versions of the same tests, before it inserts the new ones. Blacklisting is now optional. We support now py2, py3, qt5, qt5.6 etc. Some consideration about collapsing the data are added. The parser has now a sub-command "test" that is mandatory. Support for moving the build_dir to another location without loosing the tests so far. Implement BPASS. Support CTEST_OUTPUT_ON_FAILURE Change-Id: If66d3cf1733a3b0c8a47fe9b8c6aec8ea430c699 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Fix retrieving VIRTUALENV variableFriedemann Kleint2016-09-221-1/+1
| | | | | | | | Use get() with default value. Amends 8b484df1cf36cbf43192bc1e4669b5e3dcb591e7. Change-Id: I728747e2de1ef9878a7a7698ec701055fcf18363 Reviewed-by: Christian Tismer <tismer@stackless.com>
* setup.py: Prefix build/install directories by virtualenv nameFriedemann Kleint2016-09-211-2/+10
| | | | | | | | | | Use testenv_name_build/testenv_name_install instead of pyside_build_install when a virtual environment exists. This makes it easier to maintain builds in varying environments in parallel for comparing things. Change-Id: I33f672a24d871ccb8c9aad1614b7b3eded33b93c Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fix run_process_output to work with Python 3Alexandru Croitor2016-09-201-1/+1
| | | | | | | | Strings are already encoded as utf8, so there is no need to call decode on them. Change-Id: Idfaaa5f5092fb6010ea64b7abf754d7b343d07e5 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* setup.py: Make prepareSubModules() a bit smarterFriedemann Kleint2016-09-162-14/+45
| | | | | | | | | | | | Avoid unnecessarily re-initializing the submodules and checking out branches. In a first loop, collect the subdirectories and check whether any are missing. Initialize submodules only in that case. In the second loop, check out the correct branch if it differs. Change-Id: I3c16fd9b7bd6feb77b7b921d61f7e622cfab797f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* setup.py: Improve finding the respective make tool on WindowsFriedemann Kleint2016-09-151-11/+10
| | | | | | | | | Check whether nmake can actually be found. Invert option --jom to --no-jom so that jom is used by default. As options are not checked, --jom will then be simply ignored. Change-Id: I67bd7f92d3bb2800530847abe0808283ca14d8a4 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* setup.py: Add completion messages to build and installFriedemann Kleint2016-09-121-0/+2
| | | | | | | | It is sometimes hard to tell whether the build finished successfully, add a message to show it. Change-Id: If9a20272f851fbe0ade801ddab1bee11fca807da Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Restructure setup.pyFriedemann Kleint2016-09-121-16/+27
| | | | | | | | | | | | | | | Move all code that was unconditionally executed at startup into a subroutine prepareBuild() and execute that from the build command class. Overwrite the Distutils'_install to be extended. This makes the standard --help options of DistUtils work as expected and causes the script to require a command argument instead of starting unconditionally. Change-Id: I0bf1bfc4ba0e15662122733b04e468f1838e4ae8 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* setup.py: Fix checking for qmake/cmake binariesFriedemann Kleint2016-09-121-1/+15
| | | | | | | Verify that the commands exist. Change-Id: I8a4263320774f151848f68b04bc7b4447afe2579 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* setup.py: Let OPTION_REUSE_BUILD imply OPTION_IGNOREGITFriedemann Kleint2016-09-121-1/+1
| | | | | Change-Id: Id24505e17c39a0e81fab283f04e53923d9f56d6a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* README.md: Fix URLsFriedemann Kleint2016-08-301-3/+3
| | | | | | | Point to the Qt wiki and code.qt.io. Change-Id: I94ab781ae1cccd3fc73ee9dc7a09401b0f28e0e4 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Adding sync.profile file for Qt CI usageSimo Fält2016-07-291-0/+19
| | | | | | | Change-Id: Ibe3f461466d043108370682f252865adda3c6b41 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* setup.py: Fix branchesFriedemann Kleint2016-07-261-2/+6
| | | | | | | | | | | | | | | | | - Change the examples to the dev branch - Introduce an optional 3rd parameter to the submodules hash pointing to the directory and use that to switch the wiki module to the master branch. This makes it possible to run commands like git submodule foreach git pull which did not work previously due to the wiki submodule being in a headless state. Change-Id: Ib90f68f73e3401431fd2dce90f02ed75095a5429 Reviewed-by: Christian Tismer <tismer@stackless.com>
* Use new examples repositoryFriedemann Kleint2016-07-041-1/+1
| | | | | Change-Id: I259c93a344ca61ba1a3c71d9eff5f83bc4c2722d Reviewed-by: Alexandru Croitor <alexandru.croitor@theqtcompany.com>
* Add various setup.py build options for development convenience.Alexandru Croitor2016-06-201-20/+55
| | | | | | | | | | | | | | | --reuse-build option will rebuild only modified sources, --skip-cmake skips generating new Makefiles, --skip-make-install skips executing make install, --skip-packaging will not create a python package. A combination of these can decrease development iteration time, instead of constantly rebuilding the whole world, or waiting for the packaging to be done, when you are only interested if a certain file compiles. Change-Id: I755f102573dcb37ceb1b835b0843f244c2d4114e Reviewed-by: Christian Tismer <tismer@stackless.com>
* Fix OS/X inclusion of framework headers.Alexandru Croitor2016-06-163-16/+51
| | | | | | | | | | | | | | | | | | | | | The recent change that made use of framework headers on OS/X did not work with homebrew Qt, and it didn't work with official builds either, because neither of the chosen include folders contained all the necessary headers to lead to a successful build. Fortunately shiboken actually supports being passed multiple include locations, separated by a colon on OS/X, and a semicolon on Windows. This patch makes sure to always pass the Qt include folder, and in case if the Qt build is a framework build, also passes the root frameworks location, with headers found by shiboken under frameworkName.framewework/Headers. This works for homebrew builds, official builds and custom non-installed prefix / in-source builds of Qt. Change-Id: I47b24e197839883de2ab873461efc1f4d4d33743 Reviewed-by: Christian Tismer <tismer@stackless.com>
* Include Qt framework headers in osxSimo Fält2016-06-031-1/+5
| | | | | | | | | While using Qt binaries installed with Qt Company installer, pyside can't find header files which are installed to lib/Qt<module>.framework/Headers directory. Change-Id: If74f5b3bf0f139bbcc6e9b62fb16e125f6ca9d4c Reviewed-by: Christian Tismer <tismer@stackless.com>
* setup.py: Remove Qt Quick 1 imports folder.Friedemann Kleint2016-06-011-10/+0
| | | | | | | | Qt Quick 1 has been removed in Qt 5.6. Change-Id: I4db96e3a5613d8abe208841752c6ea25e72c4a8e Reviewed-by: Alexandru Croitor <alexandru.croitor@theqtcompany.com> Reviewed-by: Christian Tismer <tismer@stackless.com>
* Allow explicitly setting the OSX sysroot / SDK.Alexandru Croitor2016-05-201-0/+7
| | | | | | | The change allows using the provided SDK in all compilation targets. Change-Id: I2b5d7b24af725e82c5468b9a5e22cc60fd0e42c4 Reviewed-by: Christian Tismer <tismer@stackless.com>
* pyside-setup : improvement to gitmodules URLsFelix Bourbonnais2016-05-131-3/+3
| | | | | | | | Added .git to URLs so that users can 'clone --recursive the project Change-Id: I15974b20869444354a1c967988638e960a9fda33 Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Add option to link with libc++ on older OSX versions.Alexandru Croitor2016-05-114-10/+26
| | | | | | | | | | | | | | Versions of OSX lower than 10.9 link libstdc++ by default. Also libstdc++ is linked when the osx minimum deployment target is lower than 10.9. The new option allows explicitly linking libc++ in the cases mentioned above. It is not enabled by default, because most libraries and executables on versions lower than 10.9 are compiled with libstdc++, and mixing standard library versions can lead to crashes. Change-Id: I7397d2bbce2cfceaeb848f25e0bbf1a24ac9bde8 Reviewed-by: Christian Tismer <tismer@stackless.com>
* pyside-setup: Print directory in run_process().Friedemann Kleint2016-05-111-2/+1
| | | | | | | Change-Id: Iaa22b81c4e18e2490cedc547443a58680cd7764b Reviewed-by: Alexandru Croitor <alexandru.croitor@theqtcompany.com> Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Fix git submodules formatting.Alexandru Croitor2016-05-061-4/+4
| | | | | | | The spaces instead of tabs, broke the Coin CI parsing of the urls. Change-Id: I65c1336cb1bd291f2a5b629bb8e431b65491b7d3 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Fix submodule urlsSimon Hausmann2016-05-041-3/+3
| | | | | | | | Those should be coded relative so that when for example cloning pyside-setup from Gerrit, the submodules should also come from Gerrit. Change-Id: I579711eed64f0356bd5282617cfccb29937b0425 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Switch submodule repositories.Friedemann Kleint2016-05-022-10/+7
| | | | | | | | | | Clone submodules from code.qt.io and adapt branches. Change-Id: Iecf128ca00c4eb25e5450db8630e42e9307bd7cc Reviewed-by: Alexandru Croitor <alexandru.croitor@theqtcompany.com> Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* a quick shiboken fix that should work, but will become obsolete with Qt 5.6.1Christian Tismer2016-04-191-11/+5
|
* fix the name pyside2uicChristian Tismer2016-04-194-25/+28
| | | | This was modified, but not corrected in setup.py
* Merge pull request #37 from f3nix/simple-fixes-1Thomas Karl Pietrowski2016-04-031-19/+12
|\ | | | | Fix AppVeyor build. Simple version.
| * Fix AppVeyor build. Simple version.Mateusz Skowroński2016-04-031-19/+12
|/ | | | Fixes #36.
* Merge pull request #32 from techtonik/windozeThomas Karl Pietrowski2016-04-021-4/+4
|\ | | | | Show diagnostic info
| * appveyor.yml: Properly show diagnostic informationanatoly techtonik2016-02-091-5/+4
| |
| * Add platform.machine() output (curious about Windows strings)anatoly techtonik2016-02-091-0/+1
| |
* | UpdateThomas-Karl Pietrowski2016-04-021-5/+5
| |
* | updateChristian Tismer2016-03-011-7/+7
| |
* | some cleanup of travis.Christian Tismer2016-02-241-3/+3
| | | | | | | | how do we separate the build step and the tests, to see both as a result?
* | shiboken should build with tests.Christian Tismer2016-02-231-8/+5
| | | | | | | | We will see how travis works now.
* | Revert "try to fix the build with a proper cmake"Christian Tismer2016-02-231-2/+1
| | | | | | | | This reverts commit d4c17c826af69547e57882d03d0facd265834fc8.
* | try to fix the build with a proper cmakeChristian Tismer2016-02-231-1/+2
| |
* | Update .travis.ymlThomas Karl Pietrowski2016-02-231-1/+1
| | | | | | The 3rd party PPA uses his own naming for its qt5.5 content. XML should be in Qt5Base, etc.
* | still trying to fix itChristian Tismer2016-02-221-2/+1
| |
* | try to fix the travis build.Christian Tismer2016-02-221-0/+2
|/ | | | These additions are from Debian stretch
* Removing the old labelThomas Karl Pietrowski2016-02-081-2/+0
|
* Merge pull request #25 from techtonik/patch-1Thomas Karl Pietrowski2016-02-081-0/+4
|\ | | | | README.md Add build status for Linux AND Windows
| * Update README.mdanatoly techtonik2016-02-081-1/+1
| | | | | | Fix Travis link
| * Update README.mdanatoly techtonik2016-02-081-1/+1
| | | | | | Add link to Travis
| * README.md Add build statusanatoly techtonik2016-02-021-0/+4
| |