compiling with qt4.5

Ljubomir Simin ljubomir.simin at gmail.com
Thu Mar 5 20:43:38 CET 2009


On Thu, Mar 5, 2009 at 3:09 AM, Jeff Mitchell <mitchell at kde.org> wrote:

> I'm compiling with Qt 4.5rc1 on Intrepid.  Have you done a wipe of your
> build dir?
>
> - --Jeff

[ 10%] Building CXX object
src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscriptshell_QTextCodecPlugin.o
/usr/include/qt4/QtCore/qmetatype.h: In static member function ‘static
int QMetaTypeId2<T>::qt_metatype_id() [with T = QList<int>]’:
/usr/include/qt4/QtCore/qmetatype.h:199:   instantiated from ‘int
qMetaTypeId(T*) [with T = QList<int>]’
/usr/include/qt4/QtScript/qscriptengine.h:372:   instantiated from ‘T
qscriptvalue_cast(const QScriptValue&) [with T = QList<int>]’
/home/ljubomir/kde/build/amarok/src/scriptengine/generator/generator/generated_cpp/com_trolltech_qt_core/qtscriptshell_QTextCodecPlugin.cpp:128:
  instantiated from here
/usr/include/qt4/QtCore/qmetatype.h:189: error: ‘qt_metatype_id’ is
not a member of ‘QMetaTypeId<QList<int> >’
make[2]: *** [src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscriptshell_QTextCodecPlugin.o]
Error 1
make[1]: *** [src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/all]
Error 2

Clean build dir, svn up, and fresh apt-get upgrade. >:/ do you use
standard Qt from the default repo?

-- 
Ljubomir Simin
Registered Linux User #351181
http://counter.li.org


More information about the Amarok-devel mailing list