summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-07-24 13:38:22 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-12 19:01:45 +0200
commitae95f289975636ba6cacc147f6723615b6d36cfa (patch)
tree80fc241feb5beea74152c2001d91cc97eeca6983 /configure
parent684028a64075030b42ce5f3d78d5cb35b936d5b1 (diff)
bye-bye .qmake.cache
well, not really - qt_parts.prf will still create one, but it will be empty. apart from being cleaner, this now finally makes it possible to load an unconfigured qt source tree into qtcreator without random parts of the tree being missing from the project explorer. Change-Id: Ida7ee77ecb450af05bfa66106caf2067b02f1a7f Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure18
1 files changed, 0 insertions, 18 deletions
diff --git a/configure b/configure
index 9cbb6ff7fb..ba6248eba8 100755
--- a/configure
+++ b/configure
@@ -6669,24 +6669,6 @@ else
fi
#-------------------------------------------------------------------------------
-# save configuration into .qmake.cache
-#-------------------------------------------------------------------------------
-
-CACHEFILE="$outpath/.qmake.cache"
-[ -f "$CACHEFILE.tmp" ] && rm -f "$CACHEFILE.tmp"
-cat >>"$CACHEFILE.tmp" <<EOF
-QT_SOURCE_TREE = \$\$quote($relpath)
-QT_BUILD_TREE = \$\$quote($outpath)
-EOF
-
-# replace .qmake.cache if it differs from the newly created temp file
-if cmp -s "$CACHEFILE.tmp" "$CACHEFILE"; then
- rm -f "$CACHEFILE.tmp"
-else
- mv -f "$CACHEFILE.tmp" "$CACHEFILE"
-fi
-
-#-------------------------------------------------------------------------------
# give feedback on configuration
#-------------------------------------------------------------------------------
exec 3>&1 1>$outpath/config.summary # redirect output temporarily to config.summary