Added MacOS POV-Ray executable.

This commit is contained in:
Leonardo Zide 2018-01-15 10:48:34 -08:00
parent 611dace3b1
commit 1f03b3cda7
2 changed files with 6 additions and 4 deletions

View file

@ -117,8 +117,10 @@ macx {
document_icon.path = Contents/Resources
library.files += $$_PRO_FILE_PWD_/library.bin
library.path = Contents/Resources
povray.files += $$_PRO_FILE_PWD_/tools/povray/povray
povray.path = Contents/MacOS
QMAKE_BUNDLE_DATA += document_icon library
QMAKE_BUNDLE_DATA += document_icon library povray
DEFINES += LC_DISABLE_UPDATE_CHECK=1
}

View file

@ -13,12 +13,12 @@
lcRenderDialog::lcRenderDialog(QWidget* Parent)
: QDialog(Parent),
ui(new Ui::lcRenderDialog),
mOutputBuffer(nullptr)
ui(new Ui::lcRenderDialog)
{
#ifndef QT_NO_PROCESS
mProcess = nullptr;
#endif
mOutputBuffer = nullptr;
ui->setupUi(this);
@ -164,7 +164,7 @@ void lcRenderDialog::on_RenderButton_clicked()
#endif
#ifdef Q_OS_MACOS
POVRayPath = QDir::cleanPath(QCoreApplication::applicationDirPath() + QLatin1String("/povray/povconsole"));
POVRayPath = QDir::cleanPath(QCoreApplication::applicationDirPath() + QLatin1String("/povray"));
#endif
mProcess = new QProcess(this);