Re: dev environment setup and usage
Posted by
ravas on
Feb 07, 2016; 9:32pm
URL: https://forum.librecad.org/dev-environment-setup-and-usage-tp5712883p5712917.html
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-projecthttp://doc.qt.io/qt-5/qmake-variable-reference.html#configCuriously it will still say:
Project ERROR: muparser development package not found
Yet the cal command seems to work.