forked from qt-creator/qt-creator
Fremantle: Don't use unsupported "mad" option.
Our SDK uses an outdated MADDE that does not support the "--no-force-downgrade" option when deploying into the sysroot. Task-number: QTCREATORBUG-6328 Change-Id: Icb0c9774daee9b9840403ca8a14c9f6604cf3624 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#include "maemoglobal.h"
|
||||
#include "maemopackagecreationstep.h"
|
||||
#include "maemoqtversion.h"
|
||||
#include "qt4maemotarget.h"
|
||||
|
||||
#include <utils/fileutils.h>
|
||||
|
||||
@@ -248,8 +249,12 @@ BuildStepConfigWidget *MaemoInstallDebianPackageToSysrootStep::createConfigWidge
|
||||
|
||||
QStringList MaemoInstallDebianPackageToSysrootStep::madArguments() const
|
||||
{
|
||||
return QStringList() << QLatin1String("xdpkg") << QLatin1String("--no-force-downgrade")
|
||||
<< QLatin1String("-i");
|
||||
QStringList args;
|
||||
args << QLatin1String("xdpkg");
|
||||
if (qobject_cast<Qt4HarmattanTarget *>(target()))
|
||||
args << QLatin1String("--no-force-downgrade");
|
||||
args << QLatin1String("-i");
|
||||
return args;
|
||||
}
|
||||
|
||||
const QString MaemoInstallDebianPackageToSysrootStep::Id
|
||||
|
||||
Reference in New Issue
Block a user