Results 1 to 3 of 3

Thread: multithreaded OpenGL Qt application

  1. #1
    Join Date
    Aug 2006
    Posts
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default multithreaded OpenGL Qt application

    I found the code example for multithreaded OpenGL application with Qt3 in QtQuarterly (http://doc.trolltech.com/qq/qq06-glimpsing.html). Did anybody port it to Qt4 ? Is there other multithreaded OpenGL code examples for Qt 4?
    Thanks,

  2. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Thanks
    3
    Thanked 39 Times in 39 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: multithreaded OpenGL Qt application

    Have you tried running the automatic porting tool on it - it usually does a good job. The things one has to tend to is to add the Qt namespace at some places (before enumerations) and such.

  3. #3
    Join Date
    Aug 2006
    Posts
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: multithreaded OpenGL Qt application

    Hi,
    Thanks for the suggestion. I ported the example manually, but have experienced lockups in QApplication constructor, likely due to the bugs in Xlib implementation. Did anybody have luck running multithreaded OpenGL application (=rendering in more than one thread) on Linux? I'd be interested in details.
    Thanks,
    Yuriy

Similar Threads

  1. Replies: 3
    Last Post: 8th December 2006, 18:51
  2. Gnome makes application crash
    By regix in forum Qt Programming
    Replies: 35
    Last Post: 18th August 2006, 19:44
  3. Replies: 3
    Last Post: 31st March 2006, 18:38
  4. Qt's optimized OpenGL context switching
    By sverhoff in forum Qt Programming
    Replies: 0
    Last Post: 28th March 2006, 16:40
  5. Replies: 0
    Last Post: 21st February 2006, 16:30

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.