[Qt-creator] Strange behaviour in Qt Creator

Andre Poenitz andre.poenitz at mathematik.tu-chemnitz.de
Sun Feb 7 22:57:10 CET 2010


On Sun, Feb 07, 2010 at 02:23:36PM +0000, Hector Gordon wrote:
> Using Qt Creator 1.2.1 under SuSe 11.2  I have recently transferred 2
> projects into Qt Creator and both were working very well. One of them still
> works as it should, the other one has developed an aberation. After editing
> one of it's source files it refused to rebuild the project giving 2 error
> messages "Expected '}' at end of input" and "Expected unqualified-id at end
> of input" both relating to the 'main.cpp' file which I had not amended.

Check the #include files. Maybe in one you have something like "namespace
foo {" or "class Foo {" without a corresponding closing brace in one of them.

Andre'



More information about the Qt-creator-old mailing list