Login  Register

Re: dev environment setup and usage

Posted by dxli on Feb 07, 2016; 11:33pm
URL: https://forum.librecad.org/dev-environment-setup-and-usage-tp5712883p5712918.html

since muparser is included in LC by source as well

ravas wrote
It builds fine... it just outputs a lot more warnings than gcc.
These can be suppressed by adding to src.pro:
QMAKE_CXXFLAGS_WARN_ON = -w
or just one of the big offenders
QMAKE_CXXFLAGS_WARN_ON = -Wno-inconsistent-missing-override

Although, it's probably smart not to commit those, incase someone is inspired to deal with the 50k issues.
It seems the following is preferred:

CONFIG += warn_off

http://stackoverflow.com/questions/18667291/disable-wall-compiler-warnings-in-a-qt-project
http://doc.qt.io/qt-5/qmake-variable-reference.html#config

Curiously it will still say:
Project ERROR: muparser development package not found

Yet the cal command seems to work.