public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Wonko@wonkology.org (Alex Schuster)
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] qt3/4 confusion
Date: 22 Jun 2006 16:47:00 +0200	[thread overview]
Message-ID: <9wKCLI09d8B@wonkology.org> (raw)
In-Reply-To: 449A9ABF.6020709@gmail.com

Karstn writes:

> I am trying to compile a program written in qt3 which apprently,
> according to the author, fails because it being compiled using version 4
> qmake. I checked and indeed qmake is from version 4, yet in my
> environment, the QTDIR variable is pointing to /usr/qt/3. Now that both
> confuses me and leaves me with the question on how to change the profile
> completely to qt3 for this compiliation. Has anyone a hint for me?

I am using a little shell function to change between various Qt  
versions (put it into ~/.bashrc if you like). I'm quite sure the  
library line is not necessary, but it doesn't hurt either and I kept  
it.

switchqt()
{
        export QTDIR=$1
        export PATH=$QTDIR/bin:$PATH                                    
        export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
}

"switchqt /usr/qt/3" activates Qt 3 for this shell.

        Alex
-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-06-22 14:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-22 13:27 [gentoo-user] qt3/4 confusion krgn
2006-06-22 14:47 ` Alex Schuster [this message]
2006-06-22 16:36   ` krgn
2006-06-22 17:25 ` Hemmann, Volker Armin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9wKCLI09d8B@wonkology.org \
    --to=wonko@wonkology.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox