configure: delete some dead code and outdated comments
Change-Id: I764a9b383176e1fe9573790547ce0e12d1f88261 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
798b09ffe6
commit
4ce0beee1b
41
configure
vendored
41
configure
vendored
@ -399,7 +399,6 @@ HostVar()
|
|||||||
UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
|
UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
|
||||||
UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
|
UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
|
||||||
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
|
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
|
||||||
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
|
||||||
|
|
||||||
# detect the "echo without newline" style. usage: echo $ECHO_N "<string>$ECHO_C"
|
# detect the "echo without newline" style. usage: echo $ECHO_N "<string>$ECHO_C"
|
||||||
if echo '\c' | grep '\c' >/dev/null; then
|
if echo '\c' | grep '\c' >/dev/null; then
|
||||||
@ -512,8 +511,6 @@ QT_HOST_LIBS=
|
|||||||
QT_HOST_DATA=
|
QT_HOST_DATA=
|
||||||
QT_EXT_PREFIX=
|
QT_EXT_PREFIX=
|
||||||
|
|
||||||
# default qpa platform
|
|
||||||
|
|
||||||
# Android vars
|
# Android vars
|
||||||
CFG_DEFAULT_ANDROID_NDK_ROOT=$ANDROID_NDK_ROOT
|
CFG_DEFAULT_ANDROID_NDK_ROOT=$ANDROID_NDK_ROOT
|
||||||
CFG_DEFAULT_ANDROID_SDK_ROOT=$ANDROID_SDK_ROOT
|
CFG_DEFAULT_ANDROID_SDK_ROOT=$ANDROID_SDK_ROOT
|
||||||
@ -529,7 +526,6 @@ CFG_DEFAULT_ANDROID_NDK_HOST=$ANDROID_NDK_HOST
|
|||||||
# parse the arguments, setting things to "yes" or "no"
|
# parse the arguments, setting things to "yes" or "no"
|
||||||
while [ "$#" -gt 0 ]; do
|
while [ "$#" -gt 0 ]; do
|
||||||
CURRENT_OPT="$1"
|
CURRENT_OPT="$1"
|
||||||
UNKNOWN_ARG=no
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
#Autoconf style options
|
#Autoconf style options
|
||||||
--enable-*)
|
--enable-*)
|
||||||
@ -658,10 +654,6 @@ while [ "$#" -gt 0 ]; do
|
|||||||
extprefix)
|
extprefix)
|
||||||
QT_EXT_PREFIX="$VAL"
|
QT_EXT_PREFIX="$VAL"
|
||||||
;;
|
;;
|
||||||
pkg-config)
|
|
||||||
;;
|
|
||||||
force-pkg-config)
|
|
||||||
;;
|
|
||||||
docdir)
|
docdir)
|
||||||
QT_INSTALL_DOCS="$VAL"
|
QT_INSTALL_DOCS="$VAL"
|
||||||
;;
|
;;
|
||||||
@ -1314,8 +1306,6 @@ if [ "$OPT_SHADOW" = "yes" ]; then
|
|||||||
[ "$OPT_VERBOSE" = "yes" ] && echo "Performing shadow build..."
|
[ "$OPT_VERBOSE" = "yes" ] && echo "Performing shadow build..."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# if the source tree is different from the build tree,
|
|
||||||
# symlink or copy part of the sources
|
|
||||||
if [ "$OPT_SHADOW" = "yes" ]; then
|
if [ "$OPT_SHADOW" = "yes" ]; then
|
||||||
echo "Preparing build tree..."
|
echo "Preparing build tree..."
|
||||||
|
|
||||||
@ -1628,35 +1618,21 @@ setBootstrapVariable()
|
|||||||
}
|
}
|
||||||
|
|
||||||
# build qmake
|
# build qmake
|
||||||
if true; then ###[ '!' -f "$outpath/bin/qmake" ];
|
|
||||||
echo "Creating qmake..."
|
echo "Creating qmake..."
|
||||||
|
|
||||||
mkdir -p "$outpath/qmake" || exit
|
mkdir -p "$outpath/qmake" || exit
|
||||||
# fix makefiles
|
|
||||||
for mkfile in GNUmakefile Makefile; do
|
in_mkfile=$relpath/qmake/Makefile.unix
|
||||||
EXTRA_LFLAGS=
|
mkfile=$outpath/qmake/Makefile
|
||||||
EXTRA_CFLAGS=
|
|
||||||
in_mkfile="${mkfile}.in"
|
|
||||||
if [ "$mkfile" = "Makefile" ]; then
|
|
||||||
# if which qmake >/dev/null 2>&1 && [ -f qmake/qmake.pro ]; then
|
|
||||||
# (cd qmake && qmake) >/dev/null 2>&1 && continue
|
|
||||||
# fi
|
|
||||||
in_mkfile="${mkfile}.unix"
|
|
||||||
fi
|
|
||||||
in_mkfile="$relpath/qmake/$in_mkfile"
|
|
||||||
mkfile="$outpath/qmake/$mkfile"
|
|
||||||
if [ -f "$mkfile" ]; then
|
if [ -f "$mkfile" ]; then
|
||||||
[ "$CFG_DEV" = "yes" ] && "$WHICH" chflags >/dev/null 2>&1 && chflags nouchg "$mkfile"
|
[ "$CFG_DEV" = "yes" ] && "$WHICH" chflags >/dev/null 2>&1 && chflags nouchg "$mkfile"
|
||||||
rm -f "$mkfile"
|
rm -f "$mkfile"
|
||||||
fi
|
fi
|
||||||
[ -f "$in_mkfile" ] || continue
|
|
||||||
|
|
||||||
echo "########################################################################" > "$mkfile"
|
echo "########################################################################" > "$mkfile"
|
||||||
echo "## This file was autogenerated by configure, all changes will be lost ##" >> "$mkfile"
|
echo "## This file was autogenerated by configure, all changes will be lost ##" >> "$mkfile"
|
||||||
echo "########################################################################" >> "$mkfile"
|
echo "########################################################################" >> "$mkfile"
|
||||||
EXTRA_OBJS=
|
EXTRA_OBJS=
|
||||||
EXTRA_SRCS=
|
EXTRA_SRCS=
|
||||||
EXTRA_CFLAGS="\$(QMAKE_CFLAGS) \$(QMAKE_CFLAGS_SPLIT_SECTIONS)"
|
|
||||||
EXTRA_CXXFLAGS="\$(QMAKE_CXXFLAGS) \$(QMAKE_CXXFLAGS_CXX11) \$(QMAKE_CXXFLAGS_SPLIT_SECTIONS)"
|
EXTRA_CXXFLAGS="\$(QMAKE_CXXFLAGS) \$(QMAKE_CXXFLAGS_CXX11) \$(QMAKE_CXXFLAGS_SPLIT_SECTIONS)"
|
||||||
EXTRA_LFLAGS="\$(QMAKE_LFLAGS) \$(QMAKE_LFLAGS_GCSECTIONS)"
|
EXTRA_LFLAGS="\$(QMAKE_LFLAGS) \$(QMAKE_LFLAGS_GCSECTIONS)"
|
||||||
|
|
||||||
@ -1667,8 +1643,6 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
|
|||||||
[ "$CFG_SILENT" = "yes" ] && CC_TRANSFORM='s,^,\@,' || CC_TRANSFORM=
|
[ "$CFG_SILENT" = "yes" ] && CC_TRANSFORM='s,^,\@,' || CC_TRANSFORM=
|
||||||
setBootstrapVariable QMAKE_CC CC "$CC_TRANSFORM"
|
setBootstrapVariable QMAKE_CC CC "$CC_TRANSFORM"
|
||||||
setBootstrapVariable QMAKE_CXX CXX "$CC_TRANSFORM"
|
setBootstrapVariable QMAKE_CXX CXX "$CC_TRANSFORM"
|
||||||
setBootstrapVariable QMAKE_CFLAGS
|
|
||||||
setBootstrapVariable QMAKE_CFLAGS_SPLIT_SECTIONS
|
|
||||||
setBootstrapVariable QMAKE_CXXFLAGS
|
setBootstrapVariable QMAKE_CXXFLAGS
|
||||||
setBootstrapVariable QMAKE_CXXFLAGS_CXX11
|
setBootstrapVariable QMAKE_CXXFLAGS_CXX11
|
||||||
setBootstrapVariable QMAKE_CXXFLAGS_SPLIT_SECTIONS
|
setBootstrapVariable QMAKE_CXXFLAGS_SPLIT_SECTIONS
|
||||||
@ -1676,20 +1650,15 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
|
|||||||
setBootstrapVariable QMAKE_LFLAGS_GCSECTIONS
|
setBootstrapVariable QMAKE_LFLAGS_GCSECTIONS
|
||||||
|
|
||||||
if [ "$CFG_DEBUG" = "no" ] || [ "$CFG_RELEASE_TOOLS" = "yes" ]; then
|
if [ "$CFG_DEBUG" = "no" ] || [ "$CFG_RELEASE_TOOLS" = "yes" ]; then
|
||||||
setBootstrapVariable QMAKE_CFLAGS_RELEASE
|
|
||||||
setBootstrapVariable QMAKE_CXXFLAGS_RELEASE
|
setBootstrapVariable QMAKE_CXXFLAGS_RELEASE
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS \$(QMAKE_CFLAGS_RELEASE)"
|
|
||||||
EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS \$(QMAKE_CXXFLAGS_RELEASE)"
|
EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS \$(QMAKE_CXXFLAGS_RELEASE)"
|
||||||
else
|
else
|
||||||
setBootstrapVariable QMAKE_CFLAGS_DEBUG
|
|
||||||
setBootstrapVariable QMAKE_CXXFLAGS_DEBUG
|
setBootstrapVariable QMAKE_CXXFLAGS_DEBUG
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS \$(QMAKE_CFLAGS_DEBUG)"
|
|
||||||
EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS \$(QMAKE_CXXFLAGS_DEBUG)"
|
EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS \$(QMAKE_CXXFLAGS_DEBUG)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case `basename "$PLATFORM"` in
|
case `basename "$PLATFORM"` in
|
||||||
win32-g++*)
|
win32-g++*)
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS -DUNICODE"
|
|
||||||
EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -DUNICODE"
|
EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -DUNICODE"
|
||||||
EXTRA_OBJS="qfilesystemengine_win.o \
|
EXTRA_OBJS="qfilesystemengine_win.o \
|
||||||
qfilesystemiterator_win.o \
|
qfilesystemiterator_win.o \
|
||||||
@ -1726,7 +1695,6 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
|
|||||||
echo "CARBON_CFLAGS =-fconstant-cfstrings" >>"$mkfile"
|
echo "CARBON_CFLAGS =-fconstant-cfstrings" >>"$mkfile"
|
||||||
EXTRA_LFLAGS="$EXTRA_LFLAGS \$(COCOA_LFLAGS)"
|
EXTRA_LFLAGS="$EXTRA_LFLAGS \$(COCOA_LFLAGS)"
|
||||||
EXTRA_LFLAGS="$EXTRA_LFLAGS \$(CARBON_LFLAGS)"
|
EXTRA_LFLAGS="$EXTRA_LFLAGS \$(CARBON_LFLAGS)"
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS \$(CARBON_CFLAGS)"
|
|
||||||
EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS \$(CARBON_CFLAGS)"
|
EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS \$(CARBON_CFLAGS)"
|
||||||
EXTRA_OBJS="$EXTRA_OBJS \
|
EXTRA_OBJS="$EXTRA_OBJS \
|
||||||
qsettings_mac.o \
|
qsettings_mac.o \
|
||||||
@ -1757,7 +1725,6 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
|
|||||||
echo "QT_MAJOR_VERSION = $QT_MAJOR_VERSION" >> "$mkfile"
|
echo "QT_MAJOR_VERSION = $QT_MAJOR_VERSION" >> "$mkfile"
|
||||||
echo "QT_MINOR_VERSION = $QT_MINOR_VERSION" >> "$mkfile"
|
echo "QT_MINOR_VERSION = $QT_MINOR_VERSION" >> "$mkfile"
|
||||||
echo "QT_PATCH_VERSION = $QT_PATCH_VERSION" >> "$mkfile"
|
echo "QT_PATCH_VERSION = $QT_PATCH_VERSION" >> "$mkfile"
|
||||||
echo "EXTRA_CFLAGS = $EXTRA_CFLAGS" >> "$mkfile"
|
|
||||||
echo "EXTRA_CXXFLAGS = $EXTRA_CXXFLAGS" >> "$mkfile"
|
echo "EXTRA_CXXFLAGS = $EXTRA_CXXFLAGS" >> "$mkfile"
|
||||||
echo "QTOBJS =" $EXTRA_OBJS >> "$mkfile"
|
echo "QTOBJS =" $EXTRA_OBJS >> "$mkfile"
|
||||||
echo "QTSRCS =" $EXTRA_SRCS >> "$mkfile"
|
echo "QTSRCS =" $EXTRA_SRCS >> "$mkfile"
|
||||||
@ -1779,7 +1746,6 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
|
|||||||
rm "$mkfile.tmp"
|
rm "$mkfile.tmp"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
|
||||||
|
|
||||||
if [ "$OPT_VERBOSE" = yes ]; then
|
if [ "$OPT_VERBOSE" = yes ]; then
|
||||||
# Show the output of make
|
# Show the output of make
|
||||||
@ -1797,7 +1763,6 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
|
|||||||
fi
|
fi
|
||||||
echo "Done."
|
echo "Done."
|
||||||
fi
|
fi
|
||||||
fi # Build qmake
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# create a qt.conf for the Qt build tree itself
|
# create a qt.conf for the Qt build tree itself
|
||||||
|
@ -96,7 +96,7 @@ DEPEND_SRC = \
|
|||||||
|
|
||||||
CPPFLAGS = -g $(EXTRA_CPPFLAGS) \
|
CPPFLAGS = -g $(EXTRA_CPPFLAGS) \
|
||||||
-I$(QMKSRC) -I$(QMKLIBSRC) -I$(QMKSRC)/generators -I$(QMKSRC)/generators/unix -I$(QMKSRC)/generators/win32 \
|
-I$(QMKSRC) -I$(QMKLIBSRC) -I$(QMKSRC)/generators -I$(QMKSRC)/generators/unix -I$(QMKSRC)/generators/win32 \
|
||||||
-I$(QMKSRC)/generators/mac -I$(QMKSRC)/generators/integrity \
|
-I$(QMKSRC)/generators/mac \
|
||||||
-I$(INC_PATH) -I$(INC_PATH)/QtCore \
|
-I$(INC_PATH) -I$(INC_PATH)/QtCore \
|
||||||
-I$(INC_PATH)/QtCore/$(QT_VERSION) -I$(INC_PATH)/QtCore/$(QT_VERSION)/QtCore \
|
-I$(INC_PATH)/QtCore/$(QT_VERSION) -I$(INC_PATH)/QtCore/$(QT_VERSION)/QtCore \
|
||||||
-I$(BUILD_PATH)/src/corelib/global \
|
-I$(BUILD_PATH)/src/corelib/global \
|
||||||
|
@ -38,7 +38,7 @@ PCH_OBJECT = qmake_pch.obj
|
|||||||
CFLAGS_BARE = -c -Fo./ -Fdqmake.pdb \
|
CFLAGS_BARE = -c -Fo./ -Fdqmake.pdb \
|
||||||
-W3 -nologo -O1 \
|
-W3 -nologo -O1 \
|
||||||
$(CFLAGS_EXTRA) \
|
$(CFLAGS_EXTRA) \
|
||||||
-I$(QMKSRC) -I$(QMKSRC)\library -I$(QMKSRC)\generators -I$(QMKSRC)\generators\unix -I$(QMKSRC)\generators\win32 -I$(QMKSRC)\generators\mac -I$(QMKSRC)\generators\integrity \
|
-I$(QMKSRC) -I$(QMKSRC)\library -I$(QMKSRC)\generators -I$(QMKSRC)\generators\unix -I$(QMKSRC)\generators\win32 -I$(QMKSRC)\generators\mac \
|
||||||
-I$(INC_PATH) -I$(INC_PATH)\QtCore -I$(INC_PATH)\QtCore\$(QT_VERSION) -I$(INC_PATH)\QtCore\$(QT_VERSION)\QtCore \
|
-I$(INC_PATH) -I$(INC_PATH)\QtCore -I$(INC_PATH)\QtCore\$(QT_VERSION) -I$(INC_PATH)\QtCore\$(QT_VERSION)\QtCore \
|
||||||
-I$(BUILD_PATH)\src\corelib\global \
|
-I$(BUILD_PATH)\src\corelib\global \
|
||||||
-I$(SOURCE_PATH)\mkspecs\$(QMAKESPEC) \
|
-I$(SOURCE_PATH)\mkspecs\$(QMAKESPEC) \
|
||||||
@ -147,18 +147,9 @@ distclean:: clean
|
|||||||
-del $(BUILD_PATH)\bin\qmake.exe
|
-del $(BUILD_PATH)\bin\qmake.exe
|
||||||
-del Makefile
|
-del Makefile
|
||||||
|
|
||||||
.c.obj:
|
|
||||||
$(CXX) $(CFLAGS) $<
|
|
||||||
|
|
||||||
.cpp.obj:
|
.cpp.obj:
|
||||||
$(CXX) $(CXXFLAGS) $<
|
$(CXX) $(CXXFLAGS) $<
|
||||||
|
|
||||||
.cc.obj:
|
|
||||||
$(CXX) $(CXXFLAGS) $<
|
|
||||||
|
|
||||||
.cxx.obj:
|
|
||||||
$(CXX) $(CXXFLAGS) $<
|
|
||||||
|
|
||||||
$(OBJS): $(PCH_OBJECT)
|
$(OBJS): $(PCH_OBJECT)
|
||||||
|
|
||||||
$(QTOBJS): $(PCH_OBJECT)
|
$(QTOBJS): $(PCH_OBJECT)
|
||||||
@ -174,9 +165,6 @@ qmake_pch.obj:
|
|||||||
{$(SOURCE_PATH)\qmake\generators\mac}.cpp{}.obj::
|
{$(SOURCE_PATH)\qmake\generators\mac}.cpp{}.obj::
|
||||||
$(CXX) $(CXXFLAGS) $<
|
$(CXX) $(CXXFLAGS) $<
|
||||||
|
|
||||||
{$(SOURCE_PATH)\qmake\generators\integrity}.cpp{}.obj::
|
|
||||||
$(CXX) $(CXXFLAGS) $<
|
|
||||||
|
|
||||||
{$(SOURCE_PATH)\qmake\generators\unix}.cpp{}.obj::
|
{$(SOURCE_PATH)\qmake\generators\unix}.cpp{}.obj::
|
||||||
$(CXX) $(CXXFLAGS) $<
|
$(CXX) $(CXXFLAGS) $<
|
||||||
|
|
||||||
|
@ -27,7 +27,6 @@ INCLUDEPATH += . \
|
|||||||
generators/unix \
|
generators/unix \
|
||||||
generators/win32 \
|
generators/win32 \
|
||||||
generators/mac \
|
generators/mac \
|
||||||
generators/integrity \
|
|
||||||
../tools/shared
|
../tools/shared
|
||||||
|
|
||||||
include(qmake.pri)
|
include(qmake.pri)
|
||||||
|
@ -173,12 +173,6 @@ QString Configure::formatPath(const QString &path)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
// #### somehow I get a compiler error about vc++ reaching the nesting limit without
|
|
||||||
// undefining the ansi for scoping.
|
|
||||||
#ifdef for
|
|
||||||
#undef for
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void Configure::parseCmdLine()
|
void Configure::parseCmdLine()
|
||||||
{
|
{
|
||||||
sourcePathMangled = sourcePath;
|
sourcePathMangled = sourcePath;
|
||||||
@ -599,16 +593,6 @@ void Configure::generateQDevicePri()
|
|||||||
dictionary[ "DONE" ] = "error";
|
dictionary[ "DONE" ] = "error";
|
||||||
}
|
}
|
||||||
|
|
||||||
QString Configure::formatConfigPath(const char *var)
|
|
||||||
{
|
|
||||||
QString val = dictionary[var];
|
|
||||||
if (QFileInfo(val).isRelative()) {
|
|
||||||
QString pfx = dictionary["QT_INSTALL_PREFIX"];
|
|
||||||
val = (val == ".") ? pfx : QDir(pfx).absoluteFilePath(val);
|
|
||||||
}
|
|
||||||
return QDir::toNativeSeparators(val);
|
|
||||||
}
|
|
||||||
|
|
||||||
void Configure::generateHeaders()
|
void Configure::generateHeaders()
|
||||||
{
|
{
|
||||||
if (dictionary["SYNCQT"] == "auto")
|
if (dictionary["SYNCQT"] == "auto")
|
||||||
@ -882,7 +866,6 @@ void Configure::buildQmake()
|
|||||||
<< "QT_PATCH_VERSION = " << dictionary["VERSION_PATCH"] << endl;
|
<< "QT_PATCH_VERSION = " << dictionary["VERSION_PATCH"] << endl;
|
||||||
if (dictionary[ "QMAKESPEC" ].startsWith("win32-g++")) {
|
if (dictionary[ "QMAKESPEC" ].startsWith("win32-g++")) {
|
||||||
stream << "QMAKESPEC = $(SOURCE_PATH)\\mkspecs\\" << dictionary[ "QMAKESPEC" ] << endl
|
stream << "QMAKESPEC = $(SOURCE_PATH)\\mkspecs\\" << dictionary[ "QMAKESPEC" ] << endl
|
||||||
<< "EXTRA_CFLAGS = -DUNICODE -ffunction-sections" << endl
|
|
||||||
<< "EXTRA_CXXFLAGS = -std=c++11 -DUNICODE -ffunction-sections" << endl
|
<< "EXTRA_CXXFLAGS = -std=c++11 -DUNICODE -ffunction-sections" << endl
|
||||||
<< "EXTRA_LFLAGS = -Wl,--gc-sections" << endl
|
<< "EXTRA_LFLAGS = -Wl,--gc-sections" << endl
|
||||||
<< "QTOBJS = qfilesystemengine_win.o \\" << endl
|
<< "QTOBJS = qfilesystemengine_win.o \\" << endl
|
||||||
|
@ -88,8 +88,6 @@ private:
|
|||||||
void saveCmdLine();
|
void saveCmdLine();
|
||||||
|
|
||||||
void applySpecSpecifics();
|
void applySpecSpecifics();
|
||||||
|
|
||||||
QString formatConfigPath(const char *var);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class FileWriter : public QTextStream
|
class FileWriter : public QTextStream
|
||||||
|
@ -62,7 +62,6 @@ struct CompilerInfo{
|
|||||||
const char *executable;
|
const char *executable;
|
||||||
} compiler_info[] = {
|
} compiler_info[] = {
|
||||||
// The compilers here are sorted in a reversed-preferred order
|
// The compilers here are sorted in a reversed-preferred order
|
||||||
{CC_BORLAND, "Borland C++", 0, "bcc32.exe"},
|
|
||||||
{CC_MINGW, "MinGW (Minimalist GNU for Windows)", 0, "g++.exe"},
|
{CC_MINGW, "MinGW (Minimalist GNU for Windows)", 0, "g++.exe"},
|
||||||
{CC_INTEL, "Intel(R) C++ Compiler for 32-bit applications", 0, "icl.exe"}, // xilink.exe, xilink5.exe, xilink6.exe, xilib.exe
|
{CC_INTEL, "Intel(R) C++ Compiler for 32-bit applications", 0, "icl.exe"}, // xilink.exe, xilink5.exe, xilink6.exe, xilib.exe
|
||||||
{CC_MSVC2012, "Microsoft (R) Visual Studio 2012 C/C++ Compiler (11.0)", "Software\\Microsoft\\VisualStudio\\SxS\\VC7\\11.0", "cl.exe"}, // link.exe, lib.exe
|
{CC_MSVC2012, "Microsoft (R) Visual Studio 2012 C/C++ Compiler (11.0)", "Software\\Microsoft\\VisualStudio\\SxS\\VC7\\11.0", "cl.exe"}, // link.exe, lib.exe
|
||||||
@ -109,9 +108,6 @@ QString Environment::detectQMakeSpec()
|
|||||||
case CC_MINGW:
|
case CC_MINGW:
|
||||||
spec = "win32-g++";
|
spec = "win32-g++";
|
||||||
break;
|
break;
|
||||||
case CC_BORLAND:
|
|
||||||
spec = "win32-borland";
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,6 @@ QT_BEGIN_NAMESPACE
|
|||||||
|
|
||||||
enum Compiler {
|
enum Compiler {
|
||||||
CC_UNKNOWN = 0,
|
CC_UNKNOWN = 0,
|
||||||
CC_BORLAND = 0x01,
|
|
||||||
CC_MINGW = 0x02,
|
CC_MINGW = 0x02,
|
||||||
CC_INTEL = 0x03,
|
CC_INTEL = 0x03,
|
||||||
CC_MSVC2005 = 0x80,
|
CC_MSVC2005 = 0x80,
|
||||||
|
Loading…
Reference in New Issue
Block a user