QtValidLicenseForGuiModule error

From qtnode

Jump to: navigation, search

Problem: you get an error that says something like: error: `QtValidLicenseForGuiModule' does not name a type

You probably didn't run configure or for some reason the configure didn't do what it should have. In any case it is an easy fix:

In the file C:\Qt\4.x\src\corelib\global\qconfig.h change the line 13

from:
#  define QT_EDITION QT_EDITION_
to:
#  define QT_EDITION QT_EDITION_DESKTOP

http://lists.trolltech.com/qt-interest/2005-08/thread00911-0.html

Personal tools