[mythtv-users] Mythweather compile problem

Tom Weichmann tomcw at adelphia.net
Mon Jun 25 12:51:18 UTC 2007


Hello,

I am running Mythtv 0.20 on SuSE 10.2.  I am trying to update mythweather to 
work again by following the instructions form the Wiki 
(http://www.mythtv.org/wiki/index.php/Using_mythweather-revamp_with_trunk_mythtv)

When I try to compile I get the following errors:



cd mythweather && make -f Makefile
make[1]: Entering directory `/home/tom/Desktop/mythplugins/mythweather'
cd mythweather && make -f Makefile
make[2]: Entering directory 
`/home/tom/Desktop/mythplugins/mythweather/mythweather'
g++ -c -pipe -march=athlon -I/opt/kde3/include/artsc -pthread -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -g -D_REENTRANT -Wall -W -DPIC -fPIC  -D_GNU_SOURCE -DPREFIX="/usr" -DMMX -Di386 -DUSING_FREEBOX -D_FILE_OFFSET_BITS=64 -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtGui -I/usr/include -I/usr/include -I/usr/kde/3.3/include -I/usr/include -I/usr/include -I/usr/X11R6/include -I. -I. -o 
main.o main.cpp
In file included from main.cpp:18:
weather.h:21:22: error: qnetwork.h: No such file or directory
In file included from weather.h:24,
                 from main.cpp:18:
/usr/include/mythtv/uitypes.h:12:26: error: qvaluevector.h: No such file or 
directory
/usr/include/mythtv/uitypes.h:16:22: error: qptrlist.h: No such file or 
directory
In file included from /usr/include/mythtv/uitypes.h:18,
                 from weather.h:24,
                 from main.cpp:18:
/usr/include/mythtv/mythwidgets.h:4:21: error: qbutton.h: No such file or 
directory
/usr/include/mythtv/mythwidgets.h:14:21: error: qheader.h: No such file or 
directory
/usr/include/mythtv/mythwidgets.h:15:20: error: qtable.h: No such file or 
directory
/usr/include/mythtv/mythwidgets.h:17:22: error: qlistbox.h: No such file or 
directory
In file included from /usr/include/mythtv/virtualkeyboard.h:7,
                 from /usr/include/mythtv/mythwidgets.h:28,
                 from /usr/include/mythtv/uitypes.h:18,
                 from weather.h:24,
                 from main.cpp:18:
/usr/include/mythtv/mythdialogs.h:7:18: error: qdom.h: No such file or 
directory
/usr/include/mythtv/mythdialogs.h:14:25: error: qscrollview.h: No such file or 
directory
In file included from /usr/include/mythtv/libmythui/mythmainwindow.h:12,
                 from /usr/include/mythtv/mythdialogs.h:48,
                 from /usr/include/mythtv/virtualkeyboard.h:7,
                 from /usr/include/mythtv/mythwidgets.h:28,
                 from /usr/include/mythtv/uitypes.h:18,
                 from weather.h:24,
                 from main.cpp:18:
/usr/include/mythtv/libmythui/mythuitype.h:6:25: error: qobjectlist.h: No such 
file or directory
In file included from /usr/include/mythtv/uitypes.h:21,
                 from weather.h:24,
                 from main.cpp:18:
/usr/include/mythtv/generictree.h:6:24: error: qvaluelist.h: No such file or 
directory
In file included from /usr/include/mythtv/mythobservable.h:5,
                 from /usr/include/mythtv/mythcontext.h:21,
                 from /usr/include/mythtv/xmlparse.h:5,
                 from weather.h:25,
                 from main.cpp:18:
/usr/include/mythtv/mythevent.h:7:23: error: qdeepcopy.h: No such file or 
directory
In file included from /usr/include/mythtv/mythcontext.h:22,
                 from /usr/include/mythtv/xmlparse.h:5,
                 from weather.h:25,
                 from main.cpp:18:
/usr/include/mythtv/mythsocket.h:4:27: error: qsocketdevice.h: No such file or 
directory
In file included from main.cpp:23:
/usr/include/mythtv/lcddevice.h:10:21: error: qsocket.h: No such file or 
directory
In file included from main.cpp:26:
/usr/include/mythtv/mythplugin.h:5:19: error: qdict.h: No such file or 
directory
/usr/include/mythtv/libmythui/xmlparsebase.h:15: error: ‘QDomElement’ has not 
been declared
/usr/include/mythtv/libmythui/xmlparsebase.h:17: error: ‘QDomElement’ has not 
been declared
/usr/include/mythtv/libmythui/xmlparsebase.h:19: error: ‘QDomElement’ has not 
been declared
/usr/include/mythtv/libmythui/xmlparsebase.h:21: error: ‘QDomElement’ has not 
been declared
/usr/include/mythtv/libmythui/xmlparsebase.h:23: error: ‘QDomElement’ has not 
been declared
/usr/include/mythtv/libmythui/xmlparsebase.h:29: error: expected ‘;’ 
before ‘(’ token
/usr/include/mythtv/libmythui/xmlparsebase.h:32: error: expected ‘;’ 
before ‘(’ token
/usr/include/mythtv/libmythui/mythuitype.h:33: error: expected ‘;’ before ‘<’ 
token
/usr/include/mythtv/libmythui/mythuitype.h:81: error: ‘QCustomEvent’ has not 
been declared
/usr/include/mythtv/libmythui/mythuitype.h:106: error: ‘QPtrList’ has not been 
declared
/usr/include/mythtv/libmythui/mythuitype.h:106: error: expected ‘,’ or ‘...’ 
before ‘<’ token
/usr/include/mythtv/libmythui/mythuitype.h:119: error: ‘QDomElement’ has not 
been declared
/usr/include/mythtv/libmythui/mythuitype.h:124: error: expected ‘;’ before ‘<’ 
token
/usr/include/mythtv/libmythui/mythscreenstack.h:22: error: ‘QValueVector’ has 
not been declared
/usr/include/mythtv/libmythui/mythscreenstack.h:22: error: expected ‘,’ 
or ‘...’ before ‘<’ token
/usr/include/mythtv/libmythui/mythscreenstack.h:33: error: expected ‘;’ 
before ‘<’ token
/usr/include/mythtv/libmythui/mythscreenstack.h:34: error: expected ‘;’ 
before ‘<’ token
/usr/include/mythtv/libmythui/mythscreenstack.h:42: error: expected ‘;’ 
before ‘<’ token
/usr/include/mythtv/libmythui/mythmainwindow.h:21: error: expected class-name 
before ‘{’ token
/usr/include/mythtv/libmythui/mythmainwindow.h: In 
constructor ‘ExternalKeycodeEvent::ExternalKeycodeEvent(int)’:
/usr/include/mythtv/libmythui/mythmainwindow.h:24: error: 
class ‘ExternalKeycodeEvent’ does not have any field named ‘QCustomEvent’
/usr/include/mythtv/libmythui/mythmainwindow.h: At global scope:
/usr/include/mythtv/libmythui/mythmainwindow.h:33: error: expected class-name 
before ‘{’ token
/usr/include/mythtv/libmythui/mythmainwindow.h: In 
constructor ‘ExitToMainMenuEvent::ExitToMainMenuEvent()’:
/usr/include/mythtv/libmythui/mythmainwindow.h:35: error: 
class ‘ExitToMainMenuEvent’ does not have any field named ‘QCustomEvent’
/usr/include/mythtv/libmythui/mythmainwindow.h: At global scope:
/usr/include/mythtv/libmythui/mythmainwindow.h:129: error: ‘QCustomEvent’ has 
not been declared
/usr/include/mythtv/mythdialogs.h:115: error: expected ‘;’ before ‘*’ token
/usr/include/mythtv/mythdialogs.h:204: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/mythdialogs.h:264: error: ‘QDomElement’ has not been 
declared
/usr/include/mythtv/mythdialogs.h:265: error: ‘QDomElement’ has not been 
declared
/usr/include/mythtv/mythdialogs.h:266: error: ‘QDomElement’ has not been 
declared
/usr/include/mythtv/mythdialogs.h:267: error: ‘QDomElement’ has not been 
declared
/usr/include/mythtv/mythdialogs.h:313: error: expected ‘;’ before ‘&’ token
/usr/include/mythtv/mythdialogs.h:315: error: expected `;' before ‘QPixmap’
/usr/include/mythtv/mythdialogs.h:323: error: ‘QDomElement’ does not name a 
type
/usr/include/mythtv/mythdialogs.h:326: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/mythdialogs.h:327: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/mythdialogs.h:394: error: expected ‘;’ before ‘*’ token
/usr/include/mythtv/mythdialogs.h:395: error: expected ‘;’ before ‘*’ token
/usr/include/mythtv/mythdialogs.h:409: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/mythdialogs.h:422: error: ‘IntVector’ has not been 
declared
/usr/include/mythtv/mythdialogs.h:423: error: ‘IntVector’ has not been 
declared
/usr/include/mythtv/mythdialogs.h:446: error: expected class-name before ‘{’ 
token
/usr/include/mythtv/mythwidgets.h: In 
constructor ‘MythComboBox::MythComboBox(bool, QWidget*, const char*)’:
/usr/include/mythtv/mythwidgets.h:44: error: no matching function for call 
to ‘QComboBox::QComboBox(bool&, QWidget*&, const char*&)’
/usr/include/QtGui/qcombobox.h:281: note: candidates are: 
QComboBox::QComboBox(const QComboBox&)
/usr/include/QtGui/qcombobox.h:277: note:                 
QComboBox::QComboBox(QComboBoxPrivate&, QWidget*)
/usr/include/QtGui/qcombobox.h:70: note:                 
QComboBox::QComboBox(QWidget*)
/usr/include/mythtv/mythwidgets.h: In member function ‘void 
MythComboBox::insertItem(const QString&)’:
/usr/include/mythtv/mythwidgets.h:57: error: no matching function for call 
to ‘MythComboBox::insertItem(const QString&)’
/usr/include/QtGui/qcombobox.h:303: note: candidates are: void 
QComboBox::insertItem(int, const QString&, const QVariant&)
/usr/include/QtGui/qcombobox.h:180: note:                 void 
QComboBox::insertItem(int, const QIcon&, const QString&, const QVariant&)
/usr/include/mythtv/mythwidgets.h: In 
constructor ‘MythSpinBox::MythSpinBox(QWidget*, const char*, bool)’:
/usr/include/mythtv/mythwidgets.h:78: error: no matching function for call 
to ‘QSpinBox::QSpinBox(QWidget*&, const char*&)’
/usr/include/QtGui/qspinbox.h:101: note: candidates are: 
QSpinBox::QSpinBox(const QSpinBox&)
/usr/include/QtGui/qspinbox.h:49: note:                 
QSpinBox::QSpinBox(QWidget*)
/usr/include/mythtv/mythwidgets.h:78: error: ‘setLineStep’ was not declared in 
this scope
/usr/include/mythtv/mythwidgets.h: In 
constructor ‘MythSlider::MythSlider(QWidget*, const char*)’:
/usr/include/mythtv/mythwidgets.h:103: error: no matching function for call 
to ‘QSlider::QSlider(QWidget*&, const char*&)’
/usr/include/QtGui/qslider.h:103: note: candidates are: QSlider::QSlider(const 
QSlider&)
/usr/include/QtGui/qslider.h:65: note:                 
QSlider::QSlider(Qt::Orientation, QWidget*)
/usr/include/QtGui/qslider.h:64: note:                 
QSlider::QSlider(QWidget*)
/usr/include/mythtv/mythwidgets.h: In 
constructor ‘MythLineEdit::MythLineEdit(QWidget*, const char*)’:
/usr/include/mythtv/mythwidgets.h:125: error: no matching function for call 
to ‘QLineEdit::QLineEdit(QWidget*&, const char*&)’
/usr/include/QtGui/qlineedit.h:235: note: candidates are: 
QLineEdit::QLineEdit(const QLineEdit&)
/usr/include/QtGui/qlineedit.h:65: note:                 
QLineEdit::QLineEdit(const QString&, QWidget*)
/usr/include/QtGui/qlineedit.h:64: note:                 
QLineEdit::QLineEdit(QWidget*)
/usr/include/mythtv/mythwidgets.h: In 
constructor ‘MythLineEdit::MythLineEdit(const QString&, QWidget*, const 
char*)’:
/usr/include/mythtv/mythwidgets.h:130: error: no matching function for call 
to ‘QLineEdit::QLineEdit(const QString&, QWidget*&, const char*&)’
/usr/include/QtGui/qlineedit.h:235: note: candidates are: 
QLineEdit::QLineEdit(const QLineEdit&)
/usr/include/QtGui/qlineedit.h:65: note:                 
QLineEdit::QLineEdit(const QString&, QWidget*)
/usr/include/QtGui/qlineedit.h:64: note:                 
QLineEdit::QLineEdit(QWidget*)
/usr/include/mythtv/mythwidgets.h: At global scope:
/usr/include/mythtv/mythwidgets.h:247: error: expected class-name before ‘{’ 
token
/usr/include/mythtv/mythwidgets.h: In 
constructor ‘MythTable::MythTable(QWidget*)’:
/usr/include/mythtv/mythwidgets.h:249: error: class ‘MythTable’ does not have 
any field named ‘QTable’
/usr/include/mythtv/mythwidgets.h: In 
constructor ‘MythPushButton::MythPushButton(QWidget*, const char*, bool)’:
/usr/include/mythtv/mythwidgets.h:267: error: no matching function for call 
to ‘QPushButton::QPushButton(QWidget*&, const char*&)’
/usr/include/QtGui/qpushbutton.h:89: note: candidates are: 
QPushButton::QPushButton(const QPushButton&)
/usr/include/QtGui/qpushbutton.h:47: note:                 
QPushButton::QPushButton(const QIcon&, const QString&, QWidget*)
/usr/include/QtGui/qpushbutton.h:46: note:                 
QPushButton::QPushButton(const QString&, QWidget*)
/usr/include/QtGui/qpushbutton.h:45: note:                 
QPushButton::QPushButton(QWidget*)
/usr/include/mythtv/mythwidgets.h:268: error: ‘WindowOrigin’ was not declared 
in this scope
/usr/include/mythtv/mythwidgets.h:268: error: ‘setBackgroundOrigin’ was not 
declared in this scope
/usr/include/mythtv/mythwidgets.h: In 
constructor ‘MythPushButton::MythPushButton(const QString&, QWidget*, bool)’:
/usr/include/mythtv/mythwidgets.h:272: error: ‘WindowOrigin’ was not declared 
in this scope
/usr/include/mythtv/mythwidgets.h:272: error: ‘setBackgroundOrigin’ was not 
declared in this scope
/usr/include/mythtv/mythwidgets.h: In 
constructor ‘MythCheckBox::MythCheckBox(QWidget*, const char*)’:
/usr/include/mythtv/mythwidgets.h:299: error: no matching function for call 
to ‘QCheckBox::QCheckBox(QWidget*&, const char*&)’
/usr/include/QtGui/qcheckbox.h:84: note: candidates are: 
QCheckBox::QCheckBox(const QCheckBox&)
/usr/include/QtGui/qcheckbox.h:43: note:                 
QCheckBox::QCheckBox(const QString&, QWidget*)
/usr/include/QtGui/qcheckbox.h:42: note:                 
QCheckBox::QCheckBox(QWidget*)
/usr/include/mythtv/mythwidgets.h: In 
constructor ‘MythRadioButton::MythRadioButton(QWidget*, const char*)’:
/usr/include/mythtv/mythwidgets.h:319: error: no matching function for call 
to ‘QRadioButton::QRadioButton(QWidget*&, const char*&)’
/usr/include/QtGui/qradiobutton.h:59: note: candidates are: 
QRadioButton::QRadioButton(const QRadioButton&)
/usr/include/QtGui/qradiobutton.h:41: note:                 
QRadioButton::QRadioButton(const QString&, QWidget*)
/usr/include/QtGui/qradiobutton.h:40: note:                 
QRadioButton::QRadioButton(QWidget*)
/usr/include/mythtv/mythwidgets.h: At global scope:
/usr/include/mythtv/mythwidgets.h:340: error: expected ‘,’ or ‘...’ before ‘*’ 
token
/usr/include/mythtv/mythwidgets.h:347: error: expected class-name before ‘{’ 
token
/usr/include/mythtv/mythwidgets.h: In member function ‘void 
MythListBox::setCurrentItem(int)’:
/usr/include/mythtv/mythwidgets.h:364: error: ‘QListBox’ has not been declared
/usr/include/mythtv/generictree.h: At global scope:
/usr/include/mythtv/generictree.h:15: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/generictree.h:30: error: expected ‘;’ before ‘(’ token
/usr/include/mythtv/generictree.h:31: error: expected ‘;’ before ‘(’ token
/usr/include/mythtv/generictree.h:32: error: ‘QValueList’ has not been 
declared
/usr/include/mythtv/generictree.h:32: error: expected ‘,’ or ‘...’ before ‘<’ 
token
/usr/include/mythtv/generictree.h:37: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/generictree.h:44: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/generictree.h:69: error: expected ‘;’ before ‘*’ token
/usr/include/mythtv/generictree.h:71: error: expected `;' before ‘void’
/usr/include/mythtv/generictree.h:79: error: ‘QPtrList’ has not been declared
/usr/include/mythtv/generictree.h:79: error: expected ‘,’ or ‘...’ before ‘<’ 
token
/usr/include/mythtv/generictree.h:104: error: expected ‘;’ before ‘*’ token
/usr/include/mythtv/uitypes.h: In member function ‘void 
UIBarType::ResetImage(int)’:
/usr/include/mythtv/uitypes.h:178: error: ‘class QPixmap’ has no member 
named ‘resize’
/usr/include/mythtv/uitypes.h: At global scope:
/usr/include/mythtv/uitypes.h:221: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/uitypes.h:306: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/uitypes.h: In 
constructor ‘UIGuideType::UIGTCon::UIGTCon(const QRect&, const QString&, 
const QString&, int, int, int)’:
/usr/include/mythtv/uitypes.h:274: error: ‘const class QString’ has no member 
named ‘stripWhiteSpace’
/usr/include/mythtv/uitypes.h: At global scope:
/usr/include/mythtv/uitypes.h:872: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/uitypes.h:887: error: ‘QValueList’ has not been declared
/usr/include/mythtv/uitypes.h:887: error: expected ‘,’ or ‘...’ before ‘<’ 
token
/usr/include/mythtv/uitypes.h:888: error: ‘QValueList’ has not been declared
/usr/include/mythtv/uitypes.h:888: error: expected ‘,’ or ‘...’ before ‘<’ 
token
/usr/include/mythtv/uitypes.h:889: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/uitypes.h:891: error: ‘QValueList’ has not been declared
/usr/include/mythtv/uitypes.h:891: error: expected ‘,’ or ‘...’ before ‘<’ 
token
/usr/include/mythtv/uitypes.h:943: error: ‘IntVector’ has not been declared
/usr/include/mythtv/uitypes.h:944: error: ‘IntVector’ has not been declared
/usr/include/mythtv/uitypes.h:973: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/uitypes.h:975: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/uitypes.h:1166: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/uitypes.h: In member function ‘void 
UISelectorType::cleanOut()’:
/usr/include/mythtv/uitypes.h:1154: error: ‘my_data’ was not declared in this 
scope
/usr/include/mythtv/uitypes.h: At global scope:
/usr/include/mythtv/uitypes.h:1291: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/uitypes.h:1299: error: ‘KeyList’ does not name a type
/usr/include/mythtv/uitypes.h:1348: error: ‘KeyList’ does not name a type
/usr/include/mythtv/mythevent.h:16: error: expected class-name before ‘{’ 
token
/usr/include/mythtv/mythevent.h:18: error: ‘User’ was not declared in this 
scope
/usr/include/mythtv/mythevent.h: In constructor ‘MythEvent::MythEvent(int)’:
/usr/include/mythtv/mythevent.h:20: error: class ‘MythEvent’ does not have any 
field named ‘QCustomEvent’
/usr/include/mythtv/mythevent.h: In 
constructor ‘MythEvent::MythEvent(QString)’:
/usr/include/mythtv/mythevent.h:23: error: class ‘MythEvent’ does not have any 
field named ‘QCustomEvent’
/usr/include/mythtv/mythevent.h:25: error: ‘QDeepCopy’ was not declared in 
this scope
/usr/include/mythtv/mythevent.h:25: error: expected primary-expression 
before ‘>’ token
/usr/include/mythtv/mythevent.h:26: error: no match for ‘operator=’ 
in ‘((MythEvent*)this)->MythEvent::extradata = "empty"’
/usr/include/QtCore/qstringlist.h:47: note: candidates are: QStringList& 
QStringList::operator=(const QStringList&)
/usr/include/mythtv/mythevent.h: In constructor ‘MythEvent::MythEvent(QString, 
const QStringList&)’:
/usr/include/mythtv/mythevent.h:30: error: class ‘MythEvent’ does not have any 
field named ‘QCustomEvent’
/usr/include/mythtv/mythevent.h:32: error: ‘QDeepCopy’ was not declared in 
this scope
/usr/include/mythtv/mythevent.h:32: error: expected primary-expression 
before ‘>’ token
/usr/include/mythtv/mythobservable.h: At global scope:
/usr/include/mythtv/mythobservable.h:112: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/mythobservable.h:136: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/mythsocket.h:24: error: expected class-name before ‘{’ 
token
/usr/include/mythtv/mythsocket.h:46: error: expected ‘,’ or ‘...’ 
before ‘error’
/usr/include/mythtv/mythsocket.h:48: error: ‘Type’ has not been declared
/usr/include/mythtv/mythsocket.h:51: error: ‘Q_LONG’ does not name a type
/usr/include/mythtv/mythsocket.h:52: error: ‘Q_LONG’ does not name a type
/usr/include/mythtv/mythsocket.h:56: error: ‘Q_ULONG’ has not been declared
/usr/include/mythtv/mythsocket.h:58: error: ‘Q_UINT16’ has not been declared
/usr/include/mythtv/mythsocket.h:59: error: ‘Q_UINT16’ has not been declared
/usr/include/mythtv/mythsocket.h:71: error: field ‘m_addr’ has incomplete type
/usr/include/mythtv/mythsocket.h:72: error: ‘Q_UINT16’ does not name a type
/usr/include/mythtv/mythsocket.h:85: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/mythsocket.h:86: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/mythsocket.h:87: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/mythsocket.h:98: error: ‘QPtrList’ is not a template
/usr/include/mythtv/mythsocket.h:48: error: ‘QSocketDevice’ has not been 
declared
/usr/include/mythtv/mythsocket.h: In member function ‘QString 
MythSocket::errorToString()’:
/usr/include/mythtv/mythsocket.h:45: error: ‘error’ was not declared in this 
scope
/usr/include/mythtv/mythcontext.h: At global scope:
/usr/include/mythtv/mythcontext.h:303: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/mythcontext.h:439: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/xmlparse.h:24: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:25: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:26: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:30: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:31: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:32: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:33: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:35: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:36: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:37: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:38: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:39: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:40: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:41: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:42: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:43: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:44: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:45: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:46: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:47: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:48: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:49: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:50: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:51: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:52: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:53: error: ‘QDomElement’ has not been declared
/usr/include/mythtv/xmlparse.h:56: error: ‘QDomElement’ has not been declared
weatherSource.h: In member function ‘bool WeatherSource::isRunning()’:
weatherSource.h:56: error: ‘class QProcess’ has no member named ‘isRunning’
sourceManager.h: At global scope:
sourceManager.h:25: error: ‘QPtrList’ has not been declared
sourceManager.h:25: error: expected ‘,’ or ‘...’ before ‘<’ token
sourceManager.h:37: error: ISO C++ forbids declaration of ‘QPtrList’ with no 
type
sourceManager.h:37: error: expected ‘;’ before ‘<’ token
sourceManager.h:38: error: ISO C++ forbids declaration of ‘QPtrList’ with no 
type
sourceManager.h:38: error: expected ‘;’ before ‘<’ token
sourceManager.h:39: error: ISO C++ forbids declaration of ‘QIntDict’ with no 
type
sourceManager.h:39: error: expected ‘;’ before ‘<’ token
weather.h:77: error: ‘QDomElement’ has not been declared
weather.h:84: error: ‘QDomElement’ has not been declared
weather.h:86: error: ‘QDomElement’ does not name a type
weather.h:126: error: ISO C++ forbids declaration of ‘QPtrList’ with no type
weather.h:126: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/mythwizard.h:47: error: invalid function declaration
/usr/include/mythtv/mythwizard.h:119: error: invalid function declaration
/usr/include/mythtv/uilistbtntype.h:140: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/uilistbtntype.h:195: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/uilistbtntype.h:276: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/uilistbtntype.h:277: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/uilistbtntype.h:283: error: expected ‘;’ before ‘<’ token
weatherSetup.h:28: error: ISO C++ forbids declaration of ‘QDict’ with no type
weatherSetup.h:28: error: expected ‘;’ before ‘<’ token
weatherSetup.h: In member function ‘virtual bool 
WeatherSpinBox::eventFilter(QObject*, QEvent*)’:
weatherSetup.h:61: warning: comparison between signed and unsigned integer 
expressions
weatherSetup.h: At global scope:
weatherSetup.h:182: error: ISO C++ forbids declaration of ‘QDict’ with no type
weatherSetup.h:182: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/lcddevice.h:164: error: ‘QPtrList’ has not been declared
/usr/include/mythtv/lcddevice.h:164: error: expected ‘,’ or ‘...’ before ‘<’ 
token
/usr/include/mythtv/lcddevice.h:170: error: ‘QPtrList’ has not been declared
/usr/include/mythtv/lcddevice.h:170: error: expected ‘,’ or ‘...’ before ‘<’ 
token
/usr/include/mythtv/mythplugin.h:79: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/mythplugin.h:83: error: expected ‘;’ before ‘<’ token
/usr/include/mythtv/libmythui/mythscreentype.h:49: error: expected ‘;’ 
before ‘<’ token
main.cpp: In function ‘int mythplugin_config()’:
main.cpp:141: error: ‘class QString’ has no member named ‘ascii’
make[2]: *** [main.o] Error 1
make[2]: Leaving directory 
`/home/tom/Desktop/mythplugins/mythweather/mythweather'
make[1]: *** [sub-mythweather-make_default] Error 2
make[1]: Leaving directory `/home/tom/Desktop/mythplugins/mythweather'
make: *** [sub-mythweather-make_default] Error 2







Anyone have an idea how to fix this?

Thanks,

Tom Weichmann


More information about the mythtv-users mailing list