[libcalamaresui] Need explicit qrc: scheme

This commit is contained in:
Adriaan de Groot 2020-01-10 13:44:26 +01:00
parent c03c6fc8ed
commit e6713d456c

View File

@ -47,7 +47,7 @@ QmlViewStep::QmlViewStep( const QString& name, QObject* parent )
m_qmlWidget->engine()->addImportPath( CalamaresUtils::qmlModulesDir().absolutePath() ); m_qmlWidget->engine()->addImportPath( CalamaresUtils::qmlModulesDir().absolutePath() );
// TODO: search for suitable file // TODO: search for suitable file
QString qrcName = QStringLiteral( ":/%1.qml" ).arg( m_name ); QString qrcName = QStringLiteral( "qrc:/%1.qml" ).arg( m_name );
m_qmlFileName = qrcName; m_qmlFileName = qrcName;
cDebug() << "QmlViewStep loading" << m_qmlFileName; cDebug() << "QmlViewStep loading" << m_qmlFileName;