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!
Compile qlcplus on raspberry pi
-
- 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
or have a look at this:
viewtopic.php?t=9280
-
- 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 ..
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 ..
-
- Posts: 1330
- 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.
Xvnc or xrdp might be enough. Search forum to learn how to run qlcplus headless.
-
- 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