This forum has been archived. All content is frozen. Please use KDE Discuss instead.

transcode (/w mediadevice patch) compile failed

Tags: None
(comma "," separated)
Simon Roby
Karma
0
Hi there, following the instructions at
http://amarok.kde.org/amarokwiki/index.php/Media_Devices#Transcoding
I have patched transcode-0.4 with the patch required to use on-the-fly transcoding in amarok-1.4. However I get a compile error.

[code:1][...]
In file included from flacdialogbase.cpp:29:
./flacdialogbase.ui.h: In member function `virtual void flacDialogBase::«»setCheckedSeekPoints(bool)\':
./flacdialogbase.ui.h:78: error: invalid use of undefined type `struct QDecSpinBox\'
flacdialogbase.h:31: error: forward declaration of `struct QDecSpinBox\'
flacdialogbase.cpp: In constructor `flacDialogBase::flacDialogBase(QWidget*, const char*, bool, uint)\':
flacdialogbase.cpp:445: error: invalid use of undefined type `struct QDecSpinBox\'
flacdialogbase.h:31: error: forward declaration of `struct QDecSpinBox\'
flacdialogbase.cpp:446: error: invalid use of undefined type `struct QDecSpinBox\'
flacdialogbase.h:31: error: forward declaration of `struct QDecSpinBox\'
flacdialogbase.cpp:447: error: invalid use of undefined type `struct QDecSpinBox\'
flacdialogbase.h:31: error: forward declaration of `struct QDecSpinBox\'
flacdialogbase.cpp:448: error: invalid use of undefined type `struct QDecSpinBox\'
flacdialogbase.h:31: error: forward declaration of `struct QDecSpinBox\'
flacdialogbase.cpp:449: error: invalid use of undefined type `struct QDecSpinBox\'
flacdialogbase.h:31: error: forward declaration of `struct QDecSpinBox\'
flacdialogbase.cpp:450: error: invalid use of undefined type `struct QDecSpinBox\'
flacdialogbase.h:31: error: forward declaration of `struct QDecSpinBox\'
flacdialogbase.cpp:451: error: invalid use of undefined type `struct QDecSpinBox\'
flacdialogbase.h:31: error: forward declaration of `struct QDecSpinBox\'
flacdialogbase.cpp:453: error: no matching function for call to `QGridLayout::addWidget(QDecSpinBox*&, int, int)\'
/usr/qt/3/include/qlayout.h:331: note: candidates are: void QGridLayout::addWidget(QWidget*, int, int, int)
flacdialogbase.cpp:491: error: no matching function for call to `flacDialogBase::connect(QRadioButton*&, const char[15], QDecSpinBox*&, const char[18])\'
/usr/qt/3/include/qobject.h:116: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*)
/usr/qt/3/include/qobject.h:227: note: bool QObject::connect(const QObject*, const char*, const char*) const
flacdialogbase.cpp:516: error: no matching function for call to `flacDialogBase::«»setTabOrder(QRadioButton*&, QDecSpinBox*&«»)\'
/usr/qt/3/include/qwidget.h:313: note: candidates are: static void QWidget::«»setTabOrder(QWidget*, QWidget*)
flacdialogbase.cpp:517: error: no matching function for call to `flacDialogBase::«»setTabOrder(QDecSpinBox*&, QSpinBox*&«»)\'
/usr/qt/3/include/qwidget.h:313: note: candidates are: static void QWidget::«»setTabOrder(QWidget*, QWidget*)
flacdialogbase.cpp: In member function `virtual void flacDialogBase::languageChange()\':
flacdialogbase.cpp:731: error: no matching function for call to `QWhatsThis::add(QDecSpinBox*&, QString)\'
/usr/qt/3/include/qwhatsthis.h:63: note: candidates are: static void QWhatsThis::add(QWidget*, const QString&«»)
make[3]: *** [flacdialogbase.lo] Error 1
make[3]: Leaving directory `/home/walrus/src/transcode-0.4/src/dialogs\'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/walrus/src/transcode-0.4/src\'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/walrus/src/transcode-0.4\'
make: *** [all] Error 2[/code:1]

Has anyone got it to work? I am using gcc-3.4.5 BTW.


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]