Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
6.6.0
-
None
Description
fq@debian:~/KDEHOME/discover$ cmake .
Installing in /usr/local. Run /home/fengqing/KDEHOME/discover/prefix.sh to set the environment for discover.
CMake Error at /home/fq/Qt/6.6.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreVersionlessTargets.cmake:42 (message):
Some (but not all) targets in this export set were already defined.
Targets Defined: Qt::Core
Targets not yet defined: Qt::CorePrivate
Call Stack (most recent call first):
/home/fq/Qt/6.6.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreConfig.cmake:58 (include)
/usr/share/cmake-3.25/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
/home/fq/Qt/6.6.0/gcc_64/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:111 (find_dependency)
/home/fq/Qt/6.6.0/gcc_64/lib/cmake/Qt6Widgets/Qt6WidgetsDependencies.cmake:39 (_qt_internal_find_qt_dependencies)
/home/fq/Qt/6.6.0/gcc_64/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake:40 (include)
/home/fq/Qt/6.6.0/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:156 (find_package)
CMakeLists.txt:25 (find_package)
repreduce steps:
I download the discover project by the git url of https://invent.kde.org/plasma/discover.git or git clone https://invent.kde.org/frameworks/kpackage.git
and build it on debian 12.2.0 system.
What i need to install or configure to define the targets of Qt::CorePrivate ?
Please help!!!