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. [mac os] How to build qt 5.15.11 with threaded opengl
Forum Updated to NodeBB v4.3 + New Features

[mac os] How to build qt 5.15.11 with threaded opengl

Scheduled Pinned Locked Moved Solved Installation and Deployment
2 Posts 1 Posters 461 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.
  • A Offline
    A Offline
    Alex L.
    wrote on last edited by Alex L.
    #1

    Hi

    I'm trying to build qt from source to have mac os m1 support.
    Qt 5.15.2 works well with threaded opengl.
    I built Qt 5.15.11 from source on Big Sur (XCode 13.2.1) and it doesn't have opengl support because of Apple removed it from 10.14+ SDK.
    So I installed xcode 9.4.1 (10.13 SDK) on High Sierra and it fails with error:

    Preparing build tree...
    Creating qmake...
    .............................................................................................../Users/qtdev/qt/qt-everywhere-src-5.15.11/qtbase/src/corelib/kernel/qcore_mac.mm:245:13: error: use of undeclared identifier 'backtrace_from_fp'
            if (backtrace_from_fp(__builtin_frame_address(0), &frame, 1))
                ^
    1 error generated.
    make: *** [qcore_mac.o] Error 1
    

    My question is how qt company builds qt 5.15.x with threaded opengl support?

    p.s. I can't use both commercial and metal as project is old and is very tight with opengl.

    1 Reply Last reply
    0
    • A Alex L. referenced this topic on
    • A Offline
      A Offline
      Alex L.
      wrote on last edited by
      #2

      To build qt 5.15.11+ you need to use High Sierra and XCode 10.0.
      Don't use XCode higher than 10.0. I don't guarantee that 10.1, 10.2 or 10.3 would work.

      1 Reply Last reply
      0
      • A Alex L. 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