You are not logged in.
Pages: 1
I downloaded qt5creator today and I ran into a problem when using qt-quick. I use nvidia drivers and when i try to run the aplication ( compiling works) there is an information
Unrecognized OpenGL versionI found a workaround which is to link nvidia libs to the opengl libs :
ln -s /usr/lib64/nvidia-current/libGL.so.1 /usr/lib64/libGL.so.1
ln -s /usr/lib64/nvidia-current/libGL.so.1 /usr/lib64/libGL.soBut now new problem occured, since i cannot compile the code with the output
g++ -o qtquick main.o qrc_qml.o -lQt5Quick -lQt5Gui -lQt5Qml -lQt5Network -lQt5Core -lGL -lpthread
/usr/bin/ld: cannot find -lGLIs there a way to either point to ld where GL library is ( i have original files on the disc) ? I tried adding path to original libs to /etc/ld.so.conf.d/ but it doesn't do the trick. Any ideas?
Offline
Nvidia driver on Arch linux , Xorg and mesa have recently switched to libglvnd to allow X to switch easily between multiple opengl implementations.
I suggest you check if the command your application uses to determine opengl version is compatible with glvnd .
https://github.com/NVIDIA/libglvnd
Last edited by Lone_Wolf (2017-04-17 12:52:21)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Okay I do gave opengl version compatibile with glvnd but it doesn't solve the problem. However weird thing happens when i don't have these nvidia libs linked as before. I can compile code and I can run it, but outside of the QTcreator ( which i have not tried before). Running executable file stored in debug build works. So I would say it's not linux problem, but rather just problem within the app. This post can be closed.
Offline
This post can be closed.
If you are satisfied a solution has been found, please mark your thread as solved by editing the first post and prepending the tag [SOLVED] to the title in the "Subject" field.
If you wish the thread to be deleted use the report button to contact a moderator.
Offline
Pages: 1