[Qt-creator] QML codecompletion for QML based component

Koehne Kai Kai.Koehne at theqtcompany.com
Fri May 8 12:59:53 CEST 2015


> -----Original Message-----
> From: Benjamin Zeller [mailto:benjamin.zeller at canonical.com]
> [...]
> > What exactly is your 'Component'? Is it a Qt Quick plugin, a library ... and
> how are the .qml files embedded?
> >
> > Regards
> >
> > Kai
> The Component would be a pure QML based component. No library.
> The QMake just makes sure they are in the import path when installed.

Alright, but does the 'component' implement an import? If so, setting QML_IMPORT_PATH in your .pro file is what you're looking for.

Regards

Kai



More information about the Qt-creator mailing list