[Qt-interest] QtValidLicenseForGuiModule Compile Error
ferdinand deger
ferdinand.deger at googlemail.com
Thu May 21 21:18:39 CEST 2009
My QT Framework worked for months, but yesterday I got a Framework
QtValidLicenseForGuiModule error, that won't go away.
This error/bug(?) is well recognised in the Internet. So I tried to follow
forum instructions, like
http://qtnode.net/wiki/QtValidLicenseForGuiModule_error
(change the qconfig.h) or run the configure script to accept the license -
nothing helped.
the facts:
- My System is a WinXP, I'm using the MinGW version of QT
- I'm using (or at least wanting to use) the Open Source License
- The error first occurred using the Eclipse Plugin - but I tried also
compiling in the command prompt
- I first got the error in QT 4.5.0-rc1, but after desperate hours I
switched to the latest QT 4.5.1
- In both I ran the configure script accepting the open source license
- my latest qconfig.h begins with (line 3 ... 14)
----------------------------------------
#ifndef QT_DLL
#define QT_DLL
#endif
/* License information */
#define QT_PRODUCT_LICENSEE "Open Source"
#define QT_PRODUCT_LICENSE "OpenSource"
// Qt Edition
#ifndef QT_EDITION
# define QT_EDITION QT_EDITION_OPENSOURCE
#endif
----------------------------------------
- I tried "qmake -nocache" and "make clean" to avoid errors from previous
compilations
- The error message:
----------------------------------------
g++ -c -g -DTLOG -frtti -fexceptions -mthreads -Wall -DUNICODE
-DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB
-DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Qt\4.5.1Ming\include\QtCore"
-I"c:\Qt\4.5.1Ming\include\QtGui" -I"c:\Qt\4.5.1Ming\include"
-I"c:\Qt\4.5.1Ming\include\ActiveQt" -I"debug" -I"."
-I"c:\Qt\4.5.1Ming\mkspecs\default" -o debug\Splitter.o GUI\Splitter.cpp
In file included from c:/Qt/4.5.1Ming/include/QtGui/qabstractscrollarea.h:1,
from
c:/Qt/4.5.1Ming/include/QtGui/../../src/gui/widgets/qtextedit.h:45,
from c:/Qt/4.5.1Ming/include/QtGui/qtextedit.h:1,
from c:/Qt/4.5.1Ming/include/QtGui/QTextEdit:1,
from GUI\/TextEditor.h:3,
from GUI\Splitter.cpp:6:
c:/Qt/4.5.1Ming/include/QtGui/../../src/gui/widgets/qabstractscrollarea.h:51:
error: `QtValidLicenseForGuiModule' does not name a type
mingw32-make[1]: *** [debug/Splitter.o] Error 1
----------------------------------------
- I tried to undo all changes in code - but the error is still there
Anyone has a suggestion what I could try?
Thank you
Ferdinand
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090521/ca4641fe/attachment.html
More information about the Qt-interest-old
mailing list