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. Pixmap-error triggered after adding inheritance

Pixmap-error triggered after adding inheritance

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

    Hello everyone,

    a few days ago I've asked this "question.":http://developer.qt.nokia.com/forums/viewthread/13620/
    I have done some more research and found out that if I only change the model-class by adding inheritance

    @class Model : public QGLWidget@

    the error:
    @QPixmap: It is not safe to use pixmaps outside the GUI thread@
    is triggered as soon as I try to load an *.obj-file into my program.

    The corresponding code I am talking about can be found "here.":http://qt.gitorious.org/qt-labs/modelviewer

    Anyway, I am tryig to understand why the code is behaving in such a way to be able to load models in the manner I have described in my previous thread.

    Any help will be much appreciated.
    Thanks to all of you

    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