Re: How to compile LibreCAD in Visual Studio 2015?
Posted by
R. van Twisk on
Aug 09, 2016; 1:21pm
URL: https://forum.librecad.org/How-to-compile-LibreCAD-in-Visual-Studio-2015-tp5714095p5714114.html
FirstStep wrote
I tried with QT Migwin but it takes a lot of time to build (It does not build when I add -j to the qmake arguments).
You need to add the -j to the make tool, the qmake is more of a pre-processor that generates a makefile analogus to cmake. Make is the tool that does the actual build.
If you are familiar with VC and planning to keep contributing will will accept your build files for VC like we did in the past and you can work with your tool of choice. However a few, all??? developer's at LC don't work with VC and as such we don't maintain them and overtime they get outdated.
If this is just a one off build, perhaps it's even easer to use qmake and make, and don't even use Qt Creator.
If you get build errors in VC, it's most lickly because VC doesn't use the correct compiler ( needs to be c++11) or that VC doesn't included all third part tools.