diff options
Diffstat (limited to 'pose-widget/glwidget.cpp')
-rw-r--r-- | pose-widget/glwidget.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pose-widget/glwidget.cpp b/pose-widget/glwidget.cpp index 023e1926..0547aee5 100644 --- a/pose-widget/glwidget.cpp +++ b/pose-widget/glwidget.cpp @@ -17,10 +17,16 @@ using namespace euler; using namespace pose_widget_impl; -GLWidget::GLWidget(QWidget *parent) : QWidget(parent) +static struct POSE_WIDGET_EXPORT qrc_initializer { - Q_INIT_RESOURCE(posewidget); + qrc_initializer() + { + Q_INIT_RESOURCE(posewidget); + } +} initializer; +GLWidget::GLWidget(QWidget *parent) : QWidget(parent) +{ front = QImage(QString(":/images/side1.png")); back = QImage(QString(":/images/side6.png")); rotateBy(0, 0, 0, 0, 0, 0); |