Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Show build kit at runtime

Show build kit at runtime

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
c++buildruntime
2 Posts 2 Posters 640 Views
  • 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.
  • H Offline
    H Offline
    harveyab
    wrote on last edited by
    #1

    Is there a way to determine what build kit was used so I can identify it at runtime?
    I would like to show it in debug output and/or use it for conditional compilation.

    JonBJ 1 Reply Last reply
    0
    • H harveyab

      Is there a way to determine what build kit was used so I can identify it at runtime?
      I would like to show it in debug output and/or use it for conditional compilation.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @harveyab said in Show build kit at runtime:

      use it for conditional compilation

      If you want to use it for this you will need to know at compile-time, not at runtime.

      Assuming (I don't know but would guess) that you cannot access the particular kit selected in Creator I would expect to have to test for compile-time defines which come from the kit chosen, e.g. compiler version like _MSC_VER.

      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