Game field is black, regardless of theme used Game sounds are present, so it should work Reproducible: Always Steps to Reproduce: 1. Open knetwalk
Hi, I cannot reproduce this here on versin 3.3.0. Can you state your version and operating system, please?
Missing path variable for QML files?
(In reply to Frederik Schwarzer from comment #1) > Hi, > > I cannot reproduce this here on versin 3.3.0. Can you state your version and > operating system, please? Version is 3.3.0, sorry for the missing info. OS is Gentoo Linux, kernel 4.3.0 64 bit (In reply to Christoph Feck from comment #2) > Missing path variable for QML files? How can I check that? Which variable are you referring to?
QML2_IMPORT_PATH needs to have both Qt5 as well as KF5 paths for QML files. The exact contents depends on the location of these, which you should ask in a forum of your distribution. On my system it is: > set | grep QML QML2_IMPORT_PATH=/local/qt5/qml:/local/kf5/lib/qml
The black screen is back in 17.04.2 Qt5 5.9.0 Desktop 5.10.1 Frameworks 5.35.0 Applications 17.04.2 export KF5=/usr export QTDIR=$KF5/lib64/qt5 export PATH=$KF5/bin:$QTDIR/bin:$KF5/share/kf5:/usr/libexec:$PATH export QT_PLUGIN_PATH=$KF5/lib64/qt5/plugins export QML2_IMPORT_PATH=$KF5/lib64/qt5/qml export QML_IMPORT_PATH=$QML2_IMPORT_PATH
most likely packaging bug. Any debug output on the command line if run from a terminal? Attach strace output?
It repeats... QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
I'm not sure if this is correct but I fixed it by patching in qApp->setAttribute(Qt::AA_DontCreateNativeWidgetSiblings, true); into the mainwindow.cpp
Which qt?
Qt5 5.9.0
https://cgit.kde.org/kxmlgui.git/commit/?id=78e572dadf64903bb7356b5fcfd763f6e898fa61
*** Bug 381206 has been marked as a duplicate of this bug. ***
*** Bug 381750 has been marked as a duplicate of this bug. ***
I'm seeing this too with Qt 5.6.2 and Frameworks 5.35.0. The patch to kxmlgui in comment 11 does not fix it for me.
Created attachment 107024 [details] black screen fix This patch works for me.
(In reply to Texstar from comment #15) > Created attachment 107024 [details] > black screen fix > > This patch works for me. Works for me, thanks.
I'm now seeing the black game field if qt5ct is used outside of Plasma to set the Appearance --> Style to either Breeze or Oxygen. I am using Applications 17.08.1, Frameworks 5.38.0, Plasma 5.10.5, Alien's unofficial KDE Slackware packages on Slackware 14.2.