mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0028934: Coding - Eliminate compiler warnings in OCCT samples
- covering Qt warnings for compilation under MSVC 2013 and greater - avoid warning about 'M_PI'(and others) redefinition warning of math.h: includes of QtWidgets should follow after other includes.
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
#ifndef MDIWINDOW_H
|
||||
#define MDIWINDOW_H
|
||||
|
||||
#include <Standard_WarningsDisable.hxx>
|
||||
#include <QMainWindow>
|
||||
#include <Standard_WarningsRestore.hxx>
|
||||
|
||||
#include "CommonSample.h"
|
||||
|
||||
class DocumentCommon;
|
||||
|
Reference in New Issue
Block a user