I first installed Qcad with 'brew install qcad' with no problem and Qcad runs just as it should. I believe this also installed QT, but I wouldn't swear to it.
I next downloaded the source for version 3.2.2 and built a release version following the instructions at
https://www.qcad.org/en/component/conte ... om-sources. This also runs just as it should.
I then did a make clean followed by make debug which crashes very shortly with the following error.
cd spatialindexnavel/ && ( test -e Makefile || /usr/local/opt/qt/bin/qmake -o Makefile /Users/admin/Development/qcad-master/src/3rdparty/spatialindexnavel/spatialindexnavel.pro ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile debug
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.Debug
make[4]: *** No rule to make target `/usr/local/Cellar/qt/5.12.0/lib/libQt5UiTools_debug.a', needed by `../../../debug/libspatialindexnavel.dylib'. Stop.
As you would expect, there is no /usr/local/Cellar/qt/5.12.0/lib/libQt5UiTools_debug.a file. There is a libQt5UiTools.a and a libQt5QmlDebug.a and a bunch of other files in that directory.
I did another brew install qt to no avail.
Could anyone explain this?
Is there a different/better way to build a gdb debuggable Qcad?
Running on Mac OSX 10.13.6 (High Sierra) system info is:
Model Name: iMac
Model Identifier: iMac14,1
Processor Name: Intel Core i5
Processor Speed: 2.7 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 4 MB
Memory: 8 GB
missing libQt5UiTools_debug.a
Moderator: andrew
Re: missing libQt5UiTools_debug.a
You'd have to install the debug version of Qt or build Qt from scratch, which is not as bad as it sounds .