Re: How to compile LibreCAD in Visual Studio 2015?
Posted by
ravas on
Aug 09, 2016; 4:56pm
URL: https://forum.librecad.org/How-to-compile-LibreCAD-in-Visual-Studio-2015-tp5714095p5714116.html
Try build/run from Qt Creator. The missing DLL problem doesn't exist when you run from Creator.
You might need to run CLEAN.SH to remove old build files from your attempts with MSVC,
and then 'rebuild all' from Creator.
If you really want to launch from an .exe then follow the guide for making installers.
There is also a Qt command line utility (windeployqt) that can make 'portable' versions
(it adds / links DLLs like you were trying to do);
however, I never used it with LibreCAD so I can't promise that will work properly.
http://doc.qt.io/qt-5/windows-deployment.htmlI switched to openSUSE so I can only help from memory.
I would recommend just building/running from Qt Creator;
then if you submit a pull request and it is accepted,
an installer will be made within 24 hours.
https://sourceforge.net/projects/librecad/files/Windows/NightlyBuilds/master/