FS#941New old build error (on FreeBSD now)
- Type
- Bug
- Status
- Closed
- Resolution
- Fixed
- Category
- QCAD (main)
- Severity
- Low
- Priority
- Low
- Reported version
- 3.3.4
- Operating system
- Linux (All / Other)
- Reported
- 2013-10-14 by kazmer
- Closed
- 2013-10-14 by andrew
This seems to have somehow surfaced once again, this time on FreeBSD (that is, Linux builds are unaffected).
This diff, based on the suggestion from the forum post, seems to fix it:
--- a/src/3rdparty/qt-labs-qtscriptgenerator-4.8.5/qtbindings/qtbindings.pro
+++ b/src/3rdparty/qt-labs-qtscriptgenerator-4.8.5/qtbindings/qtbindings.pro
@@ -13,3 +13,7 @@ SUBDIRS = qtscript_core \
qtscript_uitools
#qs_eval
+
+freebsd* {
+ SUBDIRS -= qtscript_phonon
+}
Somehow (especially in light of the forum post) it doesn't seem a very robust solution, though.
QCAD community, Git rev 3ff487, FreeBSD 9.2, Qt 4.8.5.
Comments (1)
Thanks.
This depends on the Qt version also (here 4.8.5). In my experience phonon script bindings generally don't compile on Unix and the network bindings don't compile on Windows:
https://github.com/qcad/qcad/commit/b0d43a42e089a169e1cee146dc6778eadc5cc71b
Both these bindings are not really needed by QCAD itself.