Fix building on Mac.
--HG-- branch : develop
This commit is contained in:
parent
38bb9c86b9
commit
b9f886d28d
|
@ -4261,6 +4261,7 @@ void MainWindow::Preferences()
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
#if defined(Q_OS_MAC)
|
||||||
void MainWindow::CreateMeasurements()
|
void MainWindow::CreateMeasurements()
|
||||||
{
|
{
|
||||||
const QString tape = qApp->TapeFilePath();
|
const QString tape = qApp->TapeFilePath();
|
||||||
|
@ -4274,6 +4275,7 @@ void MainWindow::CreateMeasurements()
|
||||||
|
|
||||||
QProcess::startDetached(tape, arguments, workingDirectory);
|
QProcess::startDetached(tape, arguments, workingDirectory);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void MainWindow::ExportLayoutAs()
|
void MainWindow::ExportLayoutAs()
|
||||||
|
|
|
@ -145,6 +145,4 @@ private:
|
||||||
QList<VLayoutPiece> MoveDetails(qreal length, const QVector<VLayoutPiece> &details);
|
QList<VLayoutPiece> MoveDetails(qreal length, const QVector<VLayoutPiece> &details);
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef std::shared_ptr<VLayoutGenerator> VLayoutGeneratorPtr;
|
|
||||||
|
|
||||||
#endif // VLAYOUTGENERATOR_H
|
#endif // VLAYOUTGENERATOR_H
|
||||||
|
|
|
@ -49,6 +49,7 @@
|
||||||
|
|
||||||
class QUndoStack;
|
class QUndoStack;
|
||||||
class VAbstractApplication;// use in define
|
class VAbstractApplication;// use in define
|
||||||
|
class VAbstractPattern;
|
||||||
class VMainGraphicsView;
|
class VMainGraphicsView;
|
||||||
|
|
||||||
#if defined(qApp)
|
#if defined(qApp)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user