Commit Graph

14 Commits

Author SHA1 Message Date
Lucie Gérard d62d13f4a2 Correct license for test files
According to QUIP-18 [1], all test files should be
LicenseRef-Qt-Commercial OR GPL-3.0-only

[1]: https://contribute.qt-project.org/quips/18

Pick-to: 6.7
Task-number: QTBUG-121787
Change-Id: I7b5f64b3b261da7a10effe2d91f2c4f058a11e88
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2024-05-13 08:18:03 +01:00
Friedemann Kleint a983cf7572 Remove remains of qmake conversion from CMakeLists.txt files
Pick-to: 6.5
Change-Id: I1e1a376363224b88354da3e30fcea877f0e82f41
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
2023-02-09 13:49:03 +01:00
Sona Kurazyan 67913e9de9 Prepare for moving qVersion() from qglobal.h to qlibraryinfo.h
Include qlibraryinfo.h where it's used.

Change-Id: Ibf54612eb1678963cab2c5030f57118b058c68cf
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2022-08-30 15:57:15 +02:00
Lucie Gérard 7d3dd4b9ef Change the license of all CMakeLists.txt and *.cmake files to BSD
Task-number: QTBUG-105718
Change-Id: I7cf0f0a98984e5ec6c1edb30f6ba979305c344f4
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
2022-08-23 10:01:59 +02:00
Alexandru Croitor d4934b19a6 CMake: Don't use PUBLIC_LIBRARIES for tests and test helpers
Change-Id: I7bd3d18c7f77a6b058bc08081e7adb310ebd1f2c
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2022-07-27 11:43:17 +02:00
Lucie Gérard 25719dcb9a Add license headers to cmake files
CMakeLists.txt and .cmake files of significant size
(more than 2 lines according to our check in tst_license.pl)
now have the copyright and license header.

Existing copyright statements remain intact

Task-number: QTBUG-88621
Change-Id: I07739807abcf7d8f305bb17cfdc6edefba49a2b1
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
2022-07-07 14:42:24 +02:00
Lucie Gérard 2e7234cc40 Use SPDX license identifiers
Replace the current license disclaimer in files by
a SPDX-License-Identifier.
License files are organized under LICENSES directory.

Pick-to: 6.4
Task-number: QTBUG-67283
Change-Id: Ibdefc58cad3b83d0d117fc333de76ccb5177a621
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
2022-06-10 16:20:09 +02:00
Friedemann Kleint 7040246efc Remove High DPI scaling attributes
They no longer have any effect and cause warnings and errors.

Pick-to: 6.2
Change-Id: Ibeb25186d92a0755a06193f34892ac0d64314e2e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2021-07-15 15:03:15 +02:00
Alexey Edelev 4d528a06c2 Remove QMake project files
Remove the .pro/.pri project files and the associated
.prev_CMakeLists.txt files.

Task-number: QTBUG-78167
Pick-to: 6.1
Change-Id: I8dea2d3efccf8bae6a4b41779dccfaf5f9f83222
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2021-04-12 16:45:10 +02:00
Alexey Edelev 664e467c1e Fix manual tests
Restore the path definition to the diaglib test library and fix
its usage.

Add optional dependency on OpenGL OpenGLWidgets for the axviewer
manual test.

Pick-to: 6.1 6.1.0
Change-Id: If7692172a498556c616f78f7d477d8e3b126faed
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2021-04-12 16:44:56 +02:00
Alexey Edelev b8935eca56 Add qt6_target_typelibs function
qt6_target_typelibs should replace the qmake functionality associated
with the TYPELIBS variable. This function adds custom call of the
dumpcpp program to generate typelib-related sources and adds the
sources to the target.

Pick-to: 6.1
Task-number: QTBUG-78167
Change-Id: I7b61a2b1804162e723e862945a9650a00776e678
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2021-03-23 13:10:08 +01:00
Alexey Edelev da3a24c065 Re-generate the CMake project files
Change-Id: Icdfe81a51b626034bd86bf143eb1fe108603d148
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2021-03-12 13:21:09 +01:00
Friedemann Kleint 0f1ff38923 Initial port to cmake
Port the 2 main libraries, examples and tests.

Task-number: QTBUG-78167
Change-Id: I0d00c9fa352a96dcd0e1f42d52e6f15680abd9ed
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-05-12 09:11:33 +02:00
Friedemann Kleint cdd58e2c15 Add a manual test for dumpcpp
Let it generate code for the WebBrowser and display the meta object.
Factor out useful code from axviewer.

Change-Id: Ib250c749459836e2145f83f4f68fa0caee2a2ad9
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-04-08 07:37:48 +02:00