mirror of
https://github.com/leozide/leocad
synced 2024-12-25 21:58:23 +01:00
Added MacOS POV-Ray executable.
This commit is contained in:
parent
611dace3b1
commit
1f03b3cda7
2 changed files with 6 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue