[Qt-creator] QStringList Error in Qt Creator

Shaun van Wyngaard (Home) shaungvw at gmail.com
Mon Jul 20 19:14:40 CEST 2009


Why would I need to include QStringList if as I explained, I commented 
everything out, and it still gave me this error?
--------------------------------------------------
From: "Daniel Teske" <daniel.teske at nokia.com>
Sent: Monday, July 20, 2009 11:43 AM
To: <qt-creator at trolltech.com>
Subject: Re: [Qt-creator] QStringList Error in Qt Creator

> On Sunday 19 July 2009 20:09:17 ext Shaun van Wyngaard (Home) wrote:
>> I am not sure what is going on, but for some strange reason, I started
>> getting the following error
>>
>> `QStringList' does not name a type
>>
>> when I was working on a program. I started commenting out sections of my
>> code, trying to get rid of the error to the point that everything 
>> possible
>> was commented out, to no avail. I then exited Qt Creator, and deleted all
>> extra files that get created automatically, and restarted Qt Creator.
>> Again, the same error. I then downloaded ver. 1.2.80 built on June 17th,
>> started fresh with a new project, brought in my old files, again, the 
>> same
>> error. Yet, if I open up a previously written (different) program, it
>> compiles fine. Is it my code? Because not much in it anymore, or has Qt
>> Creator written a file somewhere that is storing info on this project,
>> because it is the same project name as before I tried starting over 
>> again.
>>
>> Thanks.
>
> You need to #include <QStringList>
>
> daniel
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator 




More information about the Qt-creator-old mailing list