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

Marius Schrecker marius at schrecker.org
Fri Dec 16 15:50:35 EST 2005


Bottom postyed reply:
> Well, its definately a 3 and 4 issue... All of the compile lines show
> -I/usr/share/doc/qt-4.0.1/mkspecs/linux-g++ -I.
> -I/usr/include/qt4/QtGui
> -I/usr/include/qt4/QtCore
> -I/usr/include/qt4
>
> On them...
>
> I found a post saying:
>
> You _cannot_ compile myth with Qt4.
> Isaac
>
> Which leads me to think I should use QT3...
>
>
>
>
> On Thu, 15 Dec 2005 14:48:02 -0500
> Bill <Bill at explosivo.com> spake:
>
>>
>> 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 !
>>
>>
>>
>>
Sorry to post such a mundanely obvious reply, but I assume you have
installed the QT4 > 3 compatibility libraries (can't remember the exact
name as I'm on Wintendo at the moment).

Marius


More information about the mythtv-users mailing list