QmlEditorWidgets: Use a prefix in easingpane.qrc

Since all resources in Qt Creator get merged together at runtime, they
should be prefixed with the library/plugin name.

Change-Id: Iacd2aa748e68ac9f8c61b77a4af1db9d03f3f9d2
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Alessandro Portale
2018-03-21 23:04:36 +01:00
parent 4ba5e402dc
commit c66f52c065
2 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ class EasingSimulation : public QObject
public:
QGraphicsView *m_g;
EasingSimulation(QObject *parent=0, QGraphicsView *v=0):QObject(parent) {
m_qtLogo = new PixmapItem(QPixmap(QLatin1String(":/qt_logo.png")));
m_qtLogo = new PixmapItem(QPixmap(":/qmleditorwidgets/qt_logo.png"));
m_scene.addItem(m_qtLogo);
m_scene.setSceneRect(0,0,v->viewport()->width(),m_qtLogo->boundingRect().height());
m_qtLogo->hide();

View File

@@ -1,5 +1,5 @@
<RCC>
<qresource prefix="/">
<qresource prefix="/qmleditorwidgets">
<file>qt_logo.png</file>
</qresource>
</RCC>