Qt5 QOpenGL Error on Execute
-
I'm developing a application on Qt Creator Comunnity, Qt Version 5.4.2 on Ubuntu Vivid(15.04). At my computer, the program works fine. But when i run the program on a Ubuntu 14.04 LTS the following error occurs:
undefined symbol: _ZN13QOpenGLWidgetC1EP7QWidget6QFlagsIN2Qt10WindowTypeEE
Did it happen because of the kernel version? -
Hi and welcome to devnet,
Did you deploy all there required libraries along your application ?
-
@SGaist Did you mean, import the all libraries in file .h or cpp?
-
No, I meant like described in the Linux/X11 deployment guide
-
@SGaist In the case, it would be time to create the packages also create a LD_LIBRARY_PATH?
I'm programming in Qt a few weeks , based only on my research on google and Qt documentation. A lot I do not understand and my English is not very good. If you can help me with a step by step to make this script and how to create this project, I'd appreciate it. -
If you want to use the script you can simply copy the content show in the documentation and put it in a script that has the same name as your application.