Results 1 to 2 of 2

Thread: Widgets on top of GLWidget on MacOS

  1. #1
    Join Date
    Aug 2013
    Posts
    4
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Widgets on top of GLWidget on MacOS

    I am developing a small application in Windows/Linux. It consists of a full-size QGLWidget with heavy 3D graphics and several buttons on top of it. I want to port it to MacOS. All my external dependencies are resolved and I managed myself to make a valid bundle.

    When I execute the application in MacOS it does not display any button. After several days searching for errors in my code I found this in the documentation:
    On Mac OS X, when Qt is built with Cocoa support, a QGLWidget can't have any sibling widgets placed ontop of itself. This is due to limitations in the Cocoa API and is not supported by Apple.
    Is there any chance to change it on future versions?

    Is there some other way to put widgets in top of OpenGL with MacOS?
    Last edited by GdelP; 1st August 2013 at 13:22.

  2. #2
    Join Date
    Aug 2013
    Posts
    4
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Widgets on top of GLWidget on MacOS

    Finally I ported the application to Qml and QtQuick. Solved!

Similar Threads

  1. problem with glwidget and VBO.
    By Rufjan in forum Qt Programming
    Replies: 2
    Last Post: 25th June 2013, 07:16
  2. Replies: 0
    Last Post: 30th September 2010, 14:22
  3. GLWidget and designer-qt4
    By mkarakaplan in forum Qt Tools
    Replies: 1
    Last Post: 7th November 2007, 22:12
  4. GLWidget
    By dragon in forum Qt Programming
    Replies: 0
    Last Post: 1st June 2007, 16:35
  5. GLWidget lags behind
    By waveydavey in forum Qt Programming
    Replies: 2
    Last Post: 19th October 2006, 17:18

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.