Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[SOLVED]Undefined Reference to libQtGui
I am tring to build a Example Hello World program for QNX.
I have configured the Qt Version, Compiler, Debugger for QNX
When I try to build the Application it throws 28 Errors
/home/labuser/QtCommercialSDK/Embedded/QNX/485/armv7/lib/libQtGui.so:-1: error: undefined reference to `gf_draw_blit2'
I know it is a kind of linking Error, Tried to add the following Environment Variable in Project Tab
Host - Ubuntu 12.0.4
QNX - SDP 6.6
pritamghanghas last edited by
You can temporarily solve the problem by by adding
LIBS += -L<path to missing lib>
but in the long term your qmake should know all the paths.
I think such paths are specified in platform.spec, you can see which spec qmake is using by looking at the generated Makefile. It will be at the top in comments section
I checked in /opt/qnx660/host and /opt/qnx660/target for libgf.so.1 library file but could not find it.
It required Advanced Graphics patch from QNX. So I downloaded them, installed the patches and built it. Now I could get an .exe file