Dear Maintainer,
Hello,
I have started to use sway as my primary window manager unfortunately
krita does not work with wayland it seems. Other Qt applications seems
to work just find (provided I set the right environment variable ie
QT_QPA_PLATFORM=wayland)
Here's the log:
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
I tried running "krita --platform wayland" without success.
Here's also the result of "QT_DEBUG_PLUGINS=1 krita" (which shows that
the wayland plugins should be available I think)
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqeglfs.so"
Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqeglfs.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"eglfs"
]
},
"archreq": 0,
"className": "QEglFSIntegrationPlugin",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ("eglfs")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqlinuxfb.so"
Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqlinuxfb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"linuxfb"
]
},
"archreq": 0,
"className": "QLinuxFbIntegrationPlugin",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ("linuxfb")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimal.so"
Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimal.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimal"
]
},
"archreq": 0,
"className": "QMinimalIntegrationPlugin",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimalegl.so"
Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimalegl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimalegl"
]
},
"archreq": 0,
"className": "QMinimalEglIntegrationPlugin",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ("minimalegl")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqoffscreen.so"
Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqoffscreen.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"offscreen"
]
},
"archreq": 0,
"className": "QOffscreenIntegrationPlugin",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqvnc.so"
Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqvnc.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"vnc"
]
},
"archreq": 0,
"className": "QVncIntegrationPlugin",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ("vnc")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqwayland-egl.so"
Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqwayland-egl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland-egl"
]
},
"archreq": 0,
"className": "QWaylandEglPlatformIntegrationPlugin",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ("wayland-egl")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqwayland-generic.so"
Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqwayland-generic.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland"
]
},
"archreq": 0,
"className": "QWaylandIntegrationPlugin",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ("wayland")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqwayland-xcomposite-egl.so"
Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqwayland-xcomposite-egl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland-xcomposite-egl"
]
},
"archreq": 0,
"className": "QWaylandXCompositeEglPlatformIntegrationPlugin",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ("wayland-xcomposite-egl")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqwayland-xcomposite-glx.so"
Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqwayland-xcomposite-glx.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland-xcomposite-glx"
]
},
"archreq": 0,
"className": "QWaylandXCompositeGlxPlatformIntegrationPlugin",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ("wayland-xcomposite-glx")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so"
Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"xcb"
]
},
"archreq": 0,
"className": "QXcbIntegrationPlugin",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/platforms" ...
loaded library "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so"
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Regards,
severity 955730 wishlist retitle 955730 krita does not support wayland forwarded 955730 https://bugs.kde.org/show_bug.cgi?id=429079 thanks Hi, In data sabato 4 aprile 2020 11:22:08 CET, Nicolas Évrard ha scritto: krita has never supported Wayland so far. It uses various X technologies (e.g. tablet support, color management) that are not available under Wayland, or nobody worked on them in krita. There is an upstream bug mentioning this: https://bugs.kde.org/show_bug.cgi?id=429079 starting from the upcoming version 4.4.2, you will even get an error message with krita closing itself afterwards in case you are running under Wayland. Please run krita within XWayland until proper Wayland support is implemented in krita. Thanks,
We believe that the bug you reported is fixed in the latest version of
krita, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 955730@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Pino Toscano <pino@debian.org> (supplier of updated krita package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 21 Feb 2026 08:36:37 +0100
Source: krita
Architecture: source
Version: 1:6.0.0~beta2+dfsg-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Pino Toscano <pino@debian.org>
Closes: 955730
Changes:
krita (1:6.0.0~beta2+dfsg-1) experimental; urgency=medium
.
* New upstream development release:
- supports Wayland (Closes: #955730)
* Switch watch file to the unstable releases.
* Switch Vcs-* fields to the 'experimental' packaging branch.
* Update the build dependencies following the port to Qt 6:
- remove libkf5completion-dev, libkf5config-dev, libkf5coreaddons-dev,
libkf5crash-dev, libkf5guiaddons-dev, libkf5i18n-dev, libkf5itemviews-dev,
libkf5kdcraw-dev, libkf5widgetsaddons-dev, libkf5windowsystem-dev,
libpoppler-qt5-dev, libqt5opengl5-dev, libqt5svg5-dev,
libqt5x11extras5-dev, libquazip1-qt5-dev, pyqt5-dev, python3-pyqt5,
qtbase5-dev, qtbase5-private-dev, and qtdeclarative5-dev
- temporarily remove libkseexpr-dev, as the Qt 6 version is not available
yet
- add libkdcrawqt6-dev, libkf6colorscheme-dev, libkf6completion-dev,
libkf6config-dev, libkf6coreaddons-dev, libkf6crash-dev,
libkf6guiaddons-dev, libkf6i18n-dev, libkf6itemviews-dev,
libkf6widgetsaddons-dev, libpoppler-qt6-dev, libquazip1-qt6-dev,
pyqt6-dev, python3-pyqt6, python3-sipbuild, qt6-5compat-dev, qt6-base-dev,
qt6-base-private-dev, qt6-declarative-dev, qt6-svg-dev, qt6-wayland-dev,
and qt6-wayland-private-dev
* Update the other build dependencies according to the upstream build system:
- bump cmake to 3.19.0
- bump extra-cmake-modules to 6.0
- bump libopencolorio-dev to 2.0.0
* Modernize building and update it to KF6:
- add the dh-sequence-kf6 build dependency to use the kf6 addon
automatically
- drop the pkg-kde-tools build dependency, no more explicitly needed
- drop all the manually specified addons and buildsystem for dh
* Pass -DBUILD_WITH_QT6=ON to cmake to explicitly build using Qt 6.
* Update the runtime relationships to Qt 6:
- switch libqt5sql5-sqlite to libqt6sql6-sqlite
- switch python3-pyqt5 to python3-pyqt6
- switch qml-module-qtmultimedia to qml6-module-qtmultimedia
* Update the patches:
- upstream_Bump-SIP-ABI-version-to-12.8.patch: drop, fixed upstream
* Stop adding -Wno-template-id-cdtor to the CXXFLAGS, as the warnings were
fixed.
* Append -Wno-deprecated -Wno-deprecated-declarations to the CXXFLAGS,
as there are lots of deprecation warnings that make build logs bigger.
* Update install files.
* Add maintscript to remove the old /etc/xdg/kritarc conffile.
Checksums-Sha1:
e5567c2312dc92d2e250c8d1fc04b2706911e272 3650 krita_6.0.0~beta2+dfsg-1.dsc
04cb19c4d771669088703fb21304f8796dfb1646 206317132 krita_6.0.0~beta2+dfsg.orig.tar.xz
c8bb0418a91875cb7c4482770dbc999434b24416 24656 krita_6.0.0~beta2+dfsg-1.debian.tar.xz
34c40af885264c76ecb5414744177cd77c1ec05b 21260 krita_6.0.0~beta2+dfsg-1_source.buildinfo
Checksums-Sha256:
7b6184dd462dce02157becaaccd8373e003d7d57782a2314e19eb1e46bdcdb4f 3650 krita_6.0.0~beta2+dfsg-1.dsc
4bcfbdae44d3fcd7137053705dbc93b5356fd3db701c711c2fcaa3acabacbd01 206317132 krita_6.0.0~beta2+dfsg.orig.tar.xz
578f87797f9bf30c38db5d2395b8487d00106ff72f607bae30a92f67c337ce02 24656 krita_6.0.0~beta2+dfsg-1.debian.tar.xz
bd4ed64f9e235d35d524ec31264024a1a6b41617df09b18321b1a026c9478ba0 21260 krita_6.0.0~beta2+dfsg-1_source.buildinfo
Files:
0578d4aa4e8471eea2f2fadc6389385a 3650 kde optional krita_6.0.0~beta2+dfsg-1.dsc
add2f93578a50b4cbbf3d9f8d5f0f9f1 206317132 kde optional krita_6.0.0~beta2+dfsg.orig.tar.xz
e76fafc1165ceca47cb7ef1f2a6fb596 24656 kde optional krita_6.0.0~beta2+dfsg-1.debian.tar.xz
0a8347c5e6903a31fe9ef54e69ed43d9 21260 kde optional krita_6.0.0~beta2+dfsg-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEXyqfuC+mweEHcAcHLRkciEOxP00FAmmZYL0ACgkQLRkciEOx
P03hBQ/9HMl63XLaBy1/sDlw9LL53XPSuPYO3YjyYri/LiLjXJZxLZmK0LVvJ5SB
hJ+EyfPb24sT6czX99DMzu0vwqS+RO6EhM7jQhEHXqAJq6pHMG0JFKahntt/wBNq
P00Ng+lJ11AGq5C0CHQnXt8+iQcUVVNRYr/4qcxw2JqtxVAziFnRWkWBh7qAjw0m
s5+6QQkuUkbYpH9BO8Um3O8ox2aj8HunrnCOmn3hMLAmx/XhDUemW7gjKfbAhSjG
IFYqTID5yRvoD4N3AhAJ29VmAtFRRoDqFgmN3fngSRctikTpRgrnXL7djo0YQI6O
GytyRIDkSgcTf+XVn6MNSJr6czNw2sw7lnGm1S2OMjYf9E5JuPXpJuRV51Fbm+Fx
rcXNSQinu6GfUxF9iTUNlEPrfJv2YsrdsdC9e21u744TZ2PZcykpjmjuSkd/LS8u
C9B9u6HEumiIjWcpWKJw7gPRSzfJwDQoPz94n/H8Rw2HJPFcwtw4Yw3/AnuS7WGr
Gx7vCy+n+PoBfTMZ8X7XjYGBYBmBnop3uOg9NfHcg/KdKV0H9jZBC0UeCpiYiupY
Ir3yQkeaNMV6sS8yhgG2c/EvgdsyrRLneMYRUROuFeMD6bbCyUctoQrQDvK40hp9
K0miU+L/z23A3pw5iHM1+VTXEcke5Kcj6D16HG5yyei4ESp4FTQ=
=SGC0
-----END PGP SIGNATURE-----