[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Trunk now depends on Qt 4.5 (Richard Moore)
From:       Shantanu Jha <jhahoneyk () gmail ! com>
Date:       2009-02-19 2:36:43
Message-ID: ec556b640902181824w3f3010e1u7b548f3492ba993c () mail ! gmail ! com
[Download RAW message or body]

In my case, the problem is solved by deleting the build directory,
updating the sources (including qt-copy), and then rebuilding, which
ensures that the new Qt is used.

On Thu, Feb 19, 2009 at 5:11 AM, Pau Garcia i Quiles
<pgquiles@elpauer.org> wrote:
> On Thu, Feb 19, 2009 at 12:14 AM, Eduardo Robles <edulix@gmail.com> wrote:
>> On Thu, Feb 19, 2009 at 12:02 AM, Matthew Woehlke
>> <mw_triad@users.sourceforge.net> wrote:
>>>
>>> Thiago Macieira wrote:
>>> > Shantanu Jha escreveu:
>>> >> /home/kde-devel/qt-copy/lib/libQtXml.so.4: undefined reference to
>>> >> `QString::replace(QLatin1String const&, QLatin1String const&,
>>> >> Qt::CaseSensitivity)'
>>> >
>>> > You have two Qt in your system: one is 4.4 and the other is 4.5.
>>> >
>>> > I recommend removing the older one to avoid this kind of problem.
>>>
>>> Maybe the OP has a worse situation, but that's nearly impossible to do
>>> on a Fedora system (you'd have to either avoid all qt4-using software or
>>> else build it yourself)... unless you build qt-copy as an rpm, anyway.
>>>
>>> (Incidentally, I've been thinking about doing just that, to fix version
>>> incompatibilities due to apps that explicitly use the system Qt trying
>>> to use Oxygen style also. Anyone have such a setup in place already?)
>>
>> I'm using kubuntu, and I get the same problem; I've got the QTDIR correctly
>> set.. so there's no current way that by setting some enviromental vars
>> correctly can I have qt 4.4 installed in my system and qt 4.5 installed for
>> my user? (I install it in ~/qt4).
>
> It's easy. Just add this to /etc/profile:
>
> if [ -d "$HOME/qt4/bin" ]; then
>  export PATH=$HOME/qt4/bin:$PATH
> fi
>
> if [ -d "$HOME/kde/bin" ]; then
>  export PATH=$HOME/kde/bin:$PATH
> fi
>
> And this to your ld.so.conf:
>
> /home/pgquiles/qt4/lib
> /home/pgquiles/kde/lib
>
> If you are using a Debian-based distribution, the preferred way would
> be to create a file named, for instance,
> /etc/ld.so.conf.d/kde4trunk.conf and put those two lines into the
> file.
>
> Exit, enter, and now you can have Qt4 and KDE4 trunk installed in your
> system and they will be run without your having to do anything
> special.
>
> I use kdesvn-build to build Qt4 and KDE trunk, btw.
>
> --
> Pau Garcia i Quiles
> http://www.elpauer.org
> (Due to my workload, I may need 10 days to answer)
>
>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
>



-- 
Shantanu Tushar
http://www.shantanutushar.com
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic