Use configure -confirm-license option also in commercial Qt versions
Pass the -confirm-license option to external license checker which is used in Qt commercial version. Change-Id: I62326d1e6a8307dae64535ecf2ced762130b7e8f Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com> Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
This commit is contained in:
parent
0cb2c760c2
commit
3c070b58b2
3
configure
vendored
3
configure
vendored
@ -2773,7 +2773,8 @@ if [ -f "$relpath"/LICENSE.PREVIEW.COMMERCIAL ] && [ $COMMERCIAL_USER = "yes" ];
|
|||||||
EditionString="Technology Preview"
|
EditionString="Technology Preview"
|
||||||
elif [ $COMMERCIAL_USER = "yes" ]; then
|
elif [ $COMMERCIAL_USER = "yes" ]; then
|
||||||
if test -x "$relpath/bin/licheck"; then
|
if test -x "$relpath/bin/licheck"; then
|
||||||
LicheckOutput=`$relpath/bin/licheck $relpath $outpath $PLATFORM $XPLATFORM`
|
LicheckOutput=`$relpath/bin/licheck $OPT_CONFIRM_LICENSE $relpath $outpath\
|
||||||
|
$PLATFORM $XPLATFORM`
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
|
@ -71,8 +71,9 @@ void Tools::checkLicense(QMap<QString,QString> &dictionary,
|
|||||||
const QString xQMakeSpec =
|
const QString xQMakeSpec =
|
||||||
QDir::toNativeSeparators(dictionary.value("XQMAKESPEC"));
|
QDir::toNativeSeparators(dictionary.value("XQMAKESPEC"));
|
||||||
|
|
||||||
QString command = QString("%1 %2 %3 %4 %5")
|
QString command = QString("%1 %2 %3 %4 %5 %6")
|
||||||
.arg(licenseChecker,
|
.arg(licenseChecker,
|
||||||
|
dictionary.value("LICENSE_CONFIRMED", "no"),
|
||||||
QDir::toNativeSeparators(sourcePath),
|
QDir::toNativeSeparators(sourcePath),
|
||||||
QDir::toNativeSeparators(buildPath),
|
QDir::toNativeSeparators(buildPath),
|
||||||
qMakeSpec, xQMakeSpec);
|
qMakeSpec, xQMakeSpec);
|
||||||
|
Loading…
Reference in New Issue
Block a user