Bug#1018877: qt6-base-private-dev: lacking dependency on libvulkan-dev
Package: qt6-base-private-dev
Version: 6.3.1
Severity: normal
X-Debbugs-Cc: jeanmichael.celerier@gmail.com
Dear Maintainer,
qt6-base-private-dev provides the header qrhivulkan_p.h which uses some Vulkan features.
This will cause a build fail for someone using that library if the vulkan headers,
as provided by libvulkan-dev aren't installed:
QtGui/private/qrhivulkan_p.h:77:5: error: 'VkQueue' does not name a type; did you mean 'QQueue'?
* What led up to the situation?
Compiling a Qt software which includes qrhivulkan_p.h ; here is a complete repro on the debian:testing docker image :
$ apt update
$ apt install g++ qt6-base-private-dev
$ echo '#include <qrhivulkan_p.h>' > foo.cpp
$ g++ -c foo.cpp -fPIC -I /usr/include/x86_64-linux-gnu/qt6/ -I /usr/include/x86_64-linux-gnu/qt6/QtCore -I /usr/include/x86_64-linux-gnu/qt6/QtGui -I /usr/include/x86_64-linux-gnu/qt6/QtGui/6.3.1/ -I /usr/include/x86_64-linux-gnu/qt6/QtGui/6.3.1/QtGui/ -I /usr/include/x86_64-linux-gnu/qt6/QtGui/6.3.1/QtGui/private
* What exactly did you do (or not do) that was effective (or
ineffective)?
Installing libvulkan-dev manually fixes the issue
* What was the outcome of this action?
* What outcome did you expect instead?
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
merged-usr: no
Architecture: amd64 (x86_64)
Kernel: Linux 5.15.4-arch1-1 (SMP w/128 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages qt6-base-private-dev depends on:
pn libfontconfig-dev <none>
pn libinput-dev <none>
pn libxkbcommon-dev <none>
pn qt6-base-dev <none>
qt6-base-private-dev recommends no packages.
qt6-base-private-dev suggests no packages.
Reply to: