Hello, in my application i have used QR code scanner, using QZXing library (https://github.com/ftylitak/qzxing ). I embed the source code in my project adding
include(QZXing/QZXing.pri)
to my .pro file. When compile for Android platform everything works fine, but when i switch to Felgo desktop i get linker error, that I paste below:
/usr/bin/ld: /home/user/Felgo/Felgo/gcc_64/lib/libFelgo.a(spinemeshrenderer.o): undefined reference to symbol ‘glEnable’
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libGL.so: error adding symbols: DSO missing from command line
In .pro file I have:
QT += svg widgets positioning location multimedia
CONFIG += qzxing_multimedia
CONFIG += felgo
CONFIG += c++14
And in section linux!:android I have:
linux:!android {
LIBS += -lGL -lssl -lcrypto
}
Thanks for your help.