Error: inherits from two QObject subclasses

Help
Mark
2012-07-17
2017-01-08
  • Mark

    Mark - 2012-07-17

    Hi,
    I tried to compile – earth3dlib.pro in Qt 4.7 for windows and got an errors:


    draw\qGLWidgetDrawScene.h:76: Warning: Class QGLWidgetDrawScene inherits from
    two QObject subclasses QGLWidget and QThread. This is not supported!
    debug\moc_qGLWidgetDrawScene.cpp: In member function 'virtual const
    QMetaObject* QGLWidgetDrawScene::metaObject() const':
    debug\moc_qGLWidgetDrawScene.cpp:54: error: 'QObject' is an ambiguous base of
    'QGLWidgetDrawScene'
    debug\moc_qGLWidgetDrawScene.cpp:54: error: 'QObject' is an ambiguous base of
    'QGLWidgetDrawScene'
    mingw32-make: Error 1
    mingw32-make:
    Error 2


    Please help me to solve this problem.

     
  • Trung Tran

    Trung Tran - 2017-01-08

    Hi,

    Has anyone been able to solve this issue yet?

    Thanks,

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks