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. Building 5.10.0 on macOS
Qt 6.11 is out! See what's new in the release blog

Building 5.10.0 on macOS

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 874 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.
  • V Offline
    V Offline
    VRHans
    wrote on last edited by
    #1

    Almost done building and received a "error: 'loadFileURL:allowingReadAccessToURL:' is only available on macOS 10.11 or newer" - I'm on High Sierra.

    Is this a toolset needs updating issue or an issue with building on High Sierra?

    Thanks

    1 Reply Last reply
    0
    • V Offline
      V Offline
      VRHans
      wrote on last edited by
      #2

      Hmmm, I appear to have all XCode updates...

      1 Reply Last reply
      0
      • hskoglundH Offline
        hskoglundH Offline
        hskoglund
        wrote on last edited by hskoglund
        #3

        Hi, think you need to prefix loadFileURL with a if (@available... statement, for example see answer here

        1 Reply Last reply
        0
        • V Offline
          V Offline
          VRHans
          wrote on last edited by
          #4

          Yeah, I saw a SO post about that last night; however, I was wondering why this problem would exist with a fully up to date macOS machine. Latest OS, latest XCode.

          More importantly, I worry about what the effect would be by, basically, 'hiding' the method from the compiler. In other words, it should compile.

          Appreciated though :)

          1 Reply Last reply
          0
          • V Offline
            V Offline
            VRHans
            wrote on last edited by
            #5

            Fixed in 5.10.1 by the way.

            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