Compile qlcplus on raspberry pi

All the topics related to QLC+ on the Raspberry Pi
Post Reply
falken
Posts: 12
Joined: Wed Mar 02, 2016 7:37 am
Real Name:

Hi!
The last days i spent a lot of time trying to crosscompile qlcplus to do some test with different SPI timings.
viewtopic.php?f=7&t=9873

Unfortunately it did not work. So i compiled it on the pi itself (the base is the official image). That worked but when i try to execute "/usr/bin/qlcplus" i get "qlcplus: cannot connect to X server".
I know it should work without the X server. So there must be a special option for executing or compiling without it. But i dont know it. Can anybody help?

Thanks in advance!
siegmund
Posts: 703
Joined: Mon Nov 02, 2015 11:03 am
Location: Germany
Real Name: Lukas

Use the --nogui option (see http://www.qlcplus.org/docs/commandlineparameters.html)
or have a look at this:
viewtopic.php?t=9280
falken
Posts: 12
Joined: Wed Mar 02, 2016 7:37 am
Real Name:

Thanks! But unfortunately it does not help in my case. I still get "qlcplus: cannot connect to X server"
siegmund
Posts: 703
Joined: Mon Nov 02, 2015 11:03 am
Location: Germany
Real Name: Lukas

In this case I'm out, sorry... Maybe someone else has an idea?
jkrah
Posts: 1
Joined: Thu Apr 27, 2017 9:56 am
Real Name: Jason

I seem to be having the same issue in that the --nogui switch is being ignored (on raspi pi) ..
I can export DISPLAY to another xserver and it works fine ..
... but I'm wondering if there was a build option I missed so it detected that it was being built on a PI ..
janosvitok
Posts: 1266
Joined: Mon Apr 13, 2015 7:05 am
Location: Bratislava, Slovakia
Real Name: Jano Svitok
Contact:

QLC+ in Massimo's RPI image uses special QT version that runs directly on framebuffer/opengl (http://doc.qt.io/qt-5/embedded-linux.html#eglfs). If you compile against stock QT, you must provide X server.
Xvnc or xrdp might be enough. Search forum to learn how to run qlcplus headless.
technosf
Posts: 4
Joined: Tue Mar 07, 2017 4:34 am
Real Name: Techno

Install xvfb and run the web ui with this command:

Code: Select all

xvfb-run qlcplus -w -p
linuxmarc
Posts: 2
Joined: Mon Aug 05, 2019 2:19 pm
Real Name: MARC-ANDRE

Can anyone describe in more detail how to configure qt5 to compile QLC+ with the --nogui option ?
Post Reply