Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved QT 5.13 on OS X 10.12 -- spinning ball of death

    General and Desktop
    2
    3
    112
    Loading More Posts
    • 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
      gmbrown last edited by

      I have a relatively simple QT app that loads data from a file and displays it using qtcustom plot. Under linux it performs great. When compiled under OS X almost any GUI action -- open a file, close the application, click on a graph brings up the OS X spin ball. I'm really not sure how to start diagnosing the root cause.

      1 Reply Last reply Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by mrjj

        Hi and welcome to the forums.
        First, i would try one of Qts examples to see if they also run very slowly
        as to know if to look for CustomPlot issues or it's of a more general nature.
        Also check you are using the right XCode.
        Target Platform Architecture Build Environment
        macOS 10.12, 10.13, 10.14 x86_64 and x86_64h Xcode 10 (10.14 SDK), Xcode 9* (10.13 SDK)
        https://doc.qt.io/qt-5/macos.html

        G 1 Reply Last reply Reply Quote 0
        • G
          gmbrown @mrjj last edited by

          @mrjj

          Thanks for your help. I followed your lead -- the qt examples were fine as were the qcustomplot examples. However, I finally traced the issue to the settings of the pixel buffer ratio. One line of code resolved all the problems

          ui->plot->setBufferDevicePixelRatio(1.0);

          It seems the default (2.0) causes drawing large graphs to go very very slowly.

          Geoffrey

          1 Reply Last reply Reply Quote 2
          • First post
            Last post