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. QT 5.13 on OS X 10.12 -- spinning ball of death
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 262 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.
  • G Offline
    G Offline
    gmbrown
    wrote on last edited by
    #1

    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
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      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
      0
      • mrjjM 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 Offline
        G Offline
        gmbrown
        wrote on last edited by
        #3

        @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
        2

        • Login

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