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. Qt Creator CMake configuration export. How?

Qt Creator CMake configuration export. How?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 1 Posters 353 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.
  • B Offline
    B Offline
    bogong
    wrote on 17 May 2023, 06:34 last edited by
    #1

    Hello all!

    Need to create XCode project for MacOS and direct convertation not working via:

    $ cmake -G Xcode .
    

    Is there any way to export CMake configuration and variables and add it to this command? For now it's not working. Don't see Qt without Qt Creator CMake configuration. This settings:

    Screen Shot 2023-05-17 at 09.30.00.png

    1 Reply Last reply
    0
    • B Offline
      B Offline
      bogong
      wrote on 17 May 2023, 06:40 last edited by bogong
      #2

      Technically solution found.

      There need to change CMake parameter CMAKE_GENERATOR onto Xcode instead of Ninja:

      Screen Shot 2023-05-17 at 09.38.45.png

      There are created XCode project file. No need to export CMake config if building it from Qt Creator. But never the less how to get this configs?
      Is there any critical difference when using XCode instead of Ninja for building Qt Application for MacOS?
      Why Qt using Ninja for MacOS instead of XCode?

      1 Reply Last reply
      0
      • C Christian Ehrlicher moved this topic from General and Desktop on 17 May 2023, 06:53
      • B Offline
        B Offline
        bogong
        wrote on 17 May 2023, 12:58 last edited by
        #3

        Or you could change it in Kit Configuration:

        Screen Shot 2023-05-17 at 15.57.07.png

        1 Reply Last reply
        0

        1/3

        17 May 2023, 06:34

        • Login

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