HOWTO: Compiling LibreCAD with Visual Studio 2003 (and Qt 4.3.1 ...)
Posted by
tin-pot on
Dec 29, 2011; 10:37pm
URL: https://forum.librecad.org/HOWTO-Compiling-LibreCAD-with-Visual-Studio-2003-and-Qt-4-3-1-tp5108768.html
I have built the current LibreCAD source tree with VS .NET 2003, using Qt 4.3.1 (the Qt version is more by accident and stubbornness ...), this made some source changes necessary. The modified sources are in my own GitHub clone of LibreCAD.
In the hope that someone else might find this useful, I have added a description to the "Compile HOWTO" page in the GibHub wiki:
https://github.com/LibreCAD/LibreCAD/wiki/Compile-HOWTOIn the course of this, some questions arised (I'm new to Git - please bear with me!):
- I have cloned the LibreCAD/LibreCAD Git, made a local working copy at home and comitted changes back to my clode Git - so far this seems all right.
- As I understand, I can issue a "push request", so that the powers that be can incorporate my changes to the "master" repository - is this right?
- How can I update changes that occur in LibreCAD/LibreCAD into my repository tin-pot/LibreCAD? Do I initiate this explicitly ("pull")? How are changes merged? How are conflicts going to be resolved (in SVN parlance)?
On another topic, I stumbled across the usage of isnormal() in rs_arc.cpp, rs_ellipse.cpp, rs_modification.cpp: is the intent really to exclude denormals (and of course zero, INFs and NANs) or is it meant to check if a value is finite and nonzero, maybe with a lower bound on magnitude? And if so, are infinities purposefully used in LibreCAD?