Results 1 to 3 of 3

Thread: QtValidLicenseForGuiMode

  1. #1
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default QtValidLicenseForGuiMode

    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:
    Qt Code:
    1. In file included from c:/Qt/4.4.1/include/QtGui/qabstractbutton.h:1,
    2. from c:/Qt/4.4.1/include/QtGui/../../src/gui/widgets/qpushbutton.h:47,
    3. from c:/Qt/4.4.1/include/QtGui/qpushbutton.h:1,
    4. from c:/Qt/4.4.1/include/QtGui/QPushButton:1,
    5. from ./ui_form3.h:18,
    6. from form3.h:3,
    7. from form1.cpp:2:
    8. c:/Qt/4.4.1/include/QtGui/../../src/gui/widgets/qabstractbutton.h:55: error: `QtValidLicenseForGuiModule' does not name a type
    To copy to clipboard, switch view to plain text mode 

    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.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: QtValidLicenseForGuiMode

    Quote Originally Posted by Nebril View Post
    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:
    Qt Code:
    1. In file included from c:/Qt/4.4.1/include/QtGui/qabstractbutton.h:1,
    2. from c:/Qt/4.4.1/include/QtGui/../../src/gui/widgets/qpushbutton.h:47,
    3. from c:/Qt/4.4.1/include/QtGui/qpushbutton.h:1,
    4. from c:/Qt/4.4.1/include/QtGui/QPushButton:1,
    5. from ./ui_form3.h:18,
    6. from form3.h:3,
    7. from form1.cpp:2:
    8. c:/Qt/4.4.1/include/QtGui/../../src/gui/widgets/qabstractbutton.h:55: error: `QtValidLicenseForGuiModule' does not name a type
    To copy to clipboard, switch view to plain text mode 

    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.
    J-P Nurmi

  3. The following user says thank you to jpn for this useful post:

    Nebril (14th August 2008)

  4. #3
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QtValidLicenseForGuiMode

    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. Thank you very much once again.

    Cheers
    Nebril.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.