[mythtv-users] Compilation failing

Chris Spencer spencercw at googlemail.com
Sat Mar 31 18:16:49 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am trying to compile 0.20 and make fails with this:

lcddevice.cpp: In member function 'void LCD::setupLEDs(int (*)())':
lcddevice.cpp:466: error: no matching function for call to
'QTimer::start(int, bool)'
/usr/include/qt4/QtCore/qtimer.h:60: note: candidates are: void
QTimer::start(int)
/usr/include/qt4/QtCore/qtimer.h:62: note:                 void
QTimer::start()
lcddevice.cpp: At global scope:
lcddevice.cpp:520: error: variable or field 'switchToMenu' declared void
lcddevice.cpp:520: error: 'int LCD::switchToMenu' is not a static member
of 'class LCD'
lcddevice.cpp:520: error: 'QPtrList' was not declared in this scope
lcddevice.cpp:520: error: expected primary-expression before '>' token
lcddevice.cpp:520: error: 'menuItems' was not declared in this scope
lcddevice.cpp:520: error: expected primary-expression before 'app_name'
lcddevice.cpp:521: error: expected primary-expression before 'bool'
lcddevice.cpp:521: error: initializer expression list treated as
compound expression
lcddevice.cpp:522: error: expected ',' or ';' before '{' token
lcddevice.cpp:564: error: variable or field 'switchToGeneric' declared void
lcddevice.cpp:564: error: 'int LCD::switchToGeneric' is not a static
member of 'class LCD'
lcddevice.cpp:564: error: 'QPtrList' was not declared in this scope
lcddevice.cpp:564: error: expected primary-expression before '>' token
lcddevice.cpp:564: error: 'textItems' was not declared in this scope
lcddevice.cpp:565: error: expected ',' or ';' before '{' token
make[2]: *** [dialogbox.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [lcddevice.o] Error 1
make[2]: Leaving directory `/root/Software/mythtv-0.20/libs/libmyth'
make[1]: *** [sub-libmyth-make_default-ordered] Error 2
make[1]: Leaving directory `/root/Software/mythtv-0.20/libs'
make: *** [sub-libs-make_default-ordered] Error 2

As you can see it seems to be using Qt 4, which I'm guessing is
unintentional as it says it is unsupported. I do have Qt 3 installed.
What do I need to do to fix it? Get rid of Qt 4? That wouldn't really be
a problem because it is a dedicated Myth box.

mythtv ~ # uname -a
Linux mythtv 2.6.18-gentoo-r6 #24 Sun Mar 11 15:08:20 GMT 2007 i686
Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux

Cheers.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGDqWRL9xvevzwdSkRAm6wAJ9Zj9/AlC+8yn8IUrhS5MsFUYQFwACfUmZi
Xo7CSHE5IO+QT3bJREg0Hf4=
=7sVd
-----END PGP SIGNATURE-----


More information about the mythtv-users mailing list