test: Pass -use-debug-libs for macdeploy test when built as debug
As this is a strong indication that Qt was also built in debug. Otherwise the test will fail locally for a debug build. Pick-to: 6.5 Change-Id: I5f494017f1d89f4076ccaca89aaa67738ef405a9 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
parent
da7b6cb83d
commit
e36082dcdc
@ -165,6 +165,9 @@ bool deploy(const QString &name, const QStringList &options, QString *errorMessa
|
||||
QString bundle = name + ".app";
|
||||
QString path = buildPath(name);
|
||||
QStringList args = QStringList() << bundle << options;
|
||||
#if defined(QT_DEBUG)
|
||||
args << "-use-debug-libs";
|
||||
#endif
|
||||
if (lcTests().isDebugEnabled())
|
||||
args << "-verbose=3";
|
||||
return runProcess(g_macdeployqtBinary, args, errorMessage, path);
|
||||
|
Loading…
Reference in New Issue
Block a user