Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201239 - QMAKESPEC environment variable should not be set for QT4.x
Summary: QMAKESPEC environment variable should not be set for QT4.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-04 15:33 UTC by Tom Cooksey
Modified: 2007-12-10 13:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Cooksey 2007-12-04 15:33:45 UTC
QMAKESPEC is currently being set in /etc/env.d/44qt4

QMAKESPEC is not needed for QT4 and when set, can cause issues when building Qtopia Core (i.e. outside of portage).

Reproducible: Always

Steps to Reproduce:
1. Emerge qt4
2. echo $QMAKESPEC
3.

Actual Results:  
linux-g++

Expected Results:  
$QMAKESPEC should not be set (if using a purely qt4 system, i.e. qt3 is not installed)
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2007-12-04 16:13:35 UTC
Why should it not be set for qt4?  A quick check of the source shows that qmake's project.cpp utilizes it.
Comment 2 Tom Cooksey 2007-12-06 09:48:23 UTC
When configure is run, it will create a symlink called default to the correct mkspec. That is used by default if QMAKESPEC isn't set.

If QMAKESPEC is set, it overides the default. This is fine unless someone wants to compile QT themselves (E.g. to compile Qtopia Core).
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2007-12-06 11:20:54 UTC
gotcha.  I'll take a look at removing this in the 4.3.3 ebuild due out real soon.
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2007-12-10 13:51:36 UTC
ok, I removed this from 4.3.3.  Thanks for the update.