From 66eee155802e25bdc29c160176153c7b8ffd473b Mon Sep 17 00:00:00 2001 From: cignoni Date: Sat, 8 Mar 2008 17:25:04 +0000 Subject: [PATCH] added different rules for building the command line for windows and non windows --- wrap/io_trimesh/export_u3d.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wrap/io_trimesh/export_u3d.h b/wrap/io_trimesh/export_u3d.h index 74698c2e..f159db19 100644 --- a/wrap/io_trimesh/export_u3d.h +++ b/wrap/io_trimesh/export_u3d.h @@ -108,7 +108,11 @@ private: { QProcess p; QString convstring = par._converter_loc; + #if defined(Q_OS_WIN) convstring = "\""+convstring + "\" -en 1 -input \"" + par._input_file + "\" -output \"" + par._output_file +"\""; + #else + convstring = convstring + " -en 1 -input \"" + par._input_file + "\" -output \"" + par._output_file +"\""; + #endif qDebug("Starting converter %s", qPrintable(convstring)); p.setProcessChannelMode(QProcess::MergedChannels); p.start(convstring);