Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Specify macos target build under qtCreator
Forum Updated to NodeBB v4.3 + New Features

Specify macos target build under qtCreator

Scheduled Pinned Locked Moved Solved Installation and Deployment
4 Posts 2 Posters 782 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.
  • B Offline
    B Offline
    bopieds
    wrote on last edited by bopieds
    #1

    hello !

    I am fairly new to Qt and Dev in general. I am more a hacker than a real developper and i use Qt and sometimes openFrameworks to build small tools for everyday use.

    Now i have pretty simple application (video player) i have developed on my computer but it will be used on another machine : my computer is a macbook pro under macOS Mojave (10.14) using QtCreator 4.8.1. The target machine will be an old macbook under Snow Leopard (10.6)

    I am looking for a way to build my app for a minimal 10.6 mac os version but don't really know how to achieve that (if even possible)

    I have added the following line in my build settings :

    QMAKE_CXXFLAGS += -mmacosx-version-min=10.6
    

    here it keeps throwing me a warning saying :

    overriding '-mmacosx-version-min=10.6' option with '--target=x86_64-apple-macosx10.9-macho' [-Woverriding-t-option]
    

    Is that to say i can only build for 10.9 as minimum ?
    If not, how can i achieve that ?

    thanks a lot

    1 Reply Last reply
    0
    • B Offline
      B Offline
      bopieds
      wrote on last edited by
      #4

      hi,

      thanks for the heads up
      so i ended up retrieving the old macbook and installed Qt build the app on it.

      thanks

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #2

        Hi and welcome to devnet,

        You will have to go "back in time". Xcode 10 doesn't provide older SDK especially for at version as old as 10.6.

        The most simple would be to create a virtual machine with e.g. macOS 10.9 which should give you the possibilty to build your application targeting 10.6.

        You will also have to use an older version of Qt. IIRC 5.6 should be fine.

        Note that this has not much to do with Qt itself but Apple which usually support the current and two preceding version of their OS.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • B Offline
          B Offline
          bopieds
          wrote on last edited by
          #3

          hi,

          thanks for the heads up.
          so Qt is tied to xcode under osx ?

          stange enough, when using Xcode with that same project, i can select 10.6 as target but then it complains about stdc++ needing 10.7 as minimum. I tried to add stdsc++ instead which seemed to be the standard before 10.7 and now is complaining about not finding standard libraries...

          1 Reply Last reply
          0
          • B Offline
            B Offline
            bopieds
            wrote on last edited by
            #4

            hi,

            thanks for the heads up
            so i ended up retrieving the old macbook and installed Qt build the app on it.

            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