On Feb 14, 2014, at 5:49 PM, VStevenP <[email protected]> wrote:

> Crazily enough, that particular syntax highlighting disappeared for me after 
> I re-installed Qt 5.2.0 on my system again.  It must have fixed up something.
> 
> I also had a problem when I installed Qt 5.2.1 that there was a red mark 
> beside the Desktop Qt 5.2.1 clang 64 bit Kit, because it couldn't find the 
> default debugger /usr/bin/gdb, which isn't there on my system.  So, I had to 
> clone that Kit and changer the debugger to something valid like lldb.  I have 
> no idea why I don't have /usr/bin/gdb anymore.  If that was the default 
> choice in the pasty, I had it, because my default 5.2.0 Kit never had a red 
> mark on it.  I have Xcode 5.0.2 on my system with Command Line tools 
> installed.

Xcode 5 doesn’t come with gdb anymore, lldb is the one and only Apple-provided 
debugger now.

Br, Eike

> - VStevenP
> 
> From: Ziller Eike <[email protected]>
> To: VStevenP <[email protected]> 
> Cc: Kosjar Nikolai <[email protected]>; "[email protected]" 
> <[email protected]> 
> Sent: Friday, February 14, 2014 2:42 AM
> Subject: Re: [Qt-creator] Problem in Qt Creator 3.0.1
> 
> 
> On Feb 14, 2014, at 1:22 AM, VStevenP <[email protected]> wrote:
> 
> > 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.
> > 
> > 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.
> > 
> > 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.
> > 
> > #include <QQuickItem>
> > 
> > class TestItem : public QQuickItem {
> >    Q_OBJECT
> > 
> > public:
> >    explicit TestItem(QQuickItem* parent = 0);
> >    virtual ~TestItem();
> > };
> > 
> > QML_DECLARE_TYPE(TestItem)
> > 
> 
> Works fine for me with the Qt 5.2.1 package, this example code, QT+=quick in 
> the .pro file, “Desktop Qt 5.2.1 clang 64bit” kit selected for the project, 
> on OS X 10.9
> 
> Br, Eike
> 
> 
> >  - VStevenP
> > 
> > 
> > 
> > From: Kosjar Nikolai <[email protected]>
> > To: VStevenP <[email protected]>; "[email protected]" 
> > <[email protected]> 
> > Sent: Thursday, February 13, 2014 3:36 PM
> > Subject: RE: [Qt-creator] Problem in Qt Creator 3.0.1
> > 
> > > From: [email protected] 
> > > [[email protected]] on behalf of 
> > > VStevenP [[email protected]]
> > 
> > > Sent: Thursday, February 13, 2014 20:01
> > > To: [email protected]
> > > Subject: [Qt-creator] Problem in Qt Creator 3.0.1
> > > 
> > > In Qt Creator 3.0.1, it doesn't recognize my #include <QQuickItem> 
> > > anymore.
> > 
> > 
> > * Double check your kit configuration.
> > * Restart Qt Creator with the environment variable
> >  QTCREATOR_DUMP_PROJECT_INFO=1 set and watch the
> >  output for  "=== Merged include paths ===". Do you see the include
> >  path for QQuickItem? If not, the code model did not get the correct
> >  include paths.
> > 
> > Nikolai
> > 
> > 
> > 
> > _______________________________________________
> > Qt-creator mailing list
> > [email protected]
> > http://lists.qt-project.org/mailman/listinfo/qt-creator
> 
> 
> -- 
> Eike Ziller, Senior Software Engineer - Digia, Qt
> 
> Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
> Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
> Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, 
> HRB 144331 B
> 
> 
> 

-- 
Eike Ziller, Senior Software Engineer - Digia, Qt
 
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 
144331 B

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to