<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:8pt"><div>I just reinstalled Qt 5.2.0 on Mac OS 10.9 Mavericks and these syntax highlighting problems to do not occur at all in that version.  I'll enter a bug in JIRA tomorrow against 5.2.1.</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 11px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">- VStevenP</div><div><br></div>  <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 8pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> VStevenP
 <vstevenpavao@yahoo.com><br> <b><span style="font-weight: bold;">To:</span></b> Kosjar Nikolai <Nikolai.Kosjar@digia.com>; "qt-creator@qt-project.org" <qt-creator@qt-project.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, February 13, 2014 7:22 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Qt-creator] Problem in Qt Creator 3.0.1<br> </font> </div> <div class="y_msg_container"><br><div id="yiv8225780976"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 8pt;"><div><span>I wasn't able to run QtCreator in that mode to see the output on Mac.  I tried setting and exporting the environment, launching manually in Terminal, but saw no output.</span></div><div style="color: rgb(0, 0, 0); font-size: 11px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica,
 Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br clear="none"></span></div><div style="color: rgb(0, 0, 0); font-size: 11px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>Interestingly enough, this syntax highlighting problem happens in Qt 5.2.1 with the absolute simplest project I just created via the Qt Creator project wizard.  So the concern about .pro
 syntax seems for naught.</span></div><div style="color: rgb(0, 0, 0); font-size: 11px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br clear="none"></span></div><div style="color: rgb(0, 0, 0); font-size: 11px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>Here is the simple class where it underlines the #include QQuickItem in yellow and QML_DECLARE_TYPE in red on my system.  There is nothing special in the .pro file.  It's wizard-created, and I added my TestItem.cpp to SOURCES and TestItem.h to headers.  Simple stuff.</span></div><div style="color: rgb(0, 0, 0); font-size: 11px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style:
 normal;"><span><br clear="none"></span></div>
<pre style="margin-top:0px;margin-bottom:0px;"><span style="color:#000080;">#include</span><span style="color:#c0c0c0;"> </span><span style="color:#008000;"><QQuickItem></span></pre>
<pre style="margin-top:0px;margin-bottom:0px;"><br clear="none"></pre>
<pre style="margin-top:0px;margin-bottom:0px;"><span style="color:#808000;">class</span><span style="color:#c0c0c0;"> </span><span style="color:#800080;">TestItem</span><span style="color:#c0c0c0;"> </span>:<span style="color:#c0c0c0;"> </span><span style="color:#808000;">public</span><span style="color:#c0c0c0;"> </span>QQuickItem<span style="color:#c0c0c0;"> </span>{</pre>
<pre style="margin-top:0px;margin-bottom:0px;"><span style="color:#c0c0c0;">    </span><span style="color:#800080;">Q_OBJECT</span></pre>
<pre style="margin-top:0px;margin-bottom:0px;"><br clear="none"></pre>
<pre style="margin-top:0px;margin-bottom:0px;"><span style="color:#808000;">public</span>:</pre>
<pre style="margin-top:0px;margin-bottom:0px;"><span style="color:#c0c0c0;">    </span><span style="color:#808000;">explicit</span><span style="color:#c0c0c0;"> </span><span style="color:#800080;">TestItem</span>(QQuickItem*<span style="color:#c0c0c0;"> </span>parent<span style="color:#c0c0c0;"> </span>=<span style="color:#c0c0c0;"> </span><span style="color:#000080;">0</span>);</pre>
<pre style="margin-top:0px;margin-bottom:0px;"><span style="color:#c0c0c0;">    </span><span style="color:#808000;">virtual</span><span style="color:#c0c0c0;"> </span>~<span style="font-style:italic;">TestItem</span>();</pre>
<pre style="margin-top:0px;margin-bottom:0px;">};</pre>
<pre style="margin-top:0px;margin-bottom:0px;"><br clear="none"></pre>
<pre style="margin-top:0px;margin-bottom:0px;">QML_DECLARE_TYPE(TestItem)</pre>
<pre style="margin-top:0px;margin-bottom:0px;"><br clear="none"></pre>
<pre style="margin-top:0px;margin-bottom:0px;"><br clear="none"></pre><div style="color: rgb(0, 0, 0); font-size: 11px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span> - VStevenP</span></div><div style="color: rgb(0, 0, 0); font-size: 11px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br clear="none"></span></div><div style="color: rgb(0, 0, 0); font-size: 11px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br clear="none"></span></div><div><br clear="none"></div>  <div class="yiv8225780976yqt5378620259" id="yiv8225780976yqt92523"><div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
 font-size: 8pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida  Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Kosjar Nikolai <Nikolai.Kosjar@digia.com><br clear="none"> <b><span style="font-weight:bold;">To:</span></b> VStevenP <vstevenpavao@yahoo.com>; "qt-creator@qt-project.org" <qt-creator@qt-project.org> <br clear="none"> <b><span style="font-weight:bold;">Sent:</span></b> Thursday, February 13, 2014 3:36 PM<br clear="none"> <b><span style="font-weight:bold;">Subject:</span></b> RE: [Qt-creator] Problem in Qt Creator 3.0.1<br clear="none"> </font> </div> <div class="yiv8225780976y_msg_container"><br clear="none">> From: qt-creator-bounces+nikolai.kosjar=<a rel="nofollow" shape="rect" ymailto="mailto:digia.com@qt-project.org" target="_blank"
 href="mailto:digia.com@qt-project.org">digia.com@qt-project.org</a> [qt-creator-bounces+nikolai.kosjar=<a rel="nofollow" shape="rect" ymailto="mailto:digia.com@qt-project.org" target="_blank" href="mailto:digia.com@qt-project.org">digia.com@qt-project.org</a>] on behalf of VStevenP [<a rel="nofollow" shape="rect" ymailto="mailto:vstevenpavao@yahoo.com" target="_blank" href="mailto:vstevenpavao@yahoo.com">vstevenpavao@yahoo.com</a>]<div class="yiv8225780976yqt6652688796" id="yiv8225780976yqtfd76996"><br clear="none">> Sent: Thursday, February 13, 2014 20:01<br clear="none">> To: <a rel="nofollow" shape="rect" ymailto="mailto:qt-creator@qt-project.org" target="_blank" href="mailto:qt-creator@qt-project.org">qt-creator@qt-project.org</a><br clear="none">> Subject: [Qt-creator] Problem in Qt Creator 3.0.1<br clear="none">> <br clear="none">> In Qt Creator 3.0.1, it doesn't recognize my #include <QQuickItem> anymore.</div><br
 clear="none"><br clear="none">* Double check your kit configuration.<br clear="none">* Restart Qt Creator with the environment variable<br clear="none">  QTCREATOR_DUMP_PROJECT_INFO=1 set and watch the<br clear="none">  output for  "=== Merged include paths ===". Do you see the include<br clear="none">  path for QQuickItem? If not, the code model did not get the
 correct<br clear="none">  include paths.<br clear="none"><br clear="none">Nikolai<div class="yiv8225780976yqt6652688796" id="yiv8225780976yqtfd31956"><br clear="none"></div><br clear="none"><br clear="none"></div> </div> </div></div>  </div></div></div><br><div class="yqt5378620259" id="yqt10360">_______________________________________________<br clear="none">Qt-creator mailing list<br clear="none"><a shape="rect" ymailto="mailto:Qt-creator@qt-project.org" href="mailto:Qt-creator@qt-project.org">Qt-creator@qt-project.org</a><br clear="none"><a shape="rect" href="http://lists.qt-project.org/mailman/listinfo/qt-creator" target="_blank">http://lists.qt-project.org/mailman/listinfo/qt-creator</a><br clear="none"></div><br><br></div> </div> </div>  </div></body></html>