PDA

View Full Version : QtValidLicenseForGuiMode



Nebril
14th August 2008, 00:27
Hi.
This is my first post, so i would like to say hi.

I found this forum because i experienced a problem today. When i compile my project, the compiler (mingw) gives me something like that:

In file included from c:/Qt/4.4.1/include/QtGui/qabstractbutton.h:1,
from c:/Qt/4.4.1/include/QtGui/../../src/gui/widgets/qpushbutton.h:47,
from c:/Qt/4.4.1/include/QtGui/qpushbutton.h:1,
from c:/Qt/4.4.1/include/QtGui/QPushButton:1,
from ./ui_form3.h:18,
from form3.h:3,
from form1.cpp:2:
c:/Qt/4.4.1/include/QtGui/../../src/gui/widgets/qabstractbutton.h:55: error: `QtValidLicenseForGuiModule' does not name a type

In couple my previous programs, which i was doing to learn i had no such problems. If anyone knows what should i do, i would be grateful for answering this post.

Best regards,
Nebril.

jpn
14th August 2008, 06:56
Hi.
This is my first post, so i would like to say hi.

Hi :)



I found this forum because i experienced a problem today. When i compile my project, the compiler (mingw) gives me something like that:

In file included from c:/Qt/4.4.1/include/QtGui/qabstractbutton.h:1,
from c:/Qt/4.4.1/include/QtGui/../../src/gui/widgets/qpushbutton.h:47,
from c:/Qt/4.4.1/include/QtGui/qpushbutton.h:1,
from c:/Qt/4.4.1/include/QtGui/QPushButton:1,
from ./ui_form3.h:18,
from form3.h:3,
from form1.cpp:2:
c:/Qt/4.4.1/include/QtGui/../../src/gui/widgets/qabstractbutton.h:55: error: `QtValidLicenseForGuiModule' does not name a type

In couple my previous programs, which i was doing to learn i had no such problems. If anyone knows what should i do, i would be grateful for answering this post.
I've seen something similar happening when people forgot the ending semi-colon (";") from their class declaration. Check your class declarations.

Nebril
14th August 2008, 10:00
Thanks a lot! I thing i will print something like "there is a semicolon after a class declaration", because it's not the first time i made such mistake:p. Thank you very much once again.

Cheers
Nebril.