Qsampler and Qt5.7

Forums

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

Permalink

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

Permalink

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

Permalink

"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.

Permalink

: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

The content of this field is kept private and will not be shown publicly.

Markdown

  • Parses markdown and converts it to HTML.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id> <img src alt height width> <strike> <pre> <p> <br>
  • Lines and paragraphs break automatically.

Filtered HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <b> <i> <pre> <img src alt height width> <strike>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
File attachments
Unlimited number of files can be uploaded to this field.
2 MB limit.
Allowed types: jpg jpeg gif png txt doc docx xls xlsx pdf ppt pps odt ods odp zip gz bz2 xz patch diff wav ogg flac ogv mp4 qtz.
CAPTCHA
Enter the characters shown in the image.