QLC+ 5 Cannot load library

Post Reply
User avatar
sbenejam
Posts: 607
Joined: Sun Apr 12, 2015 6:28 pm
Real Name: Santiago Benejam Torres
Contact:

I have tried compiling QLC + 5 and when I run appimage I receive these errors and a blank white window.
OS: Ubuntu 18.04
QT: 5.14.2

Code: Select all

(qrc:/FixtureDMXItem.qml:20:1: plugin cannot be loaded for module "QtQuick": Cannot load library /tmp/.mount_Q_LighEF1QAY/usr/bin/QtQuick.2/libqtquick2plugin.so: (libQt5QmlWorkerScript.so.5: no s’ha pogut obrir el fitxer d’objecte compartit: El fitxer o directori no existeix)
    import QtQuick 2.2
    ^)
(qrc:/Fixture2DItem.qml:20:1: plugin cannot be loaded for module "QtQuick": Cannot load library /tmp/.mount_Q_LighEF1QAY/usr/bin/QtQuick.2/libqtquick2plugin.so: (libQt5QmlWorkerScript.so.5: no s’ha pogut obrir el fitxer d’objecte compartit: El fitxer o directori no existeix)
    import QtQuick 2.10
    ^)
void VirtualConsole::addWidgetToMap(VCWidget*) id= 0
void VirtualConsole::addWidgetToMap(VCWidget*) id= 1
void VirtualConsole::addWidgetToMap(VCWidget*) id= 2
void VirtualConsole::addWidgetToMap(VCWidget*) id= 3
(qrc:/ShowItem.qml:20:1: plugin cannot be loaded for module "QtQuick": Cannot load library /tmp/.mount_Q_LighEF1QAY/usr/bin/QtQuick.2/libqtquick2plugin.so: (libQt5QmlWorkerScript.so.5: no s’ha pogut obrir el fitxer d’objecte compartit: El fitxer o directori no existeix)
    import QtQuick 2.0
    ^)
qrc:/MainView.qml:20:1: plugin cannot be loaded for module "QtQuick": Cannot load library /tmp/.mount_Q_LighEF1QAY/usr/bin/QtQuick.2/libqtquick2plugin.so: (libQt5QmlWorkerScript.so.5: no s’ha pogut obrir el fitxer d’objecte compartit: El fitxer o directori no existeix) 
     import QtQuick 2.2 
     ^
OpenGL version:  4 5
User avatar
mcallegari
Posts: 4710
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

I haven't created an appimage in a while.
I probably need to review the Qt libraries that get included.
One thing I know for sure: don't use Qt > 5.13.0
User avatar
sbenejam
Posts: 607
Joined: Sun Apr 12, 2015 6:28 pm
Real Name: Santiago Benejam Torres
Contact:

Hi Massimo,
How can I test the latest changes in QLC+ 5 without interfere with the normal QLC+ 4 installation?.
User avatar
mcallegari
Posts: 4710
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

In Linux the only way is via AppImage.
QLC+ 4 and QLC+ 5 share the same engine, but with a few build differences, so they're not binary compatible.

In the meantime I fixed the 2 major issues QLC+ 5 had on Qt. Now I can fix the appimage creation too. I think I will bundle Qt 5.14.2.

[EDIT] pushed. Please check if it is OK now with Qt 5.14.2
User avatar
sbenejam
Posts: 607
Joined: Sun Apr 12, 2015 6:28 pm
Real Name: Santiago Benejam Torres
Contact:

I will try it later and inform you of the results.
I tried yesterday adding libQt5QmlModels.so.5 to linux.pro and it did not work. Now I see that you removed some references to libQt5MultimediaQuick versions too.

Regards

Santi
User avatar
sbenejam
Posts: 607
Joined: Sun Apr 12, 2015 6:28 pm
Real Name: Santiago Benejam Torres
Contact:

I tried it just now and I get the same errors with Ubuntu 18.04 and Qt 5.14.2.

Code: Select all

(qrc:/FixtureDMXItem.qml:20:1: plugin cannot be loaded for module "QtQuick": Cannot load library /tmp/.mount_Q_LighV241pc/usr/bin/QtQuick.2/libqtquick2plugin.so: (libQt5QmlWorkerScript.so.5: no s’ha pogut obrir el fitxer d’objecte compartit: El fitxer o directori no existeix)
    import QtQuick 2.2
    ^)
(qrc:/Fixture2DItem.qml:20:1: plugin cannot be loaded for module "QtQuick": Cannot load library /tmp/.mount_Q_LighV241pc/usr/bin/QtQuick.2/libqtquick2plugin.so: (libQt5QmlWorkerScript.so.5: no s’ha pogut obrir el fitxer d’objecte compartit: El fitxer o directori no existeix)
    import QtQuick 2.10
    ^)
void VirtualConsole::addWidgetToMap(VCWidget*) id= 0
void VirtualConsole::addWidgetToMap(VCWidget*) id= 1
void VirtualConsole::addWidgetToMap(VCWidget*) id= 2
void VirtualConsole::addWidgetToMap(VCWidget*) id= 3
(qrc:/ShowItem.qml:20:1: plugin cannot be loaded for module "QtQuick": Cannot load library /tmp/.mount_Q_LighV241pc/usr/bin/QtQuick.2/libqtquick2plugin.so: (libQt5QmlWorkerScript.so.5: no s’ha pogut obrir el fitxer d’objecte compartit: El fitxer o directori no existeix)
    import QtQuick 2.0
    ^)
qrc:/MainView.qml:20:1: plugin cannot be loaded for module "QtQuick": Cannot load library /tmp/.mount_Q_LighV241pc/usr/bin/QtQuick.2/libqtquick2plugin.so: (libQt5QmlWorkerScript.so.5: no s’ha pogut obrir el fitxer d’objecte compartit: El fitxer o directori no existeix) 
     import QtQuick 2.2 
     ^
OpenGL version:  4 5
The output of ldd qlcplus.AppDir/usr/bin/qlcplus-qml

Code: Select all

sbenejam@migjorn:~$ ldd qlcplus.AppDir/usr/bin/qlcplus-qml
        linux-vdso.so.1 (0x00007ffe82bdf000)
        libqlcplusengine.so.1 => /usr/lib/x86_64-linux-gnu/libqlcplusengine.so.1 (0x00007f28f2dac000)
        libQt5Quick.so.5 => /home/sbenejam/Qt/5.14.2/gcc_64/lib/libQt5Quick.so.5 (0x00007f28f2680000)
        libQt5Svg.so.5 => /home/sbenejam/Qt/5.14.2/gcc_64/lib/libQt5Svg.so.5 (0x00007f28f242b000)
        libQt5PrintSupport.so.5 => /home/sbenejam/Qt/5.14.2/gcc_64/lib/libQt5PrintSupport.so.5 (0x00007f28f21b9000)
        libQt5Widgets.so.5 => /home/sbenejam/Qt/5.14.2/gcc_64/lib/libQt5Widgets.so.5 (0x00007f28f195a000)
        libQt5Multimedia.so.5 => /home/sbenejam/Qt/5.14.2/gcc_64/lib/libQt5Multimedia.so.5 (0x00007f28f1648000)
        libQt53DExtras.so.5 => /home/sbenejam/Qt/5.14.2/gcc_64/lib/libQt53DExtras.so.5 (0x00007f28f139d000)
        libQt53DRender.so.5 => /home/sbenejam/Qt/5.14.2/gcc_64/lib/libQt53DRender.so.5 (0x00007f28f0e99000)
        libQt53DLogic.so.5 => /home/sbenejam/Qt/5.14.2/gcc_64/lib/libQt53DLogic.so.5 (0x00007f28f0c8e000)
        libQt53DCore.so.5 => /home/sbenejam/Qt/5.14.2/gcc_64/lib/libQt53DCore.so.5 (0x00007f28f0a1e000)
        libQt5Gui.so.5 => /home/sbenejam/Qt/5.14.2/gcc_64/lib/libQt5Gui.so.5 (0x00007f28f0104000)
        libQt5Qml.so.5 => /home/sbenejam/Qt/5.14.2/gcc_64/lib/libQt5Qml.so.5 (0x00007f28efab5000)
        libQt5Network.so.5 => /home/sbenejam/Qt/5.14.2/gcc_64/lib/libQt5Network.so.5 (0x00007f28ef70a000)
        libQt5Core.so.5 => /home/sbenejam/Qt/5.14.2/gcc_64/lib/libQt5Core.so.5 (0x00007f28eef2f000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f28eeb4f000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f28ee7b1000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f28ee599000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f28ee1a8000)
        libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f28edf8a000)
        libfftw3.so.3 => /usr/lib/x86_64-linux-gnu/libfftw3.so.3 (0x00007f28edb88000)
        libQt5Script.so.5 => /home/sbenejam/Qt/5.14.2/gcc_64/lib/libQt5Script.so.5 (0x00007f28ed702000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f28ed4e3000)
        libQt5QmlModels.so.5 => /home/sbenejam/Qt/5.14.2/gcc_64/lib/libQt5QmlModels.so.5 (0x00007f28ed249000)
        libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007f28ecfbd000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f28ecda0000)
        libpulse-mainloop-glib.so.0 => /usr/lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0 (0x00007f28ecb9b000)
        libpulse.so.0 => /usr/lib/x86_64-linux-gnu/libpulse.so.0 (0x00007f28ec94b000)
        libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f28ec634000)
        libQt53DInput.so.5 => /home/sbenejam/Qt/5.14.2/gcc_64/lib/libQt53DInput.so.5 (0x00007f28ec3c2000)
        libQt5Gamepad.so.5 => /home/sbenejam/Qt/5.14.2/gcc_64/lib/libQt5Gamepad.so.5 (0x00007f28ec1a2000)
        libQt5Concurrent.so.5 => /home/sbenejam/Qt/5.14.2/gcc_64/lib/libQt5Concurrent.so.5 (0x00007f28ebf9b000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f28ebd93000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f28ebb8f000)
        libgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f28eb944000)
        libicui18n.so.56 => /home/sbenejam/Qt/5.14.2/gcc_64/lib/libicui18n.so.56 (0x00007f28eb4ab000)
        libicuuc.so.56 => /home/sbenejam/Qt/5.14.2/gcc_64/lib/libicuuc.so.56 (0x00007f28eb0f3000)
        libicudata.so.56 => /home/sbenejam/Qt/5.14.2/gcc_64/lib/libicudata.so.56 (0x00007f28e9710000)
        libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007f28e950e000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f28f37c9000)
        libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f28e92dd000)
        libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f28e9027000)
        libpulsecommon-11.1.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so (0x00007f28e8da9000)
        libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f28e8b5c000)
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f28e88ea000)
        libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f28e8614000)
        libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f28e83e2000)
        libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f28e81de000)
        libkrb5support.so.0 => /usr/lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f28e7fd3000)
        libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f28e7c9b000)
        libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f28e7a73000)
        libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f28e77ef000)
        libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007f28e75e5000)
        libsndfile.so.1 => /usr/lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007f28e736c000)
        libasyncns.so.0 => /usr/lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007f28e7166000)
        libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f28e6f62000)
        libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f28e6d47000)
        libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f28e6b43000)
        libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f28e693d000)
        liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f28e6717000)
        liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f28e64fb000)
        libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f28e61df000)
        libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007f28e5fc5000)
        libFLAC.so.8 => /usr/lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007f28e5d4e000)
        libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007f28e5b45000)
        libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f28e591a000)
        libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007f28e5671000)
        libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f28e545c000)
        libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f28e5247000)
User avatar
sbenejam
Posts: 607
Joined: Sun Apr 12, 2015 6:28 pm
Real Name: Santiago Benejam Torres
Contact:

More info about this issue.

Code: Select all

sbenejam@migjorn:~$ ldd qlcplus.AppDir/usr/bin/QtQuick.2/libqtquick2plugin.so | grep not
qlcplus.AppDir/usr/bin/QtQuick.2/libqtquick2plugin.so: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.14' not found (required by qlcplus.AppDir/usr/bin/QtQuick.2/libqtquick2plugin.so)
        libQt5QmlModels.so.5 => not found
        libQt5QmlWorkerScript.so.5 => not found
[code]
[/code]
User avatar
mcallegari
Posts: 4710
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

I tried yesterday adding libQt5QmlModels.so.5 to linux.pro and it did not work. Now I see that you removed some references to libQt5MultimediaQuick versions too.
libQt5MultimediaQuick was a duplicate. See a few lines above in the .pro file.

The output of ldd you're showing is not the one expected. It should show paths inside the appimage folder. Are you sure you have chrpath installed? It is required by the appimage creation script (it's written at the beginning of the script...)

In any case it might be necessary to add libQt5QmlWorkerScript too
User avatar
sbenejam
Posts: 607
Joined: Sun Apr 12, 2015 6:28 pm
Real Name: Santiago Benejam Torres
Contact:

First the good news, it's working now. I installed chrpath and added libQt5QmlWorkerScript.so.5 to linux.pro.
Bad news, video don't work. The video properties don't show duration, resolution and video and audio codec. The audio files are working well.
giacomo
Posts: 553
Joined: Tue May 26, 2015 6:17 pm
Real Name:

hi,
I would like to try it because I'm starting some theatre rehearsals and it's a good occasion for mistakes :)
someone would be so gentle to share the appimage?
I've tried to build it this morning but when I lunch it it says no qmlui found and I'm not so tech to investigate it.
giacomo
Posts: 553
Joined: Tue May 26, 2015 6:17 pm
Real Name:

I managed to built it on a desktop with qt 5.15.0.
Sure that it's too technical for me, my build is too buggy and I didn't dare to try it for real in this state, even just for rehearsals.
Hopefully your experience will be better.
Post Reply