Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to use KIT name for loading library

How to use KIT name for loading library

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 538 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pou_cz
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved