Re: Error when compiling LyX under macOS

2021-10-12 Thread Enrico Forestieri
On Tue, Oct 12, 2021 at 01:15:52PM +0200, Christoph Schmitz wrote:

> 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 
> . 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 
>  ^~~~
> 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

Please, try again after 47f1fec9

-- 
Enrico
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Error when compiling LyX under macOS

2021-10-12 Thread Kornel Benko
Am Tue, 12 Oct 2021 13:15:52 +0200
schrieb Christoph Schmitz :

> QSvgWidget

You need the file 'QSvgWidget' apparently. Here, on linux and QT5, it is in 
package
libqt5svg5-dev:
/usr/include/x86_64-linux-gnu/qt5/QtSvg/QSvgWidget

On my self compiled QT6 it is also existent under
 /6.0.2/Src/qtsvg/include/QtSvgWidgets/QSvgWidget

Kornel


pgp69pnugKmgR.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Error when compiling LyX under macOS

2021-10-12 Thread Christoph Schmitz
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 
. 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 
 ^~~~
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


-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel