×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Dec 2009
    Posts
    1

    QT compile error: QTValidLicenseForCoreModule does not name a type

    Hi,

    I am using QT Creator 1.2.1 based on QT4.5.3

    Upon compiling the project i was working on, I had this

    C:/Documents and Settings/L311c07/My Documents/TagIT/../../../../Qt/2009.04/qt/include/QtCore/../../src/corelib/kernel/qobjectdefs.h:52: error: `QtValidLicenseForCoreModule' does not name a type

    I tried tracing the problem, and found that probably by including the file "connection.h" [which can be retrieve from qt demos] inside any cpp/header files will spring this error.

    Would appreciate any help to resolve this!

  2. #2
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: QT compile error: QTValidLicenseForCoreModule does not name a type

    Try to add
    Code:
    #define QT_EDITION QT_EDITION_OPENSOURCE
    before any of Qt includes.

Similar Threads

  1. Replies: 14
    Last Post: 2012-08-01, 12:16
  2. unable to config Qt for S60
    By BabyKiller in forum [Archived] Qt SDKs and Tools
    Replies: 15
    Last Post: 2011-01-28, 08:50

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×