Bug 169132

Summary: define QTINC/QTLIB in qt.sh/qt.csh
Product: [Fedora] Fedora Reporter: Rex Dieter <rdieter>
Component: qtAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: tao
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-26 09:17:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 212722    

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!