I have to use QGIS; however, application does not work correctly. I tried every methods exist in the web. Only flatpak runns without problem, but I don’t want to use flatpak because it uses to much place in disk.
At he start, QGIS gives error about QT-Widgets, when I move mouse cursor to tabs, info boxes are just blank rectangle, rather than information texts.
How can I solve this issue?
Does anyone use QGIS without any problem?
Thank you.
Can we assume you try to run qgis as installed from the standard OSS repo? And that you installed it with either YaST > Software > Software Management or zypper in qgis without any troubles?
Please tell us which Desktop Environment you use (KDE, Gnome. …).
Please start it from a terminal emulator and then show what the messages are.
BTW, I see you are new here. Welcome. And please note the following:
There is an important, but not easy to find feature on the forums.
Please in the future use CODE tags around copied/pasted computer text in a post. It is the # button in the tool bar of the post editor. When applicable copy/paste complete, that is including the prompt, the command, the output and the next prompt.
I work with QGIS daily on Tumbleweed (XFCE) without problems. Mat be you are having problems with some dependencies?
You can also consider building it from source yourself. I have done that for years and seldom had any problem … that is apart from the rough beginnings. You will learn a lot about dependencies!
*@:~> qgis
src/app/main.cpp:513 : (main) [0ms] RLIMIT_NOFILE Soft NEW: 4096 / 524288
src/app/main.cpp:518 : (main) [0ms] RLIMIT_NOFILE Soft/Hard ORIG: 1024 / 524288
src/app/main.cpp:523 : (main) [0ms] Starting qgis main
Info: Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
src/core/qgsmessagelog.cpp:29 : (logMessage) [886ms] 2022-11-19T21:48:40 [1] Successfully loaded globalsettingsfile path: /usr/share/qgis/resources/qgis_global_settings.ini
src/core/symbology/qgssymbollayerutils.cpp:1270 : (loadSymbol) [212ms] no layers for symbol
src/core/symbology/qgssymbollayerutils.cpp:1270 : (loadSymbol) [1ms] no layers for symbol
src/core/providers/qgsproviderregistry.cpp:329 : (init) [253ms] Loaded 24 providers (DB2;OAPIF;WFS;arcgisfeatureserver;arcgismapserver;delimitedtext;ept;gdal;geonode;gpx;mdal;memory;mesh_memory;mssql;ogr;pdal;postgres;postgresraster;spatialite;vectortile;virtual;virtualraster;wcs;wms)
Warning: QLayout::removeWidget: Cannot remove a null widget.
Stacktrace (c++filt NOT FOUND):
***I tried to add screenshot but I got error like “The text that you have entered is too long (457913 characters). Please shorten it to 15000 characters long.”
For repo, I fresh installed this one from main repository. However, I also tried from evey kind of repositories that I can. None of them worked properly. Only solution is flatpak (which is too heavy) or maybe I will try to install building by source, but I don’t know how to build it by source. There are information for qgis building by debian based distros but I couldn’t find for openSUSE.
Thank you all, thanks a lot.
Best regards,
greenvy
Information for package qgis:
-----------------------------
Repository : Main Repository (OSS)
Name : qgis
Version : 3.24.1-5.3
Arch : x86_64
Vendor : openSUSE
Installed Size : 309.1 MiB
Installed : Yes
Status : up-to-date
Source package : qgis-3.24.1-5.3.src
When you move mouse cursor to any of tab or icon, do you see info box or just blank rectangle?
I installed opensuse again and again, tried all other repos but I couldn’t get rid of these blank rectangles. In fedora or debian I did not see them
The QGIS project moves fast and code changes almost daily. Releases are made approximately once a month. This is one of the reasons I compile from source.
The build process uses CMAKE so it is very simple really. You can fine tune the build to adapt to your needs and particular system. Beware that building from source can be a source of frustration at the beginning until you understand what is going on. The benefits are worth it IMO, you control what you put in your system, get the code with the latest bug fixes and features (… and may be new bugs too ) without having to wait for someone to build a rpm for you.
I also believe that for very particular problems like this one it can be beneficial to look for them in the QGIS GitHub repository or ask in the QGIS mailing list. The community is very helpful.
user@host: QT_QPA_PLATFORM=wayland qgis
src/app/main.cpp:513 : (main) [0ms] RLIMIT_NOFILE Soft NEW: 4096 / 524288
src/app/main.cpp:518 : (main) [2ms] RLIMIT_NOFILE Soft/Hard ORIG: 1024 / 524288
src/app/main.cpp:523 : (main) [0ms] Starting qgis main
Info: Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Warning: Could not find the Qt platform plugin "wayland" in ""
Stacktrace (c++filt NOT FOUND):
qgis(+0x10d11)[0x5587b1cc1d11]
qgis(+0x1157f)[0x5587b1cc257f]
/lib64/libQt5Core.so.5(+0xedb50)[0x7f031a8edb50]
/lib64/libQt5Core.so.5(_Z17qt_message_output9QtMsgTypeRK18QMessageLogContextRK7QString+0xd)[0x7f031a8ef10d]
/lib64/libQt5Core.so.5(_ZN6QDebugD1Ev+0x68)[0x7f031a9f0a08]
/lib64/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate25createPlatformIntegrationEv+0x1cb5)[0x7f031af72e95]
/lib64/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate21createEventDispatcherEv+0x30)[0x7f031af73090]
/lib64/libQt5Core.so.5(_ZN23QCoreApplicationPrivate4initEv+0x8e5)[0x7f031aae2945]
/lib64/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate4initEv+0x2c)[0x7f031af75efc]
/lib64/libQt5Widgets.so.5(_ZN19QApplicationPrivate4initEv+0x9)[0x7f031b7aa959]
/lib64/libqgis_core.so.3.24.1(_ZN14QgsApplicationC1ERiPPcbRK7QStringS5_+0x38)[0x7f031932d4f8]
qgis(+0xb0fc)[0x5587b1cbc0fc]
/lib64/libc.so.6(+0x275b0)[0x7f031822c5b0]
/lib64/libc.so.6(__libc_start_main+0x8b)[0x7f031822c679]
qgis(+0x10145)[0x5587b1cc1145]
src/core/qgsmessagelog.cpp:29 : (logMessage) [8ms] 2022-11-20T19:05:44 Qt[1] Could not find the Qt platform plugin "wayland" in ""
Critical: 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, xcb.
Stacktrace (c++filt NOT FOUND):
qgis(+0x10d11)[0x5587b1cc1d11]
/lib64/libQt5Core.so.5(+0xedb50)[0x7f031a8edb50]
/lib64/libQt5Core.so.5(+0xedc68)[0x7f031a8edc68]
/lib64/libQt5Core.so.5(_ZNK14QMessageLogger8criticalEPKcz+0xaf)[0x7f031a8bad31]
/lib64/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate25createPlatformIntegrationEv+0x190e)[0x7f031af72aee]
/lib64/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate21createEventDispatcherEv+0x30)[0x7f031af73090]
/lib64/libQt5Core.so.5(_ZN23QCoreApplicationPrivate4initEv+0x8e5)[0x7f031aae2945]
/lib64/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate4initEv+0x2c)[0x7f031af75efc]
/lib64/libQt5Widgets.so.5(_ZN19QApplicationPrivate4initEv+0x9)[0x7f031b7aa959]
/lib64/libqgis_core.so.3.24.1(_ZN14QgsApplicationC1ERiPPcbRK7QStringS5_+0x38)[0x7f031932d4f8]
qgis(+0xb0fc)[0x5587b1cbc0fc]
/lib64/libc.so.6(+0x275b0)[0x7f031822c5b0]
/lib64/libc.so.6(__libc_start_main+0x8b)[0x7f031822c679]
qgis(+0x10145)[0x5587b1cc1145]
I tried “QT_QPA_PLATFORM=wayland qgis” and I got like this. However, it did not solve yet.
I will try to build by code too. Thank you all for these all help, forum is really active
If you have to install plasma to get it running, then there is something wrong with the packaging of qgis… I would not recommend, if you do then create a new user and log into plasma with that new user.
Not just a warning, info boxes of evey tabs and icons are blank and annoying. In fedora and debian, qgis with gnome-wayland working without any problem. Using it on plasma may solve, but still the question is while the same desktop other distros running without this unique problem but openSUSE has. I want to continue with gnome-wayland and openSUSE. I will try to build from source code when I have a time, or maybe next version will solve the issue I hope. Thank you all.
I could not find qt5-wayland package, but qt6-wayland is already installed. However, qt version of qgis is 5.15, so the problem is about there. Then, I installed libqt5-qtwayland[size=2], [/size][size=2]libQt5WaylandClient5[/size], libQt5WaylandCompositor5 **and kwayland. **However, still problem is not solved