Important: Please read the Qt Code of Conduct -

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


Log in to reply