Error when compiling LyX under macOS
Christoph Schmitz
chr.schmitz at web.de
Tue Oct 12 11:15:52 UTC 2021
macOS Monterey Version 12.0 Beta (21A5543b) and Qt 6.2.0
The problem, which first appeared about two weeks ago, still exists. I compile LyX once a day to see if it is fixed, but it is not. I still can't compile LyX under macOS anymore. I have the same issue on two computers (one with Intel processor, the other with M1 processor).
The compiler does not find QSvgWidget, although the class is not deprecated in Qt6: https://doc.qt.io/qt-6/qsvgwidget.html <https://doc.qt.io/qt-6/qsvgwidget.html>. I have reinstalled Qt and pulled a new LyX repository several times, but that does not solve the problem.
The file qsvgwidget.h is present. It can be found on the Intel Mac in the directory /usr/local/Cellar/qt/6.2.0/lib/QtSvgWidgets.framework/Versions/A/Headers. But even setting a path to this directory does not solve the problem. Does anybody understand what has happened?
Since attachments are deleted, I copy the last lines of the output below.
--
/Applications/Xcode-beta.app/Contents/Developer/usr/bin/make all-recursive
Making all in support
/Applications/Xcode-beta.app/Contents/Developer/usr/bin/make all-am
make[5]: Nothing to be done for `all-am'.
Making all in frontends
Making all in qt
/Applications/Xcode-beta.app/Contents/Developer/usr/bin/make all-am
CXX Dialog.o
In file included from Dialog.cpp:15:
./GuiView.h:24:10: fatal error: 'QSvgWidget' file not found
#include <QSvgWidget>
^~~~~~~~~~~~
1 error generated.
make[6]: *** [Dialog.o] Error 1
make[5]: *** [all] Error 2
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20211012/1bec9ca6/attachment.html>
More information about the lyx-devel
mailing list