How to use KIT name for loading library



  • Hello,
    i'm using a few kits in QTcreator. But I need load right library for each kit.
    I need something like this:
    win32:INCLUDEPATH += "C:/mylibs/extra headers"
    unix:INCLUDEPATH += "/home/user/extra headers"
    But our kits is always unix, so i need decide by KIT name - it's possible?
    KIT1:LIBS+= -L../staticLibrary/kit1 -lstaticLibrary
    KIT2:LIBS+= -L../staticLibrary/kit2 -lstaticLibrary

    Thanks


Log in to reply
 

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