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.