sqlitestudio icon indicating copy to clipboard operation
sqlitestudio copied to clipboard

Linux maintaining compliance

Open tieugene opened this issue 5 years ago • 5 comments

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.

tieugene avatar Nov 20 '20 18:11 tieugene

Qt Xcb plugin failed to load. Do you have several Qt versions installed? It looks like your Qt has some issues.

pawelsalawa avatar Nov 21 '20 23:11 pawelsalawa

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.

tieugene avatar Nov 21 '20 23:11 tieugene

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

pawelsalawa avatar Nov 22 '20 01:11 pawelsalawa

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?

tieugene avatar Nov 22 '20 18:11 tieugene

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.

srgonzalezz avatar May 28 '24 05:05 srgonzalezz