if [ "$CFG_NOPROCESS" = "yes" ] || [ "$XPLATFORM_MINGW" != "yes" ]; then
continue
fi
- SPEC=$XQMAKESPEC ;;
+ ;;
*/qmake/qmake.pro) continue ;;
- *tools/bootstrap*|*tools/moc*|*tools/rcc*|*tools/uic*|*tools/qdoc*|*tools/qdbusxml2cpp*|*tools/qdbuscpp2xml*) SPEC=$QMAKESPEC ;;
+ *tools/bootstrap*|*tools/moc*|*tools/rcc*|*tools/uic*|*tools/qdoc*|*tools/qdbusxml2cpp*|*tools/qdbuscpp2xml*) ;;
*) if [ "$CFG_NOPROCESS" = "yes" ]; then
continue
- else
- SPEC=$XQMAKESPEC
fi;;
esac
dir=`dirname "$a" | sed -e "s;$sepath;.;g"`
[ "$OPT_VERBOSE" = "yes" ] && echo " skipping $a"
continue;
fi
- QMAKE_SPEC_ARGS="-spec $SPEC"
echo $ECHO_N " for $a$ECHO_C"
QMAKE="$outpath/bin/qmake"
- QMAKE_ARGS="$QMAKE_SWITCHES $QMAKE_SPEC_ARGS"
if [ "$file" = ".projects.3" ]; then
echo " (fast)"
cat >>"${OUTDIR}/Makefile" <<EOF
QMAKE = "$QMAKE"
all clean install qmake first Makefile: FORCE
- \$(QMAKE) $QMAKE_ARGS -o "$OUTDIR" "$a"
+ \$(QMAKE) $QMAKE_SWITCHES -o "$OUTDIR" "$a"
cd "$OUTDIR"
\$(MAKE) \$@
EOF
else
+ echo
if [ "$OPT_VERBOSE" = "yes" ]; then
- echo " (`basename $SPEC`)"
- echo "$QMAKE" $QMAKE_ARGS -o "$OUTDIR" "$a"
- else
- echo
+ echo "$QMAKE" $QMAKE_SWITCHES -o "$OUTDIR" "$a"
fi
[ -f "${OUTDIR}/Makefile" ] && chmod +w "${OUTDIR}/Makefile"
- QTDIR="$outpath" "$QMAKE" $QMAKE_ARGS -o "$OUTDIR" "$a"
+ QTDIR="$outpath" "$QMAKE" $QMAKE_SWITCHES -o "$OUTDIR" "$a"
fi
done
done
#once you are boot strapped though, the qmake.pro will offer better coverage of a
#platform than either of the generic makefiles
+option(host_build)
CONFIG += console bootstrap
CONFIG -= qt shared app_bundle uic
DEFINES += QT_BUILD_QMAKE QT_BOOTSTRAPPED
printf("Generating Makefiles...\n");
generate = false; // Now Makefiles will be done
}
- // don't pass -spec - .qmake.cache has it already
args << "-r";
args << (sourcePath + "/qtbase.pro");
args << "-o";
cout << "For " << qPrintable(dirPath + projectName) << endl;
args << "-o";
args << it->target;
- args << "-spec";
- args << spec;
if (!dictionary[ "QMAKEADDITIONALARGS" ].isEmpty())
args << dictionary[ "QMAKEADDITIONALARGS" ];