Hi.

I have directory "qml" with QML files where are placed main.qml and MyButton.qml.

This directory is in QRC, i.e. ":/qml/main.qml" and ":/qml/MyButton.qml" are in the resources.

When I load QML with

QQmlApplicationEngineengine(":/qml/main.qml");

I receive

file::/qml/main.qml:13 MyButton is not a type

How to fix it?



---
This email has been checked for viruses by AVG.
http://www.avg.com
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to