You are here

Qsampler and Qt5.7

Hi there Mr Capela

I've compiled qsampler with Qt5.7 and there were a few minor niggles, amongst others the same Qt issue which was encountered before with Qtractor where
it complains about missing Qt until one exports this:

export CXXFLAGS="${CXXFLAGS} -std=c++11"

With that, Qsampler compiles and installs fine but it fails to run, complaining about missing xcb.
I've tried making a custom qt.conf file with the path to the libqxcb.so but this doesn't seem to help and gives an error:

"This application failed to start because it could not find or load the Qt platform plugin "xcb"
in ""."

qt.conf contents

[Paths]
Plugins=/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms

Without this qt.conf the error looks slightly different

"This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb."

So it seems to be recognising the path to the plugins from the qt.conf file, but still refuses to work.
Do you perhaps have any suggestions?

Cheers

Forums: 
rncbc's picture

probably you/we'll have to make it for a correct qmakespec, one that targets Qt5.7 (and g++6 core libs, just in case); besides, you seem to have a bleeding-edge misalignment on most fundamental x11/xcb libs anyway. may i ask why you're stepping up so fast?

meanwhile i'm still on Qt5.6 (LTS) though already on g++6, where all qstuff builds and runs fine as it ever was :)

ttfn.
cheers

FYI it's the same with qjackctl and qtractor. I'm running Qt5.7 because i'm experimenting with wayland ;-)

"may i ask why you're stepping up so fast?"

Combination of getting a new (second hand) laptop, installing a new version of Linux (Mint 18 / Ubuntu 16.04) and compiling the "latest" versions of pretty much all the audio software I can lay may hands on. And ignorance. :D

From what you're suggesting I'd be better off an older version of Qt, perhaps I should rather use 5.5. I've started running into similar problems with Qt5.7 when trying to compile some other apps. Some work, some don't. For example, I'm getting the same problem with Shuriken Beat Slicer. Amazingly enough I did get Qjackctl and Qtractor to work with Qt 5.7.

Thanks as always for the advice.

babarosa's picture

:D
I recently wrote I'll keep Qt4 as long as I can. A programmer's life is not easy if he serves all needs like you do Rui!
Thank you so much for your efforts and your great software! Greetings, Michael

Add new comment