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. macOS Mojave and Threaded render
Forum Update on Monday, May 27th 2025

macOS Mojave and Threaded render

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 2 Posters 756 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.
  • G Offline
    G Offline
    gmoon
    wrote on last edited by
    #1

    I just figured out how to add threaded rendering to my app only to find it no longer works in Mojave. BIG PROBLEM (I've read bug reports and multiple examples saying to use QSG_RENDER_LOOP=basic).

    My app looks terribly jittery using the basic render thread, and beautiful using QSG_RENDER_LOOP= threaded.

    This is kind of urgent for me : Is there a way to use Threaded, GPU-enabled rendering in macOS Mojave?

    I'm using 5.12.0 at the moment.

    Thanks!

    1 Reply Last reply
    0
    • G Offline
      G Offline
      gmoon
      wrote on last edited by
      #2

      *** Workaround *** Please read:

      • Downloaded XCode 9.4.1 from the Apple Dev Site (https://developer.apple.com/download/more/)
      • Downloaded and installed Command Line Tools as well (same link)
      • Ran

      sudo xcode-select --switch /Applications/Xcode\ 9.app/Contents/Developer
      

      • Restarted, opened XCode (for setup), opened Qt, created new Kit setup using clang++ from XCode 9, rebuilt app and it works.

      So I have things working well, but I'd like to see this issue addressed in an update - without Threaded Rendering any movement of large bitmaps on the screen looks terrible.

      Hope this helps someone else.

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

        Hi,

        You should check whether the issue still arises with the latest Qt 5.12 release and if so with the latest beta of Qt 5.13.

        Then you should check the bug report system to see if there's already a report about that. This is a user forum and thus not there right place to get such issue addressed.

        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
        • G Offline
          G Offline
          gmoon
          wrote on last edited by
          #4

          Hi @SGaist , I did try the updated version, and I spent hours digging through the bug reports (which is how I realized the threaded rendering was what was causing the apps to crash), so it's a known issue already, but the temporary solution is not easy to find, so I wanted to share for others who need help in an emergency.

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

            Nice of you, thank you !

            Would you mind posting the bug report link ? That will also be helpful for people finding this thread.

            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
            • G Offline
              G Offline
              gmoon
              wrote on last edited by
              #6

              This is the bug report:
              https://bugreports.qt.io/browse/QTBUG-75037

              From what I've read, it is recommended now to just use Basic render mode (if you need to use XCode 10+, which really makes Qt for visually complex macOS apps perform terribly.

              1 Reply Last reply
              1

              • Login

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