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.1.1 and retina display in QGLWidget on Mac: 1/4 of the size!

Qt 5.1.1 and retina display in QGLWidget on Mac: 1/4 of the size!

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.1k 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.
  • F Offline
    F Offline
    floatingWoods
    wrote on last edited by
    #1

    Hello,

    since Qt 5.1.1 (previously Qt 4.7.4), my application displays wrong sized openGl content in a QGLWidget, on Mac retina. Is this a known issue? Or is the Retina display not correctly detected on my system?

    I am using a QMainWindow, inside of which I have a Splitter (vertical): the upper part shows the QGLWidget (wrong size, basically 1/4 of the surface), the lower part shows a QPlainTextEdit (correctly displayed):

    in the QMainWindow constructor:

    @
    openglWidget=new QGLWidget ();
    splitter=new QSplitter(Qt::Vertical);
    splitter->addWidget(openglWidget);
    statusBar=new QPlainTextEdit();
    setCentralWidget(splitter);@

    Any idea what is going on, or any idea of a workaround?

    Thanks!

    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