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

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 >> > >

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

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

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

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

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 > > >

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

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

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

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

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

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

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

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

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

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

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

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

Re: [LyX/master] Allow compiling with Qt6

2021-03-16 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