This is the message that terminated your build:
To me that seems strongly related to:The OpenGL ES 2.0 functionality test failed!
Screen and OpenGL
As noted above, building Qt 5 requires the QNX 6.5.0 SP1 and the new UI Core graphics framework headers and libraries. Both are available through QNX. For OpenGL support (GL widgets and QML2), OpenGL ES2 or higher must be available.
Hi,
Yes i agree with your point. This is my environment iam using to build the source.
1. QNX650SP1 with screen libraries and headers.
2. OpenGL installed for linux host as follows:
3. this is my current environment.Qt Code:
sudo apt-get install libgles2-mesa-devTo copy to clipboard, switch view to plain text mode
Sorry for not posting all these details earlier. please check if iam missing anything in the environment setup side.QNX_CONFIGURATION=/etc/qnx
MAKEFLAGS=-I/opt/qnx650/target/qnx6/usr/include
QNX_JAVAHOME=/opt/qnx650/_jvm
QTDIR=/home/ubuntu1204/Downloads/qt-everywhere-opensource-src-5.2.0
PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/qnx650/host/linux/x86/usr/bin:/etc/qnx/bin
HOME=/home/ubuntu1204
QNX_TARGET=/opt/qnx650/target/qnx6
QNX_HOST=/opt/qnx650/host/linux/x86
QTDESTDIR=/home/ubuntu1204/Downloads/Qt5.2onQNX
Thanks.
I do not have a QNX setup or the relevant documentation to say if any of that is correct. I can say that the OpenGL ES support is required on the QNX side of the cross-compile.
I ran into the same problem last week. After a bit digging it turned out that my QNX SDP 6.5 installation was damaged by a wrong installation of the SP1. Did you install the SP1 on top of the base SDP 6.5.0 installation? If the installation of SP1 does not go well, there is a danger that it deletes several important files in /opt/qnx650/target/qnx6/usr/include/, e.g. stdio.h and several other files were missing in my case. Since that file was missing as first in one of the first configuration tests, configure was not able to determine the target architecture and stopped.
The point is that SP1 needs all QNX env var set correctly when it runs. If you just do this with "sudo <SP1 installer>", then QNX env vars are not imported. You have to use the -E option to retain the environment. You also need to logout and login after the base installation of the SDP 6.5.0 has completed so that the new QNX env vars will be taken. The installer wizard tells this, but it is easy to ignore in a rush :-) I was talking to QNX folks, and they will add this detail to the installation notes. SDP 6.6 is sooooo much beter in all this....
Despite a few host tools which will be build each time, SDP provides everything you need, incl. OpenGL ES2 libs/headers.
I just have built 5.3.0 for the ARM target w/o problems. Qt 5.2.1 is still on the way... I did not try Qt 5.2.0.
BTW, the target names in Qt 5.3 have changed. See more on http://qt-project.org/wiki/QNX
Bookmarks