diff options
Diffstat (limited to 'tests/auto/cmake/tooling_imports')
-rw-r--r-- | tests/auto/cmake/tooling_imports/First/Neighbor.cpp | 2 | ||||
-rw-r--r-- | tests/auto/cmake/tooling_imports/First/Neighbor.h | 9 | ||||
-rw-r--r-- | tests/auto/cmake/tooling_imports/main.cpp | 2 |
3 files changed, 10 insertions, 3 deletions
diff --git a/tests/auto/cmake/tooling_imports/First/Neighbor.cpp b/tests/auto/cmake/tooling_imports/First/Neighbor.cpp index d6adca4823..920394cf6e 100644 --- a/tests/auto/cmake/tooling_imports/First/Neighbor.cpp +++ b/tests/auto/cmake/tooling_imports/First/Neighbor.cpp @@ -1,5 +1,5 @@ // Copyright (C) 2021 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include "Neighbor.h" diff --git a/tests/auto/cmake/tooling_imports/First/Neighbor.h b/tests/auto/cmake/tooling_imports/First/Neighbor.h index e5119bc4c4..05e18d23d7 100644 --- a/tests/auto/cmake/tooling_imports/First/Neighbor.h +++ b/tests/auto/cmake/tooling_imports/First/Neighbor.h @@ -1,5 +1,5 @@ // Copyright (C) 2021 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #ifndef NEIGHBOR_H #define NEIGHBOR_H @@ -15,4 +15,11 @@ public: Neighbor(QObject *parent = nullptr); }; +class Absent : public QObject +{ + Q_OBJECT + QML_ELEMENT + QML_UNAVAILABLE +}; + #endif // NEIGHBOR_H diff --git a/tests/auto/cmake/tooling_imports/main.cpp b/tests/auto/cmake/tooling_imports/main.cpp index a1c8dd9daf..92693a832b 100644 --- a/tests/auto/cmake/tooling_imports/main.cpp +++ b/tests/auto/cmake/tooling_imports/main.cpp @@ -1,5 +1,5 @@ // Copyright (C) 2021 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include <QtCore> #include <QtQml> |