aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlbasicapp/manual_imports.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Correct license for test filesLucie Gérard2024-02-271-1/+1
| | | | | | | | | | | | | | 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: I26d72e8de04d4c7c57b3b7838af5d033265de5ba Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by: Kai Köhne <kai.koehne@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Avoid target name conflictFabian Kosmale2022-07-271-1/+1
| | | | | | | | | The qmlqtimeexampleplugin exists as a target name both in examples and in a test; rename the one from the test. Change-Id: I21b68f7d6228ceaee49ba28e55516b5b10ffce3a Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Use SPDX license identifiersLucie Gérard2022-06-111-27/+2
| | | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: I63563bbeb6f60f89d2c99660400dca7fab78a294 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Fix plugin importing in tst_qmlbasicappCraig Scott2021-07-291-0/+32
We get no automatic static plugin importing and linking for QML, so we have to do it manually ourselves. This includes all of the Qt QML modules we reference too. This also uncovered that the tst_qmlbasicapp test requires QtQuick, but no check was added in ccd3907b12810742d8897bc51de6ddfaa6a5e619 where the dependency was introduced. Add that check so that the test is now only added if QtQuick is enabled. And because the tst_qmlbasicapp test defines static plugins, we need CMake 3.21 or later to avoid linker command line ordering issues. Make adding the test conditional on that too. Pick-to: 6.2 Change-Id: I0f41352fb2fe9bd6548bf30eb8ed93366cefd263 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>