[mythtv-users] Reverting from qt 4.1.4 to 3.3.6-r1 for SVN compile

Mike listemailaccount at gmail.com
Wed Sep 13 20:12:03 UTC 2006


On 9/13/06, Robin Hill <myth at robinhill.me.uk> wrote:
>
> On Wed Sep 13, 2006 at 02:08:58PM -0500, Secret Name wrote:
>
> > Hi,
> >
> > I would like to compile SVN but my qt is 4.1.4.  I have 3.3.6-r1 also
> > installed but cannot figure out if I can use it.  I am using gentoo
> 2006.1:
> >
> > Is there anyway to change the compiler to use the older version for the
> myth
> > compile?  With gcc you just gcc-config (profile number) to change.  I am
> > wondering if qt can do this too?
> >
> What I've done is created a couple of aliases:
>         alias qt3configure="PATH=/usr/qt3/bin:$PATH ./configure"
>         alias qt3make="PATH=/usr/qt/3/bin:\$PATH make"
>
> Then I can just call qt3configure and qt3make - it'll use the qmake
> executable from /usr/qt3/bin instead of /usr/bin (which is the QT4
> version), so pulls in the correct includes & libraries.
>
> HTH,
>         Robin
> <mythtv-users at mythtv.org>
>
Maybe the problem is not qt.  I set the aliases and also tried Kevins
suggestion.  Can anyone confirm this is a qt problem?


 make[2]: Entering directory `/root/mythtv.svn/mythtv/libs/libmyth'
/usr/bin/qmake -unix -o Makefile libmyth.pro
make[2]: Leaving directory `/root/mythtv.svn/mythtv/libs/libmyth'
make[2]: Entering directory `/root/mythtv.svn/mythtv/libs/libmyth'
g++ -c -pipe -march=pentiumpro -O3 -Wall -Wno-switch -fomit-frame-pointer
-D_REENTRANT -Wall -W -DPIC -fPIC  -DMMX -Di386 -DUSING_FREEBOX
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DLIBDIR=\"/usr/lib\"
-DUSING_OSS -DUSE_ALSA -DUSE_JOYSTICK_MENU -DUSING_XRANDR -DQT_NO_DEBUG
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++
-I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4
-I/usr/include -I/usr/include -I../libmythsamplerate -I../libmythsoundtouch
-I../.. -I.. -I. -I. -o dialogbox.o dialogbox.cpp
In file included from dialogbox.h:6,
                 from dialogbox.cpp:11:
mythdialogs.h:7:18: error: qdom.h: No such file or directory
mythdialogs.h:8:22: error: qptrlist.h: No such file or directory
mythdialogs.h:13:26: error: qvaluevector.h: No such file or directory
mythdialogs.h:14:25: error: qscrollview.h: No such file or directory
In file included from ../libmythui/mythmainwindow.h:12,
                 from mythdialogs.h:48,
                 from dialogbox.h:6,
                 from dialogbox.cpp:11:
../libmythui/mythuitype.h:6:25: error: qobjectlist.h: No such file or
directory
In file included from dialogbox.cpp:12:
mythcontext.h:13:23: error: qnetwork.h: No such file or directory
In file included from mythobservable.h:5,
                 from mythcontext.h:21,
                 from dialogbox.cpp:12:
mythevent.h:7:23: error: qdeepcopy.h: No such file or directory
In file included from mythcontext.h:22,
                 from dialogbox.cpp:12:
mythsocket.h:4:27: error: qsocketdevice.h: No such file or directory
In file included from dialogbox.cpp:13:
mythwidgets.h:4:21: error: qbutton.h: No such file or directory
mythwidgets.h:14:21: error: qheader.h: No such file or directory
mythwidgets.h:15:20: error: qtable.h: No such file or directory
mythwidgets.h:17:22: error: qlistbox.h: No such file or directory
../libmythui/xmlparsebase.h:15: error: 'QDomElement' has not been declared
../libmythui/xmlparsebase.h:17: error: 'QDomElement' has not been declared
../libmythui/xmlparsebase.h:19: error: 'QDomElement' has not been declared
../libmythui/xmlparsebase.h:21: error: 'QDomElement' has not been declared
../libmythui/xmlparsebase.h:23: error: 'QDomElement' has not been declared
../libmythui/xmlparsebase.h:29: error: expected ';' before '(' token
../libmythui/xmlparsebase.h:32: error: expected ';' before '(' token
../libmythui/mythuitype.h:33: error: ISO C++ forbids declaration of
'QValueVector' with no type
../libmythui/mythuitype.h:33: error: expected ';' before '<' token
../libmythui/mythuitype.h:81: error: 'QCustomEvent' has not been declared
../libmythui/mythuitype.h:106: error: 'QPtrList' has not been declared
../libmythui/mythuitype.h:106: error: expected ',' or '...' before '<' token
../libmythui/mythuitype.h:119: error: 'QDomElement' has not been declared
../libmythui/mythuitype.h:124: error: ISO C++ forbids declaration of
'QValueVector' with no type
../libmythui/mythuitype.h:124: error: expected ';' before '<' token
../libmythui/mythscreenstack.h:22: error: 'QValueVector' has not been
declared
../libmythui/mythscreenstack.h:22: error: expected ',' or '...' before '<'
token
../libmythui/mythscreenstack.h:33: error: ISO C++ forbids declaration of
'QValueVector' with no type
../libmythui/mythscreenstack.h:33: error: expected ';' before '<' token
../libmythui/mythscreenstack.h:34: error: ISO C++ forbids declaration of
'QValueVector' with no type
../libmythui/mythscreenstack.h:34: error: expected ';' before '<' token
../libmythui/mythscreenstack.h:42: error: ISO C++ forbids declaration of
'QValueVector' with no type
../libmythui/mythscreenstack.h:42: error: expected ';' before '<' token
../libmythui/mythmainwindow.h:21: error: expected class-name before '{'
token
../libmythui/mythmainwindow.h: In constructor
'ExternalKeycodeEvent::ExternalKeycodeEvent(int)':
../libmythui/mythmainwindow.h:24: error: class 'ExternalKeycodeEvent' does
not have any field named 'QCustomEvent'
../libmythui/mythmainwindow.h: At global scope:
../libmythui/mythmainwindow.h:33: error: expected class-name before '{'
token
../libmythui/mythmainwindow.h: In constructor
'ExitToMainMenuEvent::ExitToMainMenuEvent()':
../libmythui/mythmainwindow.h:35: error: class 'ExitToMainMenuEvent' does
not have any field named 'QCustomEvent'
../libmythui/mythmainwindow.h: At global scope:
../libmythui/mythmainwindow.h:129: error: 'QCustomEvent' has not been
declared
mythdialogs.h:115: error: ISO C++ forbids declaration of 'QButton' with no
type
mythdialogs.h:115: error: expected ';' before '*' token
mythdialogs.h:204: error: ISO C++ forbids declaration of 'QPtrList' with no
type
mythdialogs.h:204: error: expected ';' before '<' token
mythdialogs.h:264: error: 'QDomElement' has not been declared
mythdialogs.h:265: error: 'QDomElement' has not been declared
mythdialogs.h:266: error: 'QDomElement' has not been declared
mythdialogs.h:267: error: 'QDomElement' has not been declared
mythdialogs.h:313: error: ISO C++ forbids declaration of 'QDomElement' with
no type
mythdialogs.h:313: error: expected ';' before '&' token
mythdialogs.h:315: error: expected `;' before 'QPixmap'
mythdialogs.h:323: error: 'QDomElement' does not name a type
mythdialogs.h:326: error: ISO C++ forbids declaration of 'QPtrList' with no
type
mythdialogs.h:326: error: expected ';' before '<' token
mythdialogs.h:327: error: ISO C++ forbids declaration of 'QPtrList' with no
type
mythdialogs.h:327: error: expected ';' before '<' token
mythdialogs.h:394: error: ISO C++ forbids declaration of 'QButton' with no
type
mythdialogs.h:394: error: expected ';' before '*' token
mythdialogs.h:395: error: ISO C++ forbids declaration of 'QButton' with no
type
mythdialogs.h:395: error: expected ';' before '*' token
mythdialogs.h:409: error: ISO C++ forbids declaration of 'QValueVector' with
no type
mythdialogs.h:409: error: expected ';' before '<' token
mythdialogs.h:422: error: 'IntVector' has not been declared
mythdialogs.h:423: error: 'IntVector' has not been declared
mythdialogs.h:446: error: expected class-name before '{' token
mythdialogs.h:446: warning: 'class MythScrollDialog' has virtual functions
but non-virtual destructor
mythevent.h:16: error: expected class-name before '{' token
mythevent.h:18: error: 'User' was not declared in this scope
mythevent.h: In constructor 'MythEvent::MythEvent(int)':
mythevent.h:20: error: class 'MythEvent' does not have any field named
'QCustomEvent'
mythevent.h: In constructor 'MythEvent::MythEvent(QString)':
mythevent.h:23: error: class 'MythEvent' does not have any field named
'QCustomEvent'
mythevent.h:25: error: 'QDeepCopy' was not declared in this scope
mythevent.h:25: error: expected primary-expression before '>' token
mythevent.h:26: error: no match for 'operator=' in
'((MythEvent*)this)->MythEvent::extradata = "empty"'
/usr/include/qt4/QtCore/qstringlist.h:47: note: candidates are: QStringList&
QStringList::operator=(const QStringList&)
mythevent.h: In constructor 'MythEvent::MythEvent(QString, const
QStringList&)':
mythevent.h:30: error: class 'MythEvent' does not have any field named
'QCustomEvent'
mythevent.h:32: error: 'QDeepCopy' was not declared in this scope
mythevent.h:32: error: expected primary-expression before '>' token
mythobservable.h: At global scope:
mythobservable.h:112: error: ISO C++ forbids declaration of 'QPtrList' with
no type
mythobservable.h:112: error: expected ';' before '<' token
mythobservable.h:136: error: ISO C++ forbids declaration of 'QPtrList' with
no type
mythobservable.h:136: error: expected ';' before '<' token
mythsocket.h:24: error: expected class-name before '{' token
mythsocket.h:46: error: expected ',' or '...' before 'error'
mythsocket.h:46: error: ISO C++ forbids declaration of 'Error' with no type
mythsocket.h:48: error: 'Type' has not been declared
mythsocket.h:51: error: 'Q_LONG' does not name a type
mythsocket.h:52: error: 'Q_LONG' does not name a type
mythsocket.h:56: error: 'Q_ULONG' has not been declared
mythsocket.h:58: error: 'Q_UINT16' has not been declared
mythsocket.h:59: error: 'Q_UINT16' has not been declared
mythsocket.h:71: error: field 'm_addr' has incomplete type
mythsocket.h:72: error: 'Q_UINT16' does not name a type
mythsocket.h:85: error: ISO C++ forbids declaration of 'QPtrList' with no
type
mythsocket.h:85: error: expected ';' before '<' token
mythsocket.h:86: error: ISO C++ forbids declaration of 'QPtrList' with no
type
mythsocket.h:86: error: expected ';' before '<' token
mythsocket.h:87: error: ISO C++ forbids declaration of 'QPtrList' with no
type
mythsocket.h:87: error: expected ';' before '<' token
mythsocket.h:98: error: 'QPtrList' is not a template
mythsocket.h:48: error: 'QSocketDevice' has not been declared
mythsocket.h: In member function 'QString MythSocket::errorToString()':
mythsocket.h:45: error: 'error' was not declared in this scope
mythcontext.h: At global scope:
mythcontext.h:303: error: ISO C++ forbids declaration of 'QValueList' with
no type
mythcontext.h:303: error: expected ';' before '<' token
mythcontext.h:439: error: ISO C++ forbids declaration of 'QValueList' with
no type
mythcontext.h:439: error: expected ';' before '<' token
mythwidgets.h: In constructor 'MythComboBox::MythComboBox(bool, QWidget*,
const char*)':
mythwidgets.h:44: error: no matching function for call to
'QComboBox::QComboBox(bool&, QWidget*&, const char*&)'
/usr/include/qt4/QtGui/qcombobox.h:265: note: candidates are:
QComboBox::QComboBox(const QComboBox&)
/usr/include/qt4/QtGui/qcombobox.h:65: note:
QComboBox::QComboBox(QWidget*)
mythwidgets.h: In member function 'void MythComboBox::insertItem(const
QString&)':
mythwidgets.h:57: error: no matching function for call to
'MythComboBox::insertItem(const QString&)'
/usr/include/qt4/QtGui/qcombobox.h:288: note: candidates are: void
QComboBox::insertItem(int, const QString&, const QVariant&)
/usr/include/qt4/QtGui/qcombobox.h:167: note:                 void
QComboBox::insertItem(int, const QIcon&, const QString&, const QVariant&)
mythwidgets.h: In constructor 'MythSpinBox::MythSpinBox(QWidget*, const
char*, bool)':
mythwidgets.h:78: error: no matching function for call to
'QSpinBox::QSpinBox(QWidget*&, const char*&)'
/usr/include/qt4/QtGui/qspinbox.h:101: note: candidates are:
QSpinBox::QSpinBox(const QSpinBox&)
/usr/include/qt4/QtGui/qspinbox.h:49: note:
QSpinBox::QSpinBox(QWidget*)
mythwidgets.h:78: error: 'setLineStep' was not declared in this scope
mythwidgets.h: In constructor 'MythSlider::MythSlider(QWidget*, const
char*)':
mythwidgets.h:103: error: no matching function for call to
'QSlider::QSlider(QWidget*&, const char*&)'
/usr/include/qt4/QtGui/qslider.h:101: note: candidates are:
QSlider::QSlider(const QSlider&)
/usr/include/qt4/QtGui/qslider.h:65: note:
QSlider::QSlider(Qt::Orientation, QWidget*)
/usr/include/qt4/QtGui/qslider.h:64: note:
QSlider::QSlider(QWidget*)
mythwidgets.h: In constructor 'MythLineEdit::MythLineEdit(QWidget*, const
char*)':
mythwidgets.h:125: error: no matching function for call to
'QLineEdit::QLineEdit(QWidget*&, const char*&)'
/usr/include/qt4/QtGui/qlineedit.h:213: note: candidates are:
QLineEdit::QLineEdit(const QLineEdit&)
/usr/include/qt4/QtGui/qlineedit.h:64: note:
QLineEdit::QLineEdit(const QString&, QWidget*)
/usr/include/qt4/QtGui/qlineedit.h:63: note:
QLineEdit::QLineEdit(QWidget*)
mythwidgets.h: In constructor 'MythLineEdit::MythLineEdit(const QString&,
QWidget*, const char*)':
mythwidgets.h:130: error: no matching function for call to
'QLineEdit::QLineEdit(const QString&, QWidget*&, const char*&)'
/usr/include/qt4/QtGui/qlineedit.h:213: note: candidates are:
QLineEdit::QLineEdit(const QLineEdit&)
/usr/include/qt4/QtGui/qlineedit.h:64: note:
QLineEdit::QLineEdit(const QString&, QWidget*)
/usr/include/qt4/QtGui/qlineedit.h:63: note:
QLineEdit::QLineEdit(QWidget*)
mythwidgets.h: At global scope:
mythwidgets.h:247: error: expected class-name before '{' token
mythwidgets.h: In constructor 'MythTable::MythTable(QWidget*)':
mythwidgets.h:249: error: class 'MythTable' does not have any field named
'QTable'
mythwidgets.h: In constructor 'MythPushButton::MythPushButton(QWidget*,
const char*, bool)':
mythwidgets.h:267: error: no matching function for call to
'QPushButton::QPushButton(QWidget*&, const char*&)'
/usr/include/qt4/QtGui/qpushbutton.h:89: note: candidates are:
QPushButton::QPushButton(const QPushButton&)
/usr/include/qt4/QtGui/qpushbutton.h:47: note:
QPushButton::QPushButton(const QIcon&, const QString&, QWidget*)
/usr/include/qt4/QtGui/qpushbutton.h:46: note:
QPushButton::QPushButton(const QString&, QWidget*)
/usr/include/qt4/QtGui/qpushbutton.h:45: note:
QPushButton::QPushButton(QWidget*)
mythwidgets.h:268: error: 'WindowOrigin' was not declared in this scope
mythwidgets.h:268: error: 'setBackgroundOrigin' was not declared in this
scope
mythwidgets.h: In constructor 'MythPushButton::MythPushButton(const
QString&, QWidget*, bool)':
mythwidgets.h:272: error: 'WindowOrigin' was not declared in this scope
mythwidgets.h:272: error: 'setBackgroundOrigin' was not declared in this
scope
mythwidgets.h: In constructor 'MythCheckBox::MythCheckBox(QWidget*, const
char*)':
mythwidgets.h:299: error: no matching function for call to
'QCheckBox::QCheckBox(QWidget*&, const char*&)'
/usr/include/qt4/QtGui/qcheckbox.h:84: note: candidates are:
QCheckBox::QCheckBox(const QCheckBox&)
/usr/include/qt4/QtGui/qcheckbox.h:43: note:
QCheckBox::QCheckBox(const QString&, QWidget*)
/usr/include/qt4/QtGui/qcheckbox.h:42: note:
QCheckBox::QCheckBox(QWidget*)
mythwidgets.h: In constructor 'MythRadioButton::MythRadioButton(QWidget*,
const char*)':
mythwidgets.h:319: error: no matching function for call to
'QRadioButton::QRadioButton(QWidget*&, const char*&)'
/usr/include/qt4/QtGui/qradiobutton.h:59: note: candidates are:
QRadioButton::QRadioButton(const QRadioButton&)
/usr/include/qt4/QtGui/qradiobutton.h:41: note:
QRadioButton::QRadioButton(const QString&, QWidget*)
/usr/include/qt4/QtGui/qradiobutton.h:40: note:
QRadioButton::QRadioButton(QWidget*)
mythwidgets.h: At global scope:
mythwidgets.h:340: error: expected ',' or '...' before '*' token
mythwidgets.h:340: error: ISO C++ forbids declaration of 'QListViewItem'
with no type
mythwidgets.h:347: error: expected class-name before '{' token
mythwidgets.h:347: warning: 'class MythListBox' has virtual functions but
non-virtual destructor
mythwidgets.h: In member function 'void MythListBox::setCurrentItem(int)':
mythwidgets.h:364: error: 'QListBox' has not been declared
mythwidgets.h:364: error: invalid type in declaration before '(' token
mythwidgets.h:364: warning: unused variable 'setCurrentItem'
dialogbox.cpp: In constructor 'DialogBox::DialogBox(MythMainWindow*, const
QString&, const char*, const char*)':
dialogbox.cpp:21: error: 'class QLabel' has no member named
'setBackgroundOrigin'
dialogbox.cpp:21: error: 'WindowOrigin' was not declared in this scope
dialogbox.cpp:22: error: 'WordBreak' is not a member of 'Qt'
dialogbox.cpp:24: error: no matching function for call to
'QVBoxLayout::QVBoxLayout(DialogBox* const, int, int)'
/usr/include/qt4/QtGui/qboxlayout.h:138: note: candidates are:
QVBoxLayout::QVBoxLayout(const QVBoxLayout&)
/usr/include/qt4/QtGui/qboxlayout.h:126: note:
QVBoxLayout::QVBoxLayout(QWidget*)
/usr/include/qt4/QtGui/qboxlayout.h:125: note:
QVBoxLayout::QVBoxLayout()
dialogbox.cpp:33: error: 'class QCheckBox' has no member named
'setBackgroundOrigin'
dialogbox.cpp:40: error: 'class QButtonGroup' has no member named 'insert'
dialogbox.cpp: In member function 'void DialogBox::AddButton(const
QString&)':
dialogbox.cpp:48: error: 'class QButtonGroup' has no member named 'count'
dialogbox.cpp:49: error: 'class QButtonGroup' has no member named 'count'
dialogbox.cpp:54: error: 'class QButtonGroup' has no member named 'insert'
dialogbox.cpp: In member function 'void DialogBox::buttonPressed(int)':
dialogbox.cpp:61: error: 'class QButtonGroup' has no member named 'find'
make[2]: *** [dialogbox.o] Error 1
make[2]: Leaving directory `/root/mythtv.svn/mythtv/libs/libmyth'
make[1]: *** [sub-libmyth-make_default-ordered] Error 2
make[1]: Leaving directory `/root/mythtv.svn/mythtv/libs'
make: *** [sub-libs] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060913/60f13793/attachment.htm 


More information about the mythtv-users mailing list