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. Qt5 cmake imported target include path on MacOS

Qt5 cmake imported target include path on MacOS

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 268 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.
  • C Offline
    C Offline
    Chris_S
    wrote on last edited by
    #1

    We are using the imported targets of Qt5 on macOS. When we do this the command line shows the include paths to the frameworks directory as "-F<path>" where we would have expected "-iframework <path>". The former is leading the compiler to give us warnings when compiling the Qt provided header.

    Any ideas on how to remedy this?
    Thanks!

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Chris_S
      wrote on last edited by
      #2

      Additionally, this seems to happen when we generate for XCode. If we use -G Ninja, it seems to work. So my guess is this is a CMake XCode generator problem.

      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