Bug#1006230: qt6-base-dev: Undefined target Qt::CorePrivate.
Package: qt6-base-dev
Version: 6.2.2+dfsg-5
Severity: important
X-Debbugs-Cc: hefee@debian.org
If I just use in CMake "find_package(Qt6 COMPONENTS Core REQUIRED)" I
end up with the bug:
"Targets not yet defined: Qt::CorePrivate"
Also if I add qt6-base-private-dev explicitly to the Build-Depends list,
I still get the same error.
That's why it seems like a bug inside qt6-base.
See the build of qtkeychain:
https://salsa.debian.org/owncloud-team/qtkeychain/-/jobs/2496539#L1939
https://salsa.debian.org/owncloud-team/qtkeychain/-/pipelines/351397
and the correspondig CMakeLists.txt:
https://salsa.debian.org/owncloud-team/qtkeychain/-/blob/master/CMakeLists.txt
and relevant Debian files:
https://salsa.debian.org/owncloud-team/qtkeychain/-/blob/work/hefee/qt6/debian/control
https://salsa.debian.org/owncloud-team/qtkeychain/-/blob/work/hefee/qt6/debian/control
Regards,
hefee
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.16.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages qt6-base-dev depends on:
ii libqt6concurrent6 6.2.2+dfsg-5
ii libqt6core6 6.2.2+dfsg-5
ii libqt6dbus6 6.2.2+dfsg-5
ii libqt6gui6 6.2.2+dfsg-5
ii libqt6network6 6.2.2+dfsg-5
ii libqt6openglwidgets6 6.2.2+dfsg-5
ii libqt6printsupport6 6.2.2+dfsg-5
ii libqt6sql6 6.2.2+dfsg-5
ii libqt6test6 6.2.2+dfsg-5
ii libqt6widgets6 6.2.2+dfsg-5
ii libqt6xml6 6.2.2+dfsg-5
ii qmake6 6.2.2+dfsg-5
ii qt6-base-dev-tools 6.2.2+dfsg-5
ii qt6-qpa-plugins 6.2.2+dfsg-5
Versions of packages qt6-base-dev recommends:
ii libqt6opengl6-dev 6.2.2+dfsg-5
qt6-base-dev suggests no packages.
-- no debconf information
Reply to: