Re: [wip][patch] use qmake with autoconf for qt5 too

2024-06-17 Thread José Matos
On Mon, 2024-06-17 at 22:10 +0200, Enrico Forestieri wrote: > I don't know about  Wayland, but, please, see whether it works after > fe64db4b. It works. Thank you. :-) -- José Abílio -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: [wip][patch] use qmake with autoconf for qt5 too

2024-06-17 Thread Enrico Forestieri
On Mon, Jun 17, 2024 at 10:21:10PM +0200, Enrico Forestieri wrote: On Mon, Jun 17, 2024 at 05:07:56PM +0100, José Matos wrote: On Mon, 2024-06-17 at 17:02 +0100, José Matos wrote: Slightly related to your message: When configuring autools with qt6 I get these (seemingly harmless) warnings. Y

Re: [wip][patch] use qmake with autoconf for qt5 too

2024-06-17 Thread Enrico Forestieri
On Mon, Jun 17, 2024 at 05:07:56PM +0100, José Matos wrote: On Mon, 2024-06-17 at 17:02 +0100, José Matos wrote: Slightly related to your message: When configuring autools with qt6 I get these (seemingly harmless) warnings. Yep, these warnings are harmless. @Jean-Marc note that these warnin

Re: [wip][patch] use qmake with autoconf for qt5 too

2024-06-17 Thread Enrico Forestieri
On Mon, Jun 17, 2024 at 04:56:41PM +0100, José Matos wrote: Running this on Fedora 40. FWIW I am on KDE (Wayland). The configure stage works, without a warning, but then at the end of the build stage I get: CXXLDlyx /usr/bin/ld: frontends/qt/liblyxqt.a(GuiApplication.o): undefined referen

Re: [wip][patch] use qmake with autoconf for qt5 too

2024-06-17 Thread Enrico Forestieri
On Mon, Jun 17, 2024 at 04:41:18PM +0200, Jean-Marc Lasgouttes wrote: Le 15/06/2024 à 22:59, Enrico Forestieri a écrit : On Fri, Jun 14, 2024 at 08:09:00PM +0200, Jean-Marc Lasgouttes wrote: This seems to work, although for some reason it does not add x11extras here. Actually, x11extras is

Re: [wip][patch] use qmake with autoconf for qt5 too

2024-06-17 Thread José Matos
On Mon, 2024-06-17 at 17:02 +0100, José Matos wrote: > Slightly related to your message: > > When configuring autools with qt6 I get these (seemingly harmless) > warnings. @Jean-Marc note that these warning, for qt6, happened before your current patch. That is why I wrote this is slightly related

Re: [wip][patch] use qmake with autoconf for qt5 too

2024-06-17 Thread José Matos
On Mon, 2024-06-17 at 17:25 +0200, Jean-Marc Lasgouttes wrote: > I pushed this change to master, along with a warning when the qmake > way did not work. Please tell me when this triggers a warning, so > that we can understand what happens and how to solve it. > > JMarc Slightly related to your me

Re: [wip][patch] use qmake with autoconf for qt5 too

2024-06-17 Thread José Matos
On Mon, 2024-06-17 at 17:25 +0200, Jean-Marc Lasgouttes wrote: > I pushed this change to master, along with a warning when the qmake > way did not work. Please tell me when this triggers a warning, so > that we can understand what happens and how to solve it. > > JMarc Running this on Fedora 40.

Re: [wip][patch] use qmake with autoconf for qt5 too

2024-06-17 Thread Jean-Marc Lasgouttes
Le 17/06/2024 à 16:41, Jean-Marc Lasgouttes a écrit : Le 15/06/2024 à 22:59, Enrico Forestieri a écrit : On Fri, Jun 14, 2024 at 08:09:00PM +0200, Jean-Marc Lasgouttes wrote: This seems to work, although for some reason it does not add x11extras here. Actually, x11extras is detected but you

Re: [wip][patch] use qmake with autoconf for qt5 too

2024-06-17 Thread Jean-Marc Lasgouttes
Le 15/06/2024 à 22:59, Enrico Forestieri a écrit : On Fri, Jun 14, 2024 at 08:09:00PM +0200, Jean-Marc Lasgouttes wrote: This seems to work, although for some reason it does not add x11extras here. Actually, x11extras is detected but you forgot about HAVE_QT5_X11_EXTRAS. I thought that it

Re: [wip][patch] use qmake with autoconf for qt5 too

2024-06-16 Thread Stephan Witt
Am 14.06.2024 um 20:09 schrieb Jean-Marc Lasgouttes : > > This patch allows autoconf to rely on qmake for configuring qt5 too. This > relies on the great work done by Enrico. If this works, I will propose to > remove all the other configurations macros for qt. > > This seems to work, although f

Re: [wip][patch] use qmake with autoconf for qt5 too

2024-06-15 Thread Enrico Forestieri
On Fri, Jun 14, 2024 at 08:09:00PM +0200, Jean-Marc Lasgouttes wrote: This seems to work, although for some reason it does not add x11extras here. Actually, x11extras is detected but you forgot about HAVE_QT5_X11_EXTRAS. Applying the attached patch on top of yours does the trick. -- Enrico

Re: [wip][patch] use qmake with autoconf for qt5 too

2024-06-15 Thread Enrico Forestieri
On Sat, Jun 15, 2024 at 01:23:52PM +0200, Enrico Forestieri wrote: On Fri, Jun 14, 2024 at 08:09:00PM +0200, Jean-Marc Lasgouttes wrote: Could you people have a go at it before I push it? I tried it with native Windows and Cygwin with GDI backend instead of X11. In both cases it detected the

Re: [wip][patch] use qmake with autoconf for qt5 too

2024-06-15 Thread Enrico Forestieri
On Fri, Jun 14, 2024 at 08:09:00PM +0200, Jean-Marc Lasgouttes wrote: Could you people have a go at it before I push it? I tried it with native Windows and Cygwin with GDI backend instead of X11. In both cases it detected the winextras module and added appropriate includes and libraries. How

Re: [wip][patch] use qmake with autoconf for qt5 too

2024-06-14 Thread Pavel Sanda
On Fri, Jun 14, 2024 at 08:09:00PM +0200, Jean-Marc Lasgouttes wrote: > Could you people have a go at it before I push it? Seems to work on oldstable debian. Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

[wip][patch] use qmake with autoconf for qt5 too

2024-06-14 Thread Jean-Marc Lasgouttes
This patch allows autoconf to rely on qmake for configuring qt5 too. This relies on the great work done by Enrico. If this works, I will propose to remove all the other configurations macros for qt. This seems to work, although for some reason it does not add x11extras here. Could you people h