Skip to content Skip to sidebar Skip to footer

Qml Loading , File Not Found

I am developing app for Android. And as some of members suggested to use QML for gui design I came to this problem. When I load app on desktop everything goes nicely. But problem

Solution 1:

Probably your QML file is not deployed on the phone.

Add something like

QML_FILES.source = qml
QML_FILES.target = .
DEPLOYMENTFOLDERS += QML_FILES

# Please do not modify the following two lines. Required for deployment.include(qmlapplicationviewer/qmlapplicationviewer.pri)
qtcAddDeployment()

to your .pro file. Make sure the last two lines are at the end. This works for Symbian and Harmattan, maybe deployment is a little different with Necessitas.

Post a Comment for "Qml Loading , File Not Found"