Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 169132 - define QTINC/QTLIB in qt.sh/qt.csh
Summary: define QTINC/QTLIB in qt.sh/qt.csh
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: qt
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks: 212722
TreeView+ depends on / blocked
 
Reported: 2005-09-23 14:30 UTC by Rex Dieter
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-09-26 09:17:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rex Dieter 2005-09-23 14:30:58 UTC
A large class of kde applications have issues building properly on x86_64
because they have trouble finding qt (usually lib != lib64 assumptions, etc). 
The workaround is usually to either define env vars QTINC/QTLIB (or use
./configure --with-qt-includes/--with-qt-libraries) pointing to the right place.

A lot of duplicated/extra effort could be avoided if QTINC and QTLIB were
already (correctly) defined in /etc/profile.d/qt.(sh|csh), adding lines like

qt.sh:
# Qt initialization script (sh)
if [ -z "$QTDIR" ] ; then
  QTDIR=...
  QTINC="${QTDIR}/include"
  QTLIB="${QTDIR}/lib"
fi

qt.csh:
# Qt initialization script (csh)
if ( ! $?QTDIR ) then
  setenv QTDIR ...
  setenv QTINC "${QTDIR}/include"
  setenv QTLIB "${QTDIR}/lib"
endif

Comment 1 Than Ngo 2005-09-26 09:17:48 UTC
yes, it makes sense to add this in the qt.sh/qt.tcsh. It have already added
this into qt-3_3_5-3. This change will also be included in qt for FC3/FC4. Many
thanks for your report.

Comment 2 Rex Dieter 2006-04-05 12:30:23 UTC
Can we get a FC-4 (update) release including this soon please?

Comment 3 Than Ngo 2006-04-20 09:03:40 UTC
i will release qt-3.3.4-15.5 including this change for fc4-update today.
sorry for delay!



Note You need to log in before you can comment on or make changes to this bug.