Package: qtdeclarative5-examples Version: 5.11.3-4 Severity: important Tags: patch
There are three problems. Here they are with their fixes. (1) Add the following miscellaneous dependencies: qt5-default c++-compiler make qtdeclarative5-dev qtbase5-private-dev (2) examples/qml/tutorials/extending-qml/chapter6-plugins/import/import.pro uses OTHER_FILES which only works from qtcreator but not from qmake at the command line. Change it to use DISTFILES. Line 25 will then look like this without the quotes: "DISTFILES += qmldir". (3) examples/quick/scenegraph/rendernode/ needs Direct 3D i.e. Windows or Wine. Someone attempted to work around it in rendernode.pro but the workaround is inadequate. Rendernode cannot be compiled without d3d12. Therefore in examples/quick/scenegraph/scenegraph.pro we need to make the inclusion of rendernode conditional on d3d12, and in order to be able to test d3d12 we have to include the quick module. A diff to accomplish this is attached. -- System Information: Debian Release: 10.0 APT prefers stable APT policy: (2000, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-5-amd64 (SMP w/12 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages qtdeclarative5-examples depends on: ii libc6 2.28-10 ii libqt5core5a [qtbase-abi-5-11-3] 5.11.3+dfsg1-1 ii libqt5gui5 5.11.3+dfsg1-1 ii libqt5network5 5.11.3+dfsg1-1 ii libqt5qml5 [qtdeclarative-abi-5-11-2] 5.11.3-4 ii libqt5quick5 5.11.3-4 ii libqt5quicktest5 5.11.3-4 ii libqt5quickwidgets5 5.11.3-4 ii libqt5test5 5.11.3+dfsg1-1 ii libqt5widgets5 5.11.3+dfsg1-1 ii libstdc++6 8.3.0-6 ii qml-module-qtqml-models2 5.11.3-4 ii qml-module-qtquick-dialogs 5.11.3-2 ii qml-module-qtquick-layouts 5.11.3-4 ii qml-module-qtquick-localstorage 5.11.3-4 ii qml-module-qtquick-particles2 5.11.3-4 ii qml-module-qtquick-xmllistmodel 5.11.3-4 ii qml-module-qttest 5.11.3-4 qtdeclarative5-examples recommends no packages. qtdeclarative5-examples suggests no packages. -- no debconf information
--- examples/quick/scenegraph/scenegraph.pro.OLD 2018-11-20 02:19:12.000000000 -0800 +++ examples/quick/scenegraph/scenegraph.pro 2019-08-06 04:15:34.836772548 -0700 @@ -1,3 +1,5 @@ +QT += quick + TEMPLATE = subdirs qtConfig(opengl(es1|es2)?) { @@ -11,9 +13,13 @@ twotextureproviders } +qtConfig(d3d12) { + SUBDIRS += \ + rendernode +} + SUBDIRS += \ customgeometry \ - rendernode \ threadedanimation EXAMPLE_FILES += \