Hi all: I'm trying to use QML in my project, but i has some trouble using QtCreator.
Here's the project structure: MyProject | MyProject.pro ----(TEMPLATE = subdirs) | MainWindow | MainWindow.pro | base_qml | base_qml.pri | QML | button.qml | *lineedit.qml* | Other files | qmldir | search_panel | search_panel.pri | ... | QML | *search_panel.qml* | ... | view_panel | Headers | ... | ... And in the `search_panel.pri`, i have: include(../base_qml/base_qml.pri) also in `MainWindow/base_qml/qmldir`: Button ./button.qml LineEdit ./line_edit.qml The trouble is that i want the _base_qml_ to manage all the basic elements(for example, a *lineedit.qml* that used both in search_panel and view_panel), BUT as the structure illustrated above, i CANNOT use the `LineEdit` element defined in lineedit.qml. Do I miss something? Thank you. baneyue _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest