Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Build QT6 issue on macOS 11.5 Big Sur by XCode
QtWS25 Last Chance

Build QT6 issue on macOS 11.5 Big Sur by XCode

Scheduled Pinned Locked Moved Unsolved Qt 6
8 Posts 2 Posters 836 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.
  • S Offline
    S Offline
    SamChu
    wrote on last edited by
    #1

    I am working on porting my project from qt5 to qt6.
    When I build my project, it will show up the following error

    Sorry, "MyProject" cannot be run on this version of macOS. Qt requires macOS 11.0.0 or later, you have macOS 10.16.0.
    

    I installed the Qt6 by homebrew and build it by XCode 12.
    MacOS version is 11.5
    I am looking for the solution for a while, but still cannot solve the issue.

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

      Hi,

      Are you using a preview release of macOS ?
      Did you using Qt's pre-built binaries ?

      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
      • S Offline
        S Offline
        SamChu
        wrote on last edited by SamChu
        #3

        @SGaist
        I just updated my MacOS last month, and it shows the version is 11.5 when I click About This Mac.
        I built my project by click the XCode's build button, what do you mean by Qt's pre-built binaries?
        Actually, I just got my Mac last month, so, I am not really familiar with MacOS.

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

          The pre-built binaries from the Qt Company using their online installer.

          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
          • S Offline
            S Offline
            SamChu
            wrote on last edited by
            #5

            @SGaist
            I installed Qt6 by homebrew, and here is the formula
            https://github.com/Homebrew/homebrew-core/blob/master/Formula/qt.rb

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

              That I understood, I am asking you to try with the pre-built binaries to see if you are having the same issue with them.

              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
              • S Offline
                S Offline
                SamChu
                wrote on last edited by
                #7

                I created the new project on Qt Creator which install by homebrew, it shows the same error.
                But I installed Qt by Qt online installer, and run a random example project, it works properly.

                After that, I have noticed that when using desktop kit, it will show the same error, but using Qt 6.1.2 kit it works fine which was installed by Qt online installer.
                Screen Shot 2021-08-12 at 2.18.06 PM.png

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

                  Then you should check with the brew folks to see how they are building Qt 6.

                  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

                  • Login

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