[Qt-creator] qml highlight definition not found
Harri Pasanen
grego at mpaja.com
Tue Mar 29 14:59:16 CEST 2011
Tuesday, March 29, 2011 12:02 pm
Leandro T. C. Melo writes:
> On 3/29/2011 10:13 AM, ext Harri Pasanen wrote:
> > FYI
> >
> > In trying out the QML tutorial, with Qt Creator 2.1.0
> > Based on Qt 4.7.1 (64 bit)
> > Built on Feb 24 2011 at 10:54:49
> >
> > > From revision db2508a28f
> >
> > that was upgraded to that version through Help->Start Updater, I had no
> > highlight for qml, and I had a message to that effect.
> >
> > Show highlighter options->Download fixed it for me, but I suppose it
> > should have been there preinstalled.
>
> Hi.
>
> I guess you are talking about the generic highlighter message. You
> should not get that for a QML file to begin with. We rely on generic
> highlighting only for the cases we don't have a special editor (with
> completion, indentation, semantic highlighting, etc.) and QML (like C++)
> is not one of them.
>
> Could you please check whether the QmlJSEditor plugin is enabled in your
> Qt Creator (Help -> About Plugins...)?
>
> Cheers,
> Leandro.
Hah, thanks for the pointer.
For some reason most of QML was disabled in the About Plugins. (I had never
visited that screen before).
Enabling those made things to work. I was unable to follow the QML tutorial,
because Qt Quick UI did not show up in available templates for a new project,
but now it does.
Cheers,
Harri
http://mpaja.com/
More information about the Qt-creator-old
mailing list