[SM-Discuss] Qt 4.1.1 Update

Eric Sandall eric at sandall.us
Mon Mar 6 15:42:37 EST 2006


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

On Mon, 6 Mar 2006, Mads Laursen wrote:
> On 03/03/06 20.26, George Sherwood wrote:
> [snip]
>> I saw some forum messages where people where calling a script prior to
>> building a qt4 program and changing the names of all the binaries
>> depending on what version they wanted to use to build. This didn't seem
>> like such a great idea to me since you would be all changing names in
>> the /usr/bin directory directly from a spell.
>
> I think the best solution I've seen is to put the binaries somewhere
> out of the way (/opt/qt4 or whereever) and the make stuff like
> /usr/bin/qmake scripts that looks at say a file in /etc/sysconfig with
> an environment variable to override that (perhaps even a per-user
> dot-file in between), and then does 'exec $QT_PATH/qmake "$@"' -- along
> with whatever other shenanigans is needed to make the whole thing
> transparent.

That could work as well, though I'd like to avoid it if at all
possible (a.k.a. TrollTech fixes it ;)).

- -sandalle

- --
Eric Sandall                     |  Source Mage GNU/Linux Developer
eric at sandall.us                  |  http://www.sourcemage.org/
http://eric.sandall.us/          |  SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/  #196285  |  http://www.shock.wsu.edu/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)

iD8DBQFEDJ7AHXt9dKjv3WERAkzRAJwM12U7xPPIWhMd+c+719wI16sZ2ACePJ+V
+uCTOYxLLijTBURWKofspz4=
=/BgB
-----END PGP SIGNATURE-----



More information about the SM-Discuss mailing list