Part/Import: [skip ci] disable use of Message_ProgressIndicator for OCC >= 7.5 due to major API changes
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include <BRepCheck_Analyzer.hxx>
|
||||
#include <BRepCheck_Status.hxx>
|
||||
#include <Message_ProgressIndicator.hxx>
|
||||
#include <Standard_Version.hxx>
|
||||
#include <TopTools_MapOfShape.hxx>
|
||||
#include <Gui/TaskView/TaskDialog.h>
|
||||
#include <Gui/TaskView/TaskView.h>
|
||||
@@ -190,6 +191,7 @@ private:
|
||||
QPushButton *resultsBtn;
|
||||
};
|
||||
|
||||
#if OCC_VERSION_HEX < 0x070500
|
||||
class BOPProgressIndicator : public Message_ProgressIndicator
|
||||
{
|
||||
public:
|
||||
@@ -205,7 +207,7 @@ private:
|
||||
QElapsedTimer time;
|
||||
QProgressDialog* myProgress;
|
||||
};
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif // TASKCHECKGEOMETRY_H
|
||||
|
||||
Reference in New Issue
Block a user