[Qt-creator] QStringList Error in Qt Creator

Daniel Teske daniel.teske at nokia.com
Mon Jul 20 11:43:23 CEST 2009


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



More information about the Qt-creator-old mailing list