Pixmap-error triggered after adding inheritance

  • 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

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.