From: giovanni <c....@ti...> - 2015-05-10 18:54:44
|
hi, while compiling chessx-code-2030-trunk, downloaded by SVN, i had this error, same also with last release version 1.3.2, how fix it? i'm using stable Slackware 14.1 with qt-4.8.5. Thanks Giovanni g++ -c -pipe -O2 -march=i486 -mtune=i686 -Wall -W -D_REENTRANT -DQUAZIP_STATIC -DQT_NO_CAST_TO_ASCII -DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG_OUTPUT -DNDEBUG -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt/mkspecs/linux-g++ -I. -I/usr/lib/qt/include/QtCore -I/usr/lib/qt/include/QtNetwork -I/usr/lib/qt/include/QtGui -I/usr/lib/qt/include/QtSvg -I/usr/lib/qt/include -Isrc/database -Isrc/guess -Isrc/gui -Isrc/dialogs -Isrc/quazip -I/usr/lib/qt/src/3rdparty/zlib -Isrc/generated -Isrc/generated -o obj_rel/threadedguess.o src/database/threadedguess.cpp src/database/threadedguess.cpp: In constructor 'ThreadedGuess::ThreadedGuess()': src/database/threadedguess.cpp:12:5: error: 'qRegisterMetaType' was not declared in this scope qRegisterMetaType<Guess::Result>("Guess::Result"); ^ src/database/threadedguess.cpp:12:36: error: expected primary-expression before '>' token qRegisterMetaType<Guess::Result>("Guess::Result"); ^ src/database/threadedguess.cpp:13:28: error: expected primary-expression before '>' token qRegisterMetaType<Board>("Board"); ^ make: *** [obj_rel/threadedguess.o] Errore 1 |