Re: [LyX/master] Allow compiling with Qt6

2021-03-21 Thread Enrico Forestieri
On Sun, Mar 21, 2021 at 09:53:45AM +0100, Jürgen Spitzmüller wrote: > Am Samstag, dem 20.03.2021 um 19:19 +0100 schrieb Enrico Forestieri: > > Does the attached patch work? > > Yes, this works. Thanks! Committed. -- Enrico -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/

Re: [LyX/master] Allow compiling with Qt6

2021-03-21 Thread Jürgen Spitzmüller
Am Samstag, dem 20.03.2021 um 19:19 +0100 schrieb Enrico Forestieri: > Does the attached patch work? Yes, this works. Thanks! Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-d

Re: [LyX/master] Allow compiling with Qt6

2021-03-20 Thread Enrico Forestieri
On Sat, Mar 20, 2021 at 02:50:26PM +0100, Jürgen Spitzmüller wrote: > > On OpenSuse (Tumbleweed), Qt6 qmake is called "qmake6", moc "moc6" (not > "moc-qt6"). > > Can we account for this configuration, too? Does the attached patch work? -- Enrico diff --git a/config/qt.m4 b/config/qt.m4 index 4

Re: [LyX/master] Allow compiling with Qt6

2021-03-20 Thread Jürgen Spitzmüller
Am Montag, dem 15.03.2021 um 17:33 +0100 schrieb Enrico Forestieri: > commit 635a7d77ddc94c63d52494dc4d68a930faccf45f > Author: Enrico Forestieri > Date:   Mon Mar 15 17:09:09 2021 +0100 > >     Allow compiling with Qt6 >     >     This commit allows compiling LyX with Qt6 when using autotools.

Re: [LyX/master] Allow compiling with Qt6

2021-03-18 Thread Kornel Benko
Am Tue, 16 Mar 2021 22:51:12 +0100 schrieb Yu Jin : > >> Oh wait, that was my fault, chosen wrong folder now it configures ok, > >> will try > >> to compile.. > >   > Visual Studio gave a lot of errors, I attached a csv file containing those. > -- >     Eugene > These are many errors from

Re: [LyX/master] Allow compiling with Qt6

2021-03-16 Thread Scott Kostyshak
On Tue, Mar 16, 2021 at 03:05:07PM -0400, Scott Kostyshak wrote: > Thanks, I'll try to take a look at this tonight. Indeed I was missing some dependencies. I reinstalled and compilation succeeded. Log attached in case anyone is interested in looking at the warnings. Scott lyxbuild: building with

Re: [LyX/master] Allow compiling with Qt6

2021-03-16 Thread Yu Jin
Am Di., 16. März 2021 um 22:33 Uhr schrieb Yu Jin : > Am Di., 16. März 2021 um 22:30 Uhr schrieb Yu Jin : > >> Am Di., 16. März 2021 um 19:04 Uhr schrieb Kornel Benko : >> >>> Am Tue, 16 Mar 2021 18:21:19 +0100 >>> schrieb Yu Jin : >>> >>> > Am Di., 16. März 2021 um 16:36 Uhr schrieb Kornel Benko

Re: [LyX/master] Allow compiling with Qt6

2021-03-16 Thread Yu Jin
Am Di., 16. März 2021 um 22:30 Uhr schrieb Yu Jin : > Am Di., 16. März 2021 um 19:04 Uhr schrieb Kornel Benko : > >> Am Tue, 16 Mar 2021 18:21:19 +0100 >> schrieb Yu Jin : >> >> > Am Di., 16. März 2021 um 16:36 Uhr schrieb Kornel Benko > >: >> > >> > > Am Tue, 16 Mar 2021 16:32:49 +0100 >> > > sch

Re: [LyX/master] Allow compiling with Qt6

2021-03-16 Thread Yu Jin
Am Di., 16. März 2021 um 19:04 Uhr schrieb Kornel Benko : > Am Tue, 16 Mar 2021 18:21:19 +0100 > schrieb Yu Jin : > > > Am Di., 16. März 2021 um 16:36 Uhr schrieb Kornel Benko >: > > > > > Am Tue, 16 Mar 2021 16:32:49 +0100 > > > schrieb Yu Jin : > > > > > > > Just seen this one and wanted to try

Re: [LyX/master] Allow compiling with Qt6

2021-03-16 Thread Scott Kostyshak
On Tue, Mar 16, 2021 at 07:11:13PM +0100, Enrico Forestieri wrote: > On Tue, Mar 16, 2021 at 01:48:43PM -0400, Scott Kostyshak wrote: > > On Tue, Mar 16, 2021 at 10:44:13AM +0100, Enrico Forestieri wrote: > > > On Mon, Mar 15, 2021 at 10:52:19PM -0400, Scott Kostyshak wrote: > > > > > > > > Are th

Re: [LyX/master] Allow compiling with Qt6

2021-03-16 Thread Jean-Marc Lasgouttes
Le 16/03/2021 à 18:39, Jürgen Spitzmüller a écrit : Am Dienstag, dem 16.03.2021 um 15:30 +0100 schrieb Jean-Marc Lasgouttes: Needed, I do not know. I think it still works with Qt4.5 and we had one user at some time, but nobody knows whether it still compiles. In any case, it would be easy to fix

Re: [LyX/master] Allow compiling with Qt6

2021-03-16 Thread Enrico Forestieri
On Tue, Mar 16, 2021 at 07:04:06PM +0100, Kornel Benko wrote: > > Attached. Please, note that Qt6 does not include Qt6X11Extras, Qt6WinExtras, and Qt6MacExtras, while Qt6Core5Compat (or whatever it is called) is necessary. -- Enrico -- lyx-devel mailing list lyx-devel@lists.lyx.org http://list

Re: [LyX/master] Allow compiling with Qt6

2021-03-16 Thread Enrico Forestieri
On Tue, Mar 16, 2021 at 01:48:43PM -0400, Scott Kostyshak wrote: > On Tue, Mar 16, 2021 at 10:44:13AM +0100, Enrico Forestieri wrote: > > On Mon, Mar 15, 2021 at 10:52:19PM -0400, Scott Kostyshak wrote: > > > > > > Are there still QRegExp that need to be changed? I got an error from > > > src/supp

Re: [LyX/master] Allow compiling with Qt6

2021-03-16 Thread Kornel Benko
Am Tue, 16 Mar 2021 18:21:19 +0100 schrieb Yu Jin : > Am Di., 16. März 2021 um 16:36 Uhr schrieb Kornel Benko : > > > Am Tue, 16 Mar 2021 16:32:49 +0100 > > schrieb Yu Jin : > > > > > Just seen this one and wanted to try it out obviously :) > > > But it doesn't work for me on Windows. Using CMake

Re: [LyX/master] Allow compiling with Qt6

2021-03-16 Thread Scott Kostyshak
On Tue, Mar 16, 2021 at 10:44:13AM +0100, Enrico Forestieri wrote: > On Mon, Mar 15, 2021 at 10:52:19PM -0400, Scott Kostyshak wrote: > > > > Are there still QRegExp that need to be changed? I got an error from > > src/support/qstring_helpers.cpp. > > I actually don't know. Let me explain. There

Re: [LyX/master] Allow compiling with Qt6

2021-03-16 Thread Jürgen Spitzmüller
Am Dienstag, dem 16.03.2021 um 15:30 +0100 schrieb Jean-Marc Lasgouttes: > Needed, I do not know. I think it still works with Qt4.5 and we had > one user at some time, but nobody knows whether it still compiles. In > any case, it would be easy to fix if we got a report of broken LyX > with 4.5 IMO.

Re: [LyX/master] Allow compiling with Qt6

2021-03-16 Thread Yu Jin
Am Di., 16. März 2021 um 16:36 Uhr schrieb Kornel Benko : > Am Tue, 16 Mar 2021 16:32:49 +0100 > schrieb Yu Jin : > > > Just seen this one and wanted to try it out obviously :) > > But it doesn't work for me on Windows. Using CMake GUI I notice that the > > dropdown menu LYX_USE_QT does not contai

Re: [LyX/master] Allow compiling with Qt6

2021-03-16 Thread Kornel Benko
Am Tue, 16 Mar 2021 16:32:49 +0100 schrieb Yu Jin : > Just seen this one and wanted to try it out obviously :) > But it doesn't work for me on Windows. Using CMake GUI I notice that the > dropdown menu LYX_USE_QT does not contain QT6, just QT5, QT4 and AUTO as > before. When I choose AUTO it fails

Re: [LyX/master] Allow compiling with Qt6

2021-03-16 Thread Yu Jin
Just seen this one and wanted to try it out obviously :) But it doesn't work for me on Windows. Using CMake GUI I notice that the dropdown menu LYX_USE_QT does not contain QT6, just QT5, QT4 and AUTO as before. When I choose AUTO it fails with: CMake Error at development/cmake/modules/FindQt4.cmak

Re: [LyX/master] Allow compiling with Qt6

2021-03-16 Thread Kornel Benko
Am Tue, 16 Mar 2021 15:43:59 +0100 schrieb Enrico Forestieri : > On Tue, Mar 16, 2021 at 11:08:03AM +0100, Kornel Benko wrote: > > > > Why not use QRegularExpression as in src/lyxfind.cpp? > > What do you mean? Unconditionally replacing QRegExp? I don't think it > can be done without dropping

Re: [LyX/master] Allow compiling with Qt6

2021-03-16 Thread Enrico Forestieri
On Tue, Mar 16, 2021 at 11:08:03AM +0100, Kornel Benko wrote: > > Why not use QRegularExpression as in src/lyxfind.cpp? What do you mean? Unconditionally replacing QRegExp? I don't think it can be done without dropping support for Qt4. -- Enrico -- lyx-devel mailing list lyx-devel@lists.lyx.or

Re: [LyX/master] Allow compiling with Qt6

2021-03-16 Thread Jean-Marc Lasgouttes
Le 16/03/2021 à 10:48, Enrico Forestieri a écrit : LyX 2.4 will still support Qt 4.8. I trust this is old enough :) So, I infer that the attached patch is needed. Needed, I do not know. I think it still works with Qt4.5 and we had one user at some time, but nobody knows whether it still comp

Re: [LyX/master] Allow compiling with Qt6

2021-03-16 Thread Kornel Benko
Am Tue, 16 Mar 2021 10:44:13 +0100 schrieb Enrico Forestieri : > On Mon, Mar 15, 2021 at 10:52:19PM -0400, Scott Kostyshak wrote: > > > > Are there still QRegExp that need to be changed? I got an error from > > src/support/qstring_helpers.cpp. > > I actually don't know. Let me explain. There s

Re: [LyX/master] Allow compiling with Qt6

2021-03-16 Thread Enrico Forestieri
On Tue, Mar 16, 2021 at 09:28:03AM +0100, Jean-Marc Lasgouttes wrote: > Le 16/03/2021 à 07:38, Andreas Nicolai a écrit : > > Hi All, > > > > just looked into Qt6 for another project of mine and noticed that there > > is actually nothing in Qt6 new, that's really needed. Same for Lyx - or > > is

Re: [LyX/master] Allow compiling with Qt6

2021-03-16 Thread Enrico Forestieri
On Mon, Mar 15, 2021 at 10:52:19PM -0400, Scott Kostyshak wrote: > > Are there still QRegExp that need to be changed? I got an error from > src/support/qstring_helpers.cpp. I actually don't know. Let me explain. There should be a compatibility layer for using Qt5 constructs, so I didn't search fo

Re: [LyX/master] Allow compiling with Qt6

2021-03-16 Thread Jean-Marc Lasgouttes
Le 16/03/2021 à 07:38, Andreas Nicolai a écrit : Hi All, just looked into Qt6 for another project of mine and noticed that there is actually nothing in Qt6 new, that's really needed. Same for Lyx - or is there really any feature of Qt6 necessary? So, I was wondering - Lyx is being used by a l

Re: [LyX/master] Allow compiling with Qt6

2021-03-16 Thread Andreas Nicolai
Hi Stephan, Am 16.03.21 um 08:01 schrieb Stephan Witt: > That’s interesting. My plan was to go with the LTS versions of Qt. > So I had the plan to use either 5.9.x or 5.12.x. I noticed already > the incompatibility of 5.12.x with El Capitan. What can you say > about the pros and cons of Qt 5.11 v

Re: [LyX/master] Allow compiling with Qt6

2021-03-16 Thread Stephan Witt
Am 16.03.2021 um 07:38 schrieb Andreas Nicolai : > > Hi All, > > just looked into Qt6 for another project of mine and noticed that there > is actually nothing in Qt6 new, that's really needed. Same for Lyx - or > is there really any feature of Qt6 necessary? Hi Andreas, thank you for your mail.

Re: [LyX/master] Allow compiling with Qt6

2021-03-15 Thread Andreas Nicolai
Hi All, just looked into Qt6 for another project of mine and noticed that there is actually nothing in Qt6 new, that's really needed. Same for Lyx - or is there really any feature of Qt6 necessary? So, I was wondering - Lyx is being used by a lot of people with not so brand-new notebooks, and ha

Re: [LyX/master] Allow compiling with Qt6

2021-03-15 Thread Scott Kostyshak
On Mon, Mar 15, 2021 at 05:33:49PM +0100, Enrico Forestieri wrote: > commit 635a7d77ddc94c63d52494dc4d68a930faccf45f > Author: Enrico Forestieri > Date: Mon Mar 15 17:09:09 2021 +0100 > > Allow compiling with Qt6 > > This commit allows compiling LyX with Qt6 when using autotools. >

Re: [LyX/master] Allow compiling with Qt6

2021-03-15 Thread Richard Kimberly Heck
On 3/15/21 1:13 PM, Pavel Sanda wrote: On Mon, Mar 15, 2021 at 05:57:38PM +0100, Kornel Benko wrote: Am Mon, 15 Mar 2021 17:33:49 +0100 (CET) schrieb Enrico Forestieri : commit 635a7d77ddc94c63d52494dc4d68a930faccf45f Author: Enrico Forestieri Date: Mon Mar 15 17:09:09 2021 +0100 Allo

Re: [LyX/master] Allow compiling with Qt6

2021-03-15 Thread Pavel Sanda
On Mon, Mar 15, 2021 at 05:57:38PM +0100, Kornel Benko wrote: > Am Mon, 15 Mar 2021 17:33:49 +0100 (CET) > schrieb Enrico Forestieri : > > > commit 635a7d77ddc94c63d52494dc4d68a930faccf45f > > Author: Enrico Forestieri > > Date: Mon Mar 15 17:09:09 2021 +0100 > > > > Allow compiling with Q

Re: [LyX/master] Allow compiling with Qt6

2021-03-15 Thread Kornel Benko
Am Mon, 15 Mar 2021 17:33:49 +0100 (CET) schrieb Enrico Forestieri : > commit 635a7d77ddc94c63d52494dc4d68a930faccf45f > Author: Enrico Forestieri > Date: Mon Mar 15 17:09:09 2021 +0100 > > Allow compiling with Qt6 I had the impression we wanted to postpone compilation with Qt6 to after 2