forked from qt-creator/qt-creator
Modelinglib: Fix missing M_PI on msvc
error: C2065: 'M_PI': undeclared identifier QtMath makes it work on different compilers. Change-Id: I012f4a5f6d3e2c9c8680b606a92f4898618a9dae Reviewed-by: Jochen Becher <jochen_becher@gmx.de> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
58ae456f4b
commit
8dca82bd9c
@@ -68,7 +68,7 @@
|
||||
#include <QQueue>
|
||||
#include <QPair>
|
||||
|
||||
#include <cmath>
|
||||
#include <QtMath>
|
||||
|
||||
namespace qmt {
|
||||
|
||||
|
Reference in New Issue
Block a user