[Qt-creator] QML codecompletion for QML based component

Koehne Kai Kai.Koehne at theqtcompany.com
Fri May 8 12:20:16 CEST 2015



> -----Original Message-----
> From: qt-creator-bounces+kai.koehne=theqtcompany.com at qt-project.org
> [mailto:qt-creator-bounces+kai.koehne=theqtcompany.com at qt-
> project.org] On Behalf Of Benjamin Zeller
> Sent: Friday, May 08, 2015 11:46 AM
> To: qt-creator at qt-project.org
> Subject: [Qt-creator] QML codecompletion for QML based component
> 
> Hi all,
> 
> I currently try to convince QtC to show code completion for a project.
> 
> it has this structure:
> 
> subdirs-project
>    |
>   +-------- Component
>    |
>   +-------- App
> 
> The component is defined in QML, how can I get code completion in the app
> for it?
> It works for a C++ component but QML code files seem not to get indexed.
> At least not
> in a cross subproject way.

What exactly is your 'Component'? Is it a Qt Quick plugin, a library ... and how are the .qml files embedded?

Regards

Kai



More information about the Qt-creator mailing list