I am getting the following error when trying to compile my code:
error: `QtValidLicenseForCoreModule' does not name a type
I searched on google and 1 of the forums mentions that I must run configure.exe in theQT install folder. I did that but I am still getting the error. Please help
Full output:
C:\unisa\cos311\projects\assignments\assignment1\question1>make
mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `C:/unisa/cos311/projects/assignments/assignment1/question1'
g++ -c -g -g -frtti -fexceptions -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_C
ORE_LIB -DQT_THREAD_SUPPORT -I"C:/Qt/4.1.1/include/QtCore" -I"C:/Qt/4.1.1/include/QtGui" -I"C:/Qt/4.
1.1/include" -I"." -I"C:/unisa/cos311/projects/libs/utils" -I"C:/Qt/4.1.1/include/ActiveQt" -I"debug
" -I"." -I"C:/Qt/4.1.1/mkspecs/win32-g++" -o debug\FileSearch.o FileSearch.cpp
In file included from C:/Qt/4.1.1/include/QtCore/qhash.h:1,
from C:/Qt/4.1.1/include/QtCore/../../src/corelib/io/qdebug.h:28,
from C:/Qt/4.1.1/include/QtCore/qdebug.h:1,
from C:/Qt/4.1.1/include/QtCore/QDebug:1,
from FileSearch.cpp:2:
C:/Qt/4.1.1/include/QtCore/../../src/corelib/tools/qhash.h:32: error: `QtValidLicenseForCoreModule'
does not name a type
mingw32-make[1]: *** [debug\FileSearch.o] Error 1
mingw32-make[1]: Leaving directory `C:/unisa/cos311/projects/assignments/assignment1/question1'
mingw32-make: *** [debug] Error 2