GillesDebunne / libQGLViewer

libQGLViewer is an open source C++ library based on Qt that eases the creation of OpenGL 3D viewers.
Other
241 stars 94 forks source link

Please reopen the issue about the deprecated ctor #42

Closed CDitzel closed 6 years ago

CDitzel commented 6 years ago

Im sorry, I dont get your explanation int hat very issue. Even the accompanying examples (thetextureViewer, etc. ) prompt the warning that the contructor is deprecated. I subclassed QGLViewer in this fashion

ViewerWidget::ViewerWidget(QString const& path, QWidget* parent) : QGLViewer{ parent } , pathimage_{ path } {}`

and get the infamous warning, what am I supposed to to here, or rather, what do I have to pass as a sharedWidget argument in order to satisfy the Qused Macro? Both header and source file are of the latest version.

GillesDebunne commented 6 years ago

Reopening #39