To consult a: due to work reasons, I need to compile qt5 + opengl cross recently to the X86 architecture development board on Linux, but has been met problem, I understand that the process is like this: with a cross compiler and mesa source code to compile the mesa libraries, and then modify the qt5 source code corresponding to the platform of qmake. Conf, specify the cross compiler and QMAKE_LIBDIR_OPENGL QMAKE_INCDIR_OPENGL, QMAKE_LIBS_OPENGL equivalence, make its point to previously compiled mesa library, at the same time configuration qt5 add - opengl source, finally compiled from the qt5 library, I cross compile mesa7.1.0 success, to compile qt5, but prompt All the opengl functionality tests failed! If change the above opengl to opengl es2, will also have this problem, I think excuse me, I to the whole process of understanding is wrong? Thank you very much!!
CodePudding user response:
The original poster hello! Your problem solved? I'm compiling Qt5.5.0 for arm cortex a9, also need - opengl es 2 support, but when I join - opengl es 2, also appeared a Error: All the opengl functionality tests failed! Hope to be able to communicate with you, thank you!
CodePudding user response:
Taobao has transplanted, just directly from https://item.taobao.com/item.htm? SPM=a230r. 1.14.36. W9DqGr & amp; Id=540976451326 & amp; Ns=1 & amp; Abbucket=2 # detail
CodePudding user response:
Need to configure opengl