Unknown module(s) in QT: quickcontrols2
-
wrote on 6 May 2018, 08:24 last edited by
I am stupid, it's just a warning. The application compiled.
I just have a problem when I want to execute the program. The symbolic link doesn't work:./appliUR: error while loading shared libraries: libGLESv2.so: cannot open shared object file: No such file or directory
-
You need to enable the vc4 gpu driver in
raspi-config
. I think it is listed under experimental section. -
You need to enable the vc4 gpu driver in
raspi-config
. I think it is listed under experimental section.wrote on 6 May 2018, 09:07 last edited by@sierdzio
I was in :7 Advanced options > A7 GL Driver > G1 GL (Full KMS)
(I din't find reference to VC4 GPU Driver in my raspi-config)
I don't now if it's that? But it didn't work, even after reboot.
-
Modify
LD_LIBRARY_PATH
so that it also point to that folder. -
@sierdzio
I was in :7 Advanced options > A7 GL Driver > G1 GL (Full KMS)
(I din't find reference to VC4 GPU Driver in my raspi-config)
I don't now if it's that? But it didn't work, even after reboot.
@DarkPatate said in Unknown module(s) in QT: quickcontrols2:
I don't now if it's that? But it didn't work, even after reboot.
Looks like it. Shame it didn't work. Try the other options maybe, but they are less likely to work.
-
wrote on 7 May 2018, 11:53 last edited by
@SGaist now all the librairy are found. But there is a missing plugin:
pi@raspberrypi:~/Documents/appliUR $ ./appliUR This application failed to start because it could not find or load the Qt platform plugin "eglfs" in "". Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb. Reinstalling the application may fix this problem. Aborted
So I tried to create a sym link to the EGL lib too:
sudo ln -s /opt/vc/lib/libbrcmEGL.so /opt/vc/lib/libEGL.so
But it didn't work. It's almost working!
@sierdzio I tried all options, without success.
-
Eglfs platform plugin is a Qt plugin, located in <qt dir>/plugins/platforms.
Most probably your Qt was compiled for XCB (X11) only. Try running your app with
-platform xcb
argument (but expect low performance from this plugin...). -
Eglfs platform plugin is a Qt plugin, located in <qt dir>/plugins/platforms.
Most probably your Qt was compiled for XCB (X11) only. Try running your app with
-platform xcb
argument (but expect low performance from this plugin...).wrote on 7 May 2018, 15:00 last edited by@sierdzio said in Unknown module(s) in QT: quickcontrols2:
-platform xcb
I got the same pb with xcb. I tried also linuxfb and minimal, without success :/
-
I see. Well, that answer won't make you happy, perhaps, but: try following the "RPI eglfs" (Google it) guide and cross compile Qt yourself.
If definitely works, I've used Qt, with Qt Quick, many times. There are issues with the drivers, sure. But in general it works.
-
I see. Well, that answer won't make you happy, perhaps, but: try following the "RPI eglfs" (Google it) guide and cross compile Qt yourself.
If definitely works, I've used Qt, with Qt Quick, many times. There are issues with the drivers, sure. But in general it works.
wrote on 19 May 2018, 21:06 last edited by@sierdzio sorry for the very late reply, I was so busy. I tried this solution long time ago but I failed. I will try again and let you know :)
-
Here's the link by the way https://wiki.qt.io/RaspberryPi2EGLFS
I recommend getting the source tarball instead of using git: https://download.qt.io/archive/qt/5.10/5.10.1/single/ Less to download, no need to run init-repository - in general less hassle (unless you want to contribute to Qt, but that's not the case here).