[mythtv-users] Problem compiling, with QT3/QT4 need some advice

Bill Bill at explosivo.com
Thu Dec 15 14:48:02 EST 2005


I was trying to update today - I have not since the cvs version was
up.  I cannot update to SVN because of a squid proxy between here and
there.  So I downloaded 0.18.1 and compiled it on my backend.  No
problem.

So I move on to my frontend, and I get all kinds of problems and
compile errors that I think have to do with having QT3 and QT4 on my
system.

This is a gentoo system.  And I have both QT3 and QT4 installed.  That
is really the only difference between the back end and this one.

Now, my QTDIR=/usr/qt3
Path has /usr/qt/3/bin: in it.

However, when I  check on say qmake, I get 

bash-2.05b$ which qmake
/usr/bin/qmake
bash-2.05b$ qmake -v
QMake version: 2.00a
Using Qt version 4.0.1 in /usr/lib/qt4

The QT install for 4 must have put copies in the /usr/bin/dir

So I tried /usr/bin/qmake mythtv.pro
which did not help with the errors I get.

I checked that my /etc/ld.so.conf has the qt3 libs:
/usr/qt/3/lib

But what sets the include path so it can find qdom.h? I am pretty
confused.

When I compile, I get a lot of errors, the first being:

In file included from dialogbox.h:6,
                 from dialogbox.cpp:11:
mythdialogs.h:7:18: qdom.h: No such file or directory
mythdialogs.h:8:22: qptrlist.h: No such file or directory
mythdialogs.h:12:26: qvaluevector.h: No such file or directory
mythdialogs.h:13:25: qscrollview.h: No such file or directory
In file included from mythdialogs.h:18,
                 from dialogbox.h:6,
                 from dialogbox.cpp:11:
uitypes.h:12:26: qvaluevector.h: No such file or directory
uitypes.h:16:22: qptrlist.h: No such file or directory
In file included from uitypes.h:18,
                 from mythdialogs.h:18,
                 from dialogbox.h:6,
                 from dialogbox.cpp:11:

(it continues on for a number of pages)

I am not sure if I should get rid of QT4 and QT3 and start over or what
at this point.  Any help would be welcome !




-- 

Bill Chmura
Director of Internet Technology
Explosivo ITG
Wolcott, CT

p: 860.621.8693
e: bill at Explosivo.com
w. http://www.explosivo.com


More information about the mythtv-users mailing list