I wonder if creating a qmldir file would help, even if C++ is not used?

http://doc.qt.nokia.com/qtcreator-2.4/creator-qml-modules-with-plugins.html

/Harri

On 03/08/2012 11:04 PM, Bo Thorsen wrote:
> Hi people,
>
> I'm working on a project, where I have QML files in several directories.
> This isn't a problem at runtime, because they're all copied to the same
> qml dir.
>
> But in QtC, I get the red error line under the components from other
> dirs, and no completion.
>
> I seem to remember that there is a way I can add dirs to the QML parser
> to complete from, but I can't find it anymore. Anyone here have a good idea?
>
> The setup is that I have a library that's shared between different
> projects, and some of the files in this library are QML files, some are
> C++. The C++ code isn't a problem, of course, but the QML files are
> annoying.
>
> Using svn externals directly on the file would put them in the same qml
> dir as the files specific to the other projects, but that's a
> maintenance nightmare.
>
> Bo Thorsen,
> Fionia Software.
>

_______________________________________________
Qt-qml mailing list
Qt-qml@qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to