Summary: | Black field | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kxmlgui | Reporter: | Enrico Bonato <enribnt> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aacid, cappelikan, herve.moens, kde-games-bugs, ronbu3, schwarzer, simonandric5, texstar, yselkowi |
Priority: | NOR | ||
Version: | 5.35.0 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
URL: | http://pasteboard.co/2MknlgXz.png | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | black screen fix |
Description
Enrico Bonato
2015-12-10 23:02:00 UTC
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 *** 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. 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. |