summaryrefslogtreecommitdiffstats
path: root/examples/qt3d
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-08-05 11:26:10 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2021-08-05 13:43:47 +0200
commit018d77678641c452a00b321527794027e4e5d92b (patch)
tree619b4a6f97e45c0a53dd1ddf148d0435a2a3e253 /examples/qt3d
parent4aa7c107e73738917752295ff27e60e72ff569fa (diff)
CMake: Fix incorrect dependency on private modules
Public modules shouldn't propagate private modules as usage requirements. Pick-to: 6.2 Fixes: QTBUG-93428 Change-Id: Ic7aca0e8a6469604722596782e87d92d7e510e9e Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'examples/qt3d')
-rw-r--r--examples/qt3d/3d-text/3d-text.pro2
-rw-r--r--examples/qt3d/3d-text/CMakeLists.txt1
2 files changed, 1 insertions, 2 deletions
diff --git a/examples/qt3d/3d-text/3d-text.pro b/examples/qt3d/3d-text/3d-text.pro
index 7fa771df4..0e5453a3b 100644
--- a/examples/qt3d/3d-text/3d-text.pro
+++ b/examples/qt3d/3d-text/3d-text.pro
@@ -2,7 +2,7 @@
error( "Couldn't find the examples.pri file!" )
}
-QT += core gui 3dcore 3drender 3dinput 3dextras 3drender-private
+QT += core gui 3dcore 3drender 3dinput 3dextras
SOURCES += main.cpp
diff --git a/examples/qt3d/3d-text/CMakeLists.txt b/examples/qt3d/3d-text/CMakeLists.txt
index 24021f14c..79d3b4d20 100644
--- a/examples/qt3d/3d-text/CMakeLists.txt
+++ b/examples/qt3d/3d-text/CMakeLists.txt
@@ -34,7 +34,6 @@ target_link_libraries(3d-text PUBLIC
Qt::3DExtras
Qt::3DInput
Qt::3DRender
- Qt::3DRenderPrivate
Qt::Core
Qt::Gui
)