summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tools/nacldeployqt/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/nacldeployqt/main.cpp b/src/tools/nacldeployqt/main.cpp
index fac933972e..cdc982e8f8 100644
--- a/src/tools/nacldeployqt/main.cpp
+++ b/src/tools/nacldeployqt/main.cpp
@@ -88,7 +88,7 @@ int QtNaclDeployer::deploy()
qDebug() << "File not found" << binary;
return 0;
}
-
+
if (!quickImports && QFile::exists(binary + "_qml_plugin_import.cpp")) {
qDebug() << "Note: qml_plugin_import.cpp file found. Auto-enabling --quick option.";
quickImports = true;
@@ -203,11 +203,11 @@ int QtNaclDeployer::deploy()
QString nmfCommand = QStringLiteral("python ") + createNmf
+ " -o " + nmfFilePath
+ " -L " + qtLibDir // Add Qt libs search payh
- + " -s . " // copy dependencies
-// + " --debug-libs"
+ + " -s . " // copy dependencies
+// + " --debug-libs"
+ " " + finalBinaryPath
+ " " + (debug ? binary : QString("")); // deploy .bc when debugging (adds a "pnacl-debug" section to the nmf)
-
+
runCommand(nmfCommand.toLatin1().constData());
}