summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake
Commit message (Collapse)AuthorAgeFilesLines
* Add OPTIONS parameter to qt5_add_translationKevin Funk2018-01-121-1/+1
| | | | | | | | | | | | With this it is possible to pass additional parameters to the lrelease command Change-Id: I8f552f1b965d6c03a9115753438d841aef181315 Task-number: QTBUG-44323 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: André Klitzing <aklitzing@gmail.com> Reviewed-by: Kai Pastor <dg0yt@darc.de> Reviewed-by: David Faure <david.faure@kdab.com>
* Updated license headers and license testsAntti Kokko2016-06-106-102/+72
| | | | | | | | | | | | | From Qt 5.7 -> tools & applications are licensed under GPL v3 with some exceptions, see http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/ Updated license headers to use new GPL-EXCEPT header instead of LGPL21 one (in those files which will be under GPL 3 with exceptions) License header tests also updated to match current headers. Change-Id: Ia6bdacaa3c5bbc9d31334e1a0cabfe502a484dc4 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Increase coverage of test_create_translation testKevin Funk2016-01-051-1/+1
| | | | | | | Also test OPTIONS parameter of create_translation function Change-Id: I478c91736308c69501c60b892512aa45965fc818 Reviewed-by: Stephen Kelly <steveire@gmail.com>
* Split up test_translation_macrosKevin Funk2015-12-289-6/+133
| | | | | | | | | | | Split up into two individual tests: * test_add_translation_macro * test_create_translation_macro Required for upcoming extension of qt5_add_translation macro Change-Id: Iaf18aed493119bdbefec3790a7a29bb42c6925b7 Reviewed-by: Stephen Kelly <steveire@gmail.com>
* Test the Qt5UiPlugin cmake module with CMake 3.0.Stephen Kelly2015-05-115-0/+196
| | | | | | | | | | Test that the forwarding headers work when using the QtDesigner module it was extracted from. Test that transitive usage requirements of the Qt5::UiPlugin module are available through the usage of the Qt5::Designer target when using CMake 3.0. Change-Id: I200b5cf111f0160be2504727ab4111ce8a1d6170 Reviewed-by: Stephen Kelly <steveire@gmail.com>
* Update copyright headersAntti Kokko2015-02-142-12/+12
| | | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: I7f14f408e04c5c4f73a913fae153adcffbebe38f Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
* Update license headers and add new license filesAntti Kokko2014-09-252-36/+20
| | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 - Removed LICENSE.GPL Change-Id: I23ef9591f4d9054e0b6a252ba7767baf4189aeab Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
* Generate the Qt5LinguistConfig.cmake files independent of QtUiTools.Stephen Kelly2013-03-272-4/+3
| | | | | | | | | | | | | | | | | | The generation relied on the uitools module for the version, so if it was not available, we got errors like this: WARNING: Cannot open substitute for output '/cmake/Qt5LinguistTools/Qt5LinguistToolsConfig.cmake' WARNING: Cannot open substitute for output '/cmake/Qt5LinguistTools/Qt5LinguistToolsConfigVersion.cmake' WARNING: Cannot open substitute for output '/cmake/Qt5LinguistTools/Qt5LinguistToolsMacros.cmake' http://testresults.qt-project.org/ci/QtTools_stable_Integration/build_00128/linux-g++_no-widgets_Ubuntu_12.04_x64/log.txt.gz Use MODULE_VERSION for the version instead and MODULE_BASE_OUTDIR for the generation location. Change-Id: I9daa6878553015e841b6e41fd1f64eb60ada7774 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
* Run the qttools cmake module tests only if QtWidgets is available.Stephen Kelly2013-03-141-2/+4
| | | | | Change-Id: I26847e3347cf24664ca52488ddf521c923e37912 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Install the Qt5LinguistToolsConfigVersion.cmake file.Stephen Kelly2013-03-131-2/+2
| | | | | | Change-Id: I8f14f79c1e8e17816d63303f130773780547346a Reviewed-by: Alexander Neundorf <neundorf@kde.org> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
* Use qmake for package dependency resolution in cmake tests.Stephen Kelly2013-02-262-2/+2
| | | | | | | This allows us to remove hardcoded depends information. Change-Id: I91150ae89b230ebbbcfc9706b70ea135149af0c7 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* CMake: Remove obsolete test_modules testStephen Kelly2012-11-013-90/+0
| | | | | | | The generated module_includes test is a super-set of this test. Change-Id: I83606455c939152bdd871926979fcc44337754df Reviewed-by: Rohan McGovern [inactive] <rohan.mcgovern@nokia.com>
* CMake: Test module includesStephen Kelly2012-10-311-0/+9
| | | | | Change-Id: Ib1b7440a4537cc934eeec78c5b5e1a1ffbcbd222 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Remove insignification from CMake tests.Stephen Kelly2012-10-161-2/+0
| | | | | | | | The failing test is working, now that a fix has been added to qtbase. Task-number: QTBUG-27087 Change-Id: I4e4a74a49cf080a94de582da22870f8c01797ad4 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Make the cmake test insignificant in QtTools on Mac.Stephen Kelly2012-10-091-1/+1
| | | | | | | Recent qtbase changes seem to have broken it. Change-Id: Ie596e8b8b5bd8c6cb804c84808595a2388a2bfef Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
* Mark the cmake test here as insignificant.Stephen Kelly2012-09-271-0/+2
| | | | | | | | | The QtUiTools library, being a static library, is apparently broken with the CMake MSVC generator. Task-number: QTBUG-27087 Change-Id: I0e8a76c1d413fa845a4b803f08974a1907f18886 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Don't test linguist macros if cross compiling.Stephen Kelly2012-09-261-1/+3
| | | | | | | | linguist tools are not bootstrapped. Change-Id: Iae6b577db17be788a04036a06238191aa6896c01 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-253-72/+72
| | | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: If89e41b25a242ff376eacdf8790957bcf499cc66 Reviewed-by: Janne Anttila <janne.anttila@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Don't test QtTools modules if widgets is not available.Stephen Kelly2012-09-201-1/+5
| | | | | | | All public QtTools modules depend on widgets. Change-Id: Iac3b67337da8f6d9024e8e179646ba42ce74e23e Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Test that the package configs for QtTools work.Stephen Kelly2012-07-233-1/+89
| | | | | Change-Id: I366c5f0a964739cc0fc607c72cf1e42d7ea92f06 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Run the cmake unit tests as part of the qttools CI.Stephen Kelly2012-07-036-0/+182
Change-Id: I565e715ba869298d4a8b9e4b42b7b41587336b9b Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>