FS#7939 - QMAKESPEC not set in qt 3.3.8-5

Attached to Project: Arch Linux
Opened by Massimiliano Brocchini (proc) - Sunday, 02 September 2007, 17:43 GMT
Last edited by Jan de Groot (JGC) - Sunday, 02 September 2007, 19:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version 2007.08 Don't Panic
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

QMAKESPEC variable is not set so qmake is useless

Additional info:
package Qt 3.3.8-5

Steps to reproduce:

Trying to build a qt application with qmake yields the following error:

QMAKESPEC has not been set, so configuration cannot be deduced.

Due to this bug applications can't be built against qt (without modifying build scripts)
This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 02 September 2007, 19:23 GMT
Reason for closing:  Not a bug
Comment by Jan de Groot (JGC) - Sunday, 02 September 2007, 19:23 GMT
[jan@laptop ~]$ pacman -Q qt
qt 3.3.8-5

[jan@laptop ~]$ cat /etc/profile.d/qt.sh
export QTDIR=/opt/qt
export QT_XFT=true
export QMAKESPEC=$QTDIR/mkspecs/linux-g++
export PATH=$PATH:$QTDIR/bin
export MANPATH=$MANPATH:$QTDIR/man
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/qt/lib/pkgconfig

QMAKESPEC is set, but you did not re-login after installing Qt. That's why almost every PKGBUILD that uses these special prefixes have a line that checks if the file has been sourced and sources it.

Loading...