Don't set config-[minimal|small|...] in qconfig.pri anymore
These values are artifacts from the past and not used anymore since Qt 3 times. Change-Id: Ide2a7b3bd000ec0bc280a5467549c1a974c019e0 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
This commit is contained in:
parent
53412df398
commit
24ac2f35c1
30
configure
vendored
30
configure
vendored
@ -3041,28 +3041,18 @@ fi
|
||||
|
||||
# update QT_CONFIG to show our current predefined configuration
|
||||
CFG_QCONFIG_PATH=$relpath/src/corelib/global/qconfig-${CFG_QCONFIG}.h
|
||||
case "$CFG_QCONFIG" in
|
||||
minimal|small|medium|large|full)
|
||||
# these are a sequence of increasing functionality
|
||||
for c in minimal small medium large full; do
|
||||
QT_CONFIG="$QT_CONFIG $c-config"
|
||||
[ "$CFG_QCONFIG" = $c ] && break
|
||||
done
|
||||
[ "$CFG_QCONFIG" = full ] && CFG_QCONFIG_PATH=
|
||||
;;
|
||||
*)
|
||||
# not known to be sufficient for anything
|
||||
if [ "$CFG_QCONFIG" = full ]; then
|
||||
CFG_QCONFIG_PATH=
|
||||
elif [ ! -f "$CFG_QCONFIG_PATH" ]; then
|
||||
CFG_QCONFIG_PATH=`makeabs "${CFG_QCONFIG}"`
|
||||
if [ ! -f "$CFG_QCONFIG_PATH" ]; then
|
||||
CFG_QCONFIG_PATH=`makeabs "${CFG_QCONFIG}"`
|
||||
if [ ! -f "$CFG_QCONFIG_PATH" ]; then
|
||||
echo >&2 "Error: configuration file not found:"
|
||||
echo >&2 " $relpath/src/corelib/global/qconfig-${CFG_QCONFIG}.h"
|
||||
echo >&2 " or"
|
||||
echo >&2 " $CFG_QCONFIG_PATH"
|
||||
exit 1
|
||||
fi
|
||||
echo >&2 "Error: configuration file not found:"
|
||||
echo >&2 " $relpath/src/corelib/global/qconfig-${CFG_QCONFIG}.h"
|
||||
echo >&2 " or"
|
||||
echo >&2 " $CFG_QCONFIG_PATH"
|
||||
exit 1
|
||||
fi
|
||||
esac
|
||||
fi
|
||||
|
||||
if [ "$XPLATFORM_MAC" = "no" -a "$CFG_DEBUG_RELEASE" = "yes" ]; then
|
||||
echo
|
||||
|
Loading…
Reference in New Issue
Block a user