[Amarok] Re: QtScript Generator removed from Amarok SVN
Ian Monroe
ian at monroe.nu
Sat Apr 11 20:37:45 UTC 2009
On Sat, Apr 11, 2009 at 3:33 PM, Thomas Klausner <wiz at netbsd.org> wrote:
>
> On Sat, Mar 21, 2009 at 11:12:07AM -0500, Ian Monroe wrote:
>> Well at this point it shouldn't be a surprise given that I've been
>> talking about it all month. :)
>>
>> QtScript Generator is now an external dependency in Amarok trunk, that
>> you can get from here:
>> http://code.google.com/p/qtscriptgenerator/
>> You may need this patch to compile:
>> http://code.google.com/p/qtscriptgenerator/issues/detail?id=39
>
> I tried packaging 0.1.0 for pkgsrc on NetBSD-5.99.10/amd64, but it
> fails to compile with
>
> libtool --silent --mode=compile c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt4/include -I/usr/pkg/include/freetype2 -DQ_TRAILING_DIR_SEP -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include/QtScript -I/usr/pkg/qt4/include/QtScript -I/usr/pkg/qt4/include -I. -Irelease -I. -I/usr/pkg/include -o release/qtscriptshell_QFutureIterator.lo ../../generated_cpp/com_trolltech_qt_core/qtscriptshell_QFutureIterator.cpp
> ../../generated_cpp/com_trolltech_qt_core/qtscriptshell_QFutureIterator.cpp: In constructor 'QtScriptShell_QFutureIterator::QtScriptShell_QFutureIterator()':
> ../../generated_cpp/com_trolltech_qt_core/qtscriptshell_QFutureIterator.cpp:10: error: no matching function for call to 'QFutureIterator<QScriptValue>::QFutureIterator()'
> /usr/pkg/qt4/include/QtCore/qfuture.h:187: note: candidates are: QFutureIterator<T>::QFutureIterator(const QFuture<T>&) [with T = QScriptValue]
> /usr/pkg/qt4/include/QtCore/qfuture.h:187: note: QFutureIterator<QScriptValue>::QFutureIterator(const QFutureIterator<QScriptValue>&)
>
> Any ideas?
That's the error caused by the generator not actually finding Qt to
generate much of anything. Set QTDIR like it probably suggested or use
--include-directories.
Ian
More information about the Amarok
mailing list