Following the instructions to install LibreCAD 2.2_rc1 here:
https://librecad.readthedocs.io/en/latest/appx/build.htmlI'm getting a lot of errors. Here's a few that might help anyone who can help me find the cause:
duncan@duncan-ThinkPad-W540:~/Downloads/LibreCAD-2.2.0-rc1$ qmake -v
QMake version 3.1
Using Qt version 5.12.8 in /usr/lib/x86_64-linux-gnu
duncan@duncan-ThinkPad-W540:~/Downloads/LibreCAD-2.2.0-rc1$ uic -v
uic 5.12.8So there is a lot about things depreciated in Qt.
/usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:275:25: warning: implicitly-declared ‘QVariant::Private& QVariant::Private::operator=(const QVariant::Private&)’ is deprecated [-Wdeprecated-copy]
275 | { other.d = Private(); }There is a whole section of warnings like this:
ui/qg_actionhandler.cpp:275:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
275 | if(!document->countSelected()){
| ^~The first error looks lihe this:
ui/forms/qg_commandwidget.cpp:59:60: error: invalid use of incomplete type ‘class QAction’
59 | auto a1 = new QAction(QObject::tr("Keycode Mode"), this); |
It ends like this:
make[2]: Leaving directory '/home/duncan/Downloads/LibreCAD-2.2.0-rc1/librecad/src'
make[1]: *** [Makefile:47: sub-src-make_first] Error 2
make[1]: Leaving directory '/home/duncan/Downloads/LibreCAD-2.2.0-rc1/librecad'
make: *** [Makefile:93: sub-librecad-make_first-ordered] Error 2It doesn't run:
duncan@duncan-ThinkPad-W540:~/Downloads/LibreCAD-2.2.0-rc1$ ./unix/librecad &
[1] 391293
duncan@duncan-ThinkPad-W540:~/Downloads/LibreCAD-2.2.0-rc1$ bash: ./unix/librecad: No such file or directoryAnyone here able to offer suggestions on what I should try?
IRC: duncan-nz
Twitter: @BIM_DK