You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Qt 5.7
Windows 10
What i have done step by step:
**1.**Created QtQuick Application(with git init)
**2.**git submodule add [email protected]:papyros/qml-material.git material
**3.**My pro file
`TEMPLATE = app
Because of #442 you should replace QPM_INIT(engine)
with engine.addImportPath("qrc:/Material");
But let me guess, it still won't work?
Can you please edit your main.cpp file to check if the qmldir of Material is beeing at the right place at all?
Qt 5.7
Windows 10
What i have done step by step:
**1.**Created QtQuick Application(with git init)
**2.**git submodule add [email protected]:papyros/qml-material.git material
**3.**My pro file
`TEMPLATE = app
QT += qml quick
CONFIG += c++11
SOURCES += main.cpp
RESOURCES += qml.qrc
DEFINES += QPM_INIT(E)="E.addImportPath(QStringLiteral(\"qrc:/\"));"
Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =
Default rules for deployment.
include(deployment.pri)
include(material/material.pri)
`
4. My main.cpp file
`#include QGuiApplication
include QQmlApplicationEngine
int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);
}
`
5. import Material 0.3 does not work
what's wrong?
The text was updated successfully, but these errors were encountered: