Fix building on Mac.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-04-01 19:53:28 +03:00
parent 38bb9c86b9
commit b9f886d28d
3 changed files with 3 additions and 2 deletions

View file

@ -4261,6 +4261,7 @@ void MainWindow::Preferences()
}
//---------------------------------------------------------------------------------------------------------------------
#if defined(Q_OS_MAC)
void MainWindow::CreateMeasurements()
{
const QString tape = qApp->TapeFilePath();
@ -4274,6 +4275,7 @@ void MainWindow::CreateMeasurements()
QProcess::startDetached(tape, arguments, workingDirectory);
}
#endif
//---------------------------------------------------------------------------------------------------------------------
void MainWindow::ExportLayoutAs()

View file

@ -145,6 +145,4 @@ private:
QList<VLayoutPiece> MoveDetails(qreal length, const QVector<VLayoutPiece> &details);
};
typedef std::shared_ptr<VLayoutGenerator> VLayoutGeneratorPtr;
#endif // VLAYOUTGENERATOR_H

View file

@ -49,6 +49,7 @@
class QUndoStack;
class VAbstractApplication;// use in define
class VAbstractPattern;
class VMainGraphicsView;
#if defined(qApp)