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. CE_ProgressBar does not work on MacOs

CE_ProgressBar does not work on MacOs

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 200 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.
  • S Offline
    S Offline
    sab24
    wrote on last edited by
    #1

    Hi,

    I was trying to implement CE_ProgressBar in a QTableView, but there were serious allignment inssues on MacOs. I spent the entire day looking for what was wrong, but the examples online were identical to the code I had produced. Later I found a bug report stating this was indeed broken: https://bugreports.qt.io/browse/QTBUG-69763 . Also the torrent example included with Qt did not have a working progress bar.

    I looked into the differences between v5.9.6 and v5.11.1 and I found there has been a refactor of the code from ./src/widgets/styles/qmacstyle_mac.mm to a new file ./src/plugins/styles/mac/qmacstyle_mac.mm . So I ran a code comparison on both files:

    Screenshot 2020-01-13 at 11.42.02-min.png

    Now I have little experience with Cocoa, but my guess would be that the rect settings are being ignored to properly position the item. Could anyone have a look?

    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