compiling with qt4.5

Ljubomir Simin ljubomir.simin at gmail.com
Thu Mar 5 02:54:29 CET 2009


Hi,

I've recently installed 64-bit Kubuntu 9.04 which apparently ships
Qt4.5, so I can't compile Amarok trunk.I've been told that there is a
patch to make Amarok work with Qt4.5 Any hits?

This is what make spits out:

/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:194:   instantiated from ‘int
qMetaTypeId(T*) [with T = QList<int>]’
/usr/include/qt4/QtScript/qscriptengine.h:367:   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:184: 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
make: *** [all] Error 2
ljubomir at fidel:~/kde/build/amarok$

Thanks!

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


More information about the Amarok-devel mailing list