Linux maintaining compliance
During packaging subj into rpm I found next ~bugs~ chellenges:
- *.qm in source (they must be produced with 'lrelease *.pro' during build stage)
- translations not installing
- Plugins' 'make install' not works
- freedesktop.org entries no present:
- *.desktop
- icons
- *.appdata.xml
/*.so - ordinary they must be in *-devel package, but there is no sence without *.h, that are not installing. - libriries installing exactly into /usr/lib; modern x64 linuxes use /usr/lib64
- cannot start:
bash-5.0$ sqlitestudio
qt.qpa.xcb: could not connect to display
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.
But it is compilable, thank you.
Qt Xcb plugin failed to load. Do you have several Qt versions installed? It looks like your Qt has some issues.
Qt Xcb plugin failed to load. Do you have several Qt versions installed? It looks like your Qt has some issues.
No, the only qt5-5.15.1 from official Fedora 33 repo (in rpms). And no one application from sources. RPMs only.
Please have a look if this helps: https://forum.qt.io/topic/93247/qt-qpa-plugin-could-not-load-the-qt-platform-plugin-xcb-in-even-though-it-was-found/5
Please have a look if this helps: https://forum.qt.io/topic/93247/qt-qpa-plugin-could-not-load-the-qt-platform-plugin-xcb-in-even-though-it-was-found/5
I cannot repeat the bug - application starts ok. (?..)
Another problem - now I cannot close it in normal way. There is no "File - Quit" or something like this. Is it bug or feature?
In my case, I use a debian distribution. I installed Libxcb following the instructions here under the header of Libxcb.
Ubuntu/Debian:
sudo apt-get install '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev
Other distributions are listed there.