QtScript Generator removed from Amarok SVN

Ian Monroe ian.monroe at gmail.com
Sun Mar 22 14:37:15 UTC 2009


2009/3/22 Thomas Kuther <gimpel at sonnenkinder.org>:
> On So, 22.03.09 05:33 Caleb Cushing <xenoterracide at gmail.com> wrote:
>
>> On Sun, Mar 22, 2009 at 5:16 AM, Caleb Cushing
>> <xenoterracide at gmail.com> wrote:
>> >> Make sure that INCLUDE has the Qt4 include directories beneath it.
>
> Using the live git ebuild from qting-edge (which has the mentioned
> patch applied), I get:
>
> ---------------------
> cd qtscript_phonon/ && /usr/bin/qmake qtscript_phonon.pro -unix
> QTDIR=/usr/lib64 QMAKE=/usr/bin/qmake QMAKE_CC=x86_64-pc-linux-gnu-gcc
> QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++
> QMAKE_CFLAGS_RELEASE=-march=native\ -O2\ -pipe
> QMAKE_CFLAGS_DEBUG=-march=native\ -O2\ -pipe
> QMAKE_CXXFLAGS_RELEASE=-march=native\ -O2\ -pipe
> QMAKE_CXXFLAGS_DEBUG=-march=native\ -O2\ -pipe
> QMAKE_LFLAGS_RELEASE=-Wl,-O1\ -Wl,--hash-style=gnu\ -Wl,--sort-common\
> -Wl,--as-needed QMAKE_LFLAGS_DEBUG=-Wl,-O1\ -Wl,--hash-style=gnu\
> -Wl,--sort-common\ -Wl,--as-needed QMAKE_RPATH= QMAKE_STRIP= -o
> Makefile
> WARNING: Failure to
> find: ../../generated_cpp/com_trolltech_qt_phonon/plugin.cpp
> WARNING: Failure to
> find: ../../generated_cpp/com_trolltech_qt_phonon/plugin.cpp
> ---------------------
>
> Includes look fine though (grepping around):
> ---------------------
> qtbindings/qtscript_phonon/Makefile.Release:INCPATH       =
> -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore
> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtScript
> -I/usr/include/phonon -I/usr/include/qt4 -I. -Irelease -I.
> ---------------------
>
> So it seems the cpp's aren't generated correctly, but I'm lost in this
> mess. No idea where and when they should be generated at all.
>
> Used to compile fine when it was in Amarok.

The code is generated under generated_code. If phonon still doesn't
compile with the patch, just stop phonon from compiling by editing the
qmake file (a .prc file IIRC) in the qtbindings directory. Amarok
doesn't use the phonon qtscript bindings.

I think your lost because you're using an ebuild so you can't keep
track of whats going on.

Ian



More information about the Amarok mailing list