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. Using Qt 5.2 on MacOSX 15.3 Sequoia - could not resolve platform name for SDK

Using Qt 5.2 on MacOSX 15.3 Sequoia - could not resolve platform name for SDK

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 2 Posters 269 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
    cygnus23
    wrote on last edited by
    #1

    Apologies if this question is too trivial, but I have not been able to solve my problem with previous forum questions that I've come across so far. I'm a complete beginner to Qt (and not a software person at that) and I'm simply trying to use Qt Creator to compile a program. The code I want to compile has only been tested on Qt 5.2, hence why I am using this older version. I'm using a MacBook Apple Silicon M2 to try to use Qt Creator 3.0.1 and Qt 5.2 compile this program. I have the latest version of Apple Xcode installed. However, when I open my .pro file in Qt Creator, I get a project error message:

    Project ERROR: Could not resolve platform name for SDK 'macosx15.2'
    

    I had tried changing Qt5.2.1/5.2.1/clang_64/mkspec/qdevice.pri to the SDK that came with the Xcode I have, which was MacOSX15.2 in my case, but received the error message above. What am I doing wrong and how could I fix this? Is there some kind of compatibility issue that cannot be solved because I have the latest hardware? I have been trying to look for answers in this forum but it seems like all of the existing answers are from many years ago pertaining to older (probably non-ARM versions) of hardware (if that is an issue). Thank you in advance for any input someone could provide.

    jsulmJ 1 Reply Last reply
    0
    • C cygnus23

      I checked the "Archive" option and did not see any option for Qt 5.15.x. Here is a screenshot of what I see.

      Qt_installer_screenshot.png

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #6

      @cygnus23 OK, maybe there is no Qt5 because there are no ARM binaries available. You should be able to install Qt5 via offline installer.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • C cygnus23

        Apologies if this question is too trivial, but I have not been able to solve my problem with previous forum questions that I've come across so far. I'm a complete beginner to Qt (and not a software person at that) and I'm simply trying to use Qt Creator to compile a program. The code I want to compile has only been tested on Qt 5.2, hence why I am using this older version. I'm using a MacBook Apple Silicon M2 to try to use Qt Creator 3.0.1 and Qt 5.2 compile this program. I have the latest version of Apple Xcode installed. However, when I open my .pro file in Qt Creator, I get a project error message:

        Project ERROR: Could not resolve platform name for SDK 'macosx15.2'
        

        I had tried changing Qt5.2.1/5.2.1/clang_64/mkspec/qdevice.pri to the SDK that came with the Xcode I have, which was MacOSX15.2 in my case, but received the error message above. What am I doing wrong and how could I fix this? Is there some kind of compatibility issue that cannot be solved because I have the latest hardware? I have been trying to look for answers in this forum but it seems like all of the existing answers are from many years ago pertaining to older (probably non-ARM versions) of hardware (if that is an issue). Thank you in advance for any input someone could provide.

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #2

        @cygnus23 I'm not sure this old Qt version will work with latest MacOS and XCode versions. You should at least upgrade to latest available Qt 5.15.x version. Qt Company also provides arm binaries for Qt6, Qt5 is only x86_64.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • C Offline
          C Offline
          cygnus23
          wrote on last edited by
          #3

          I see, so I may be out of luck. On the installer, I do not see a Qt 5.15.x version that I could even install, and it does not seem like that has ARM support either. It only goes back to Qt 6.2.0, which is too new for the software I'm compiling.

          jsulmJ 1 Reply Last reply
          0
          • C cygnus23

            I see, so I may be out of luck. On the installer, I do not see a Qt 5.15.x version that I could even install, and it does not seem like that has ARM support either. It only goes back to Qt 6.2.0, which is too new for the software I'm compiling.

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #4

            @cygnus23 Qt 5.15 should be there. You probably need to check the "Archive" option. And yes there are no arm Qt5 binaries provided via installer.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • C Offline
              C Offline
              cygnus23
              wrote on last edited by
              #5

              I checked the "Archive" option and did not see any option for Qt 5.15.x. Here is a screenshot of what I see.

              Qt_installer_screenshot.png

              jsulmJ 1 Reply Last reply
              0
              • C cygnus23

                I checked the "Archive" option and did not see any option for Qt 5.15.x. Here is a screenshot of what I see.

                Qt_installer_screenshot.png

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #6

                @cygnus23 OK, maybe there is no Qt5 because there are no ARM binaries available. You should be able to install Qt5 via offline installer.

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • C cygnus23 has marked this topic as solved on

                • Login

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