Page 1 of 1

missing libQt5UiTools_debug.a

Posted: Sat Feb 02, 2019 5:57 am
by kenr
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 ... 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/ ) && /Applications/ -f Makefile debug
/Applications/ -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

Re: missing libQt5UiTools_debug.a

Posted: Mon Feb 04, 2019 10:22 am
by andrew
You'd have to install the debug version of Qt or build Qt from scratch, which is not as bad as it sounds ;).