aseba icon indicating copy to clipboard operation
aseba copied to clipboard

Unguarded dependency on QGLWidget

Open davidjsherman opened this issue 7 years ago • 3 comments
trafficstars

Compiling Dashel, Enki, and Aseba without Qt, targets/playground/asebasim/robots/e-puck fails trying to include QGLWidget through Enki Viewer:

[ 71%] Building CXX object targets/playground/CMakeFiles/asebasim.dir/robots/e-puck/EPuck.cpp.obj
In file included from /work/aseba/targets/playground/robots/e-puck/../../PlaygroundViewer.h:33:0,
                 from /work/aseba/targets/playground/robots/e-puck/EPuck.cpp:23:
/work/enki/viewer/Viewer.h:38:21: fatal error: QGLWidget: No such file or directory
compilation terminated.

Without Qt, no compilation of a component with a Qt dependency should be attempted.

davidjsherman avatar Jan 23 '18 22:01 davidjsherman

Also, QGLWidget is completely deprecated.

cor3ntin avatar Jan 24 '18 16:01 cor3ntin

Also, QGLWidget is completely deprecated.

Yes but that's unrelated.

stephanemagnenat avatar Jan 24 '18 16:01 stephanemagnenat

@stephanemagnenat I didn't try to imply it was, merely a passing remark !

cor3ntin avatar Jan 24 '18 17:01 cor3ntin