Qt app calling QNX custom library



  • Hi,

    I am a noob at QNX and need some help. I want to know how to bundle and call a QNX custom library in Qt. When I compile and build the QNX library in Momentics, I get a 'libXXX.a' file and a couple of 'XXX.o' files. Now I want to include this library in a Qt app and call the functions in the library. Any help or pointer to a step-by-step guide would be greatly appreciated.

    Thanks in advance !!



  • You will need the includes and the libxxx.a file.

    In the pro file:

    LIBS += %path%libXXX.a
    INCLUDEPATH += %PATHTOTHELIBHEADERS%

    That should do. Maybe you also could set this up over Momentics, but good luck with that...


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.