@Aleus, your way of doing thing is little bit tricky. I can't find any information of such kind importing in official documentation (please, take a look at Importing statements in Qt 5.2, QML. Also, take a look at QML Best Practices: Coding Conventions
First of all, check weather your file ApplicationContainer
really has no extension (I mean .qml
)
To make QtCreator recognize imported component do next things:
Add your qml file to
.pro
file in sectionOTHER_FILES
like this:OTHER_FILES += qml_libs/ApplicationContainer
AND/OR place statement for importing whole directory to your qml file, like:
import "qml_libs" as MyLibs ... MyLibs.ApplicationContainer { ... }
Hope it helps!