Login  Register

Re: dev environment setup and usage

Posted by DErik on Feb 08, 2016; 6:04pm
URL: https://forum.librecad.org/dev-environment-setup-and-usage-tp5712883p5712921.html

Sorry, guys. Been busy with other things for a while. What ravas describes about the errors seems to be pretty much what I encountered. In particular, I recall the problem about unique_ptr not being part of std. I just figured it was a bug you hadn't gotten to yet, so didn't worry about it. But it kept the thing from completing the build, so the .app never got created.

Hopefully I'll get to some more of it tomorrow. Will be pretty busy today as well.

Thanks, DErik

On Feb 7, 2016, at 3:33 PM, dxli [via LibreCAD] <[hidden email]> wrote:

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.



If you reply to this email, your message will be added to the discussion below:
http://forum.librecad.org/dev-environment-setup-and-usage-tp5712883p5712918.html
To unsubscribe from dev environment setup and usage, click here.
NAML

-- DErik --