Re: LYX_DATA_SUBDIR overwritten on MacOS in cmake install script

2025-02-06 Thread Kornel Benko
Am Thu, 6 Feb 2025 21:56:38 +0100 schrieb Kornel Benko : > > > Right, committed at ea55792f > > > > > > Kornel > > > > > > > > Thanks, but there is a typo in the elseif(). > > > > pdv > > > > Ouch, bad habit being to used to perl. > > Corrected at 0ef5bee5. Now should be time to add

Re: LYX_DATA_SUBDIR overwritten on MacOS in cmake install script

2025-02-06 Thread Kornel Benko
ces on MacOS are instead installed in a separate > >> "share" folder next to the app. > >> > >> In the topmost CMakeLists.txt LYX_DATA_SUBDIR is properly set in line > >> 506 but subsequently overwritten in line 590, resulting into > >>

Re: LYX_DATA_SUBDIR overwritten on MacOS in cmake install script

2025-02-06 Thread pdv
eLists.txt LYX_DATA_SUBDIR is properly set in line 506 but subsequently overwritten in line 590, resulting into - LYX_ABS_INSTALLED_DATADIR : .../lyx-qt6-cmake-xcode-build/LyX/share/LyX2.5/ - LYX_ABS_INSTALLED_LOCALEDIR : .../lyx-qt6-cmake-xcode-build/LyX/share/LyX2.5/locale causing thi

Re: LYX_DATA_SUBDIR overwritten on MacOS in cmake install script

2025-02-06 Thread Pavel Sanda
"share" folder next to the app. > > > > In the topmost CMakeLists.txt LYX_DATA_SUBDIR is properly set in line > > 506 but subsequently overwritten in line 590, resulting into > > > > - LYX_ABS_INSTALLED_DATADIR : > > .../lyx-qt6-cmake-xcode-bui

Re: LYX_DATA_SUBDIR overwritten on MacOS in cmake install script

2025-02-06 Thread Kornel Benko
SUBDIR is properly set in line > 506 but subsequently overwritten in line 590, resulting into > > - LYX_ABS_INSTALLED_DATADIR : > .../lyx-qt6-cmake-xcode-build/LyX/share/LyX2.5/ > - LYX_ABS_INSTALLED_LOCALEDIR : > .../lyx-qt6-cmake-xcode-build/LyX/share/LyX2.5/local

LYX_DATA_SUBDIR overwritten on MacOS in cmake install script

2025-02-05 Thread pdv
n line 590, resulting into - LYX_ABS_INSTALLED_DATADIR : .../lyx-qt6-cmake-xcode-build/LyX/share/LyX2.5/ - LYX_ABS_INSTALLED_LOCALEDIR : .../lyx-qt6-cmake-xcode-build/LyX/share/LyX2.5/locale causing this behavior. Probably APPLE must be excluded in this if(WIN32) ... else() ...endif(). p

Re: not found on macos/cmake/xcode build

2025-02-03 Thread pdv
On 03/02/2025 14:55, pdv wrote: I didn't build LyX for a long time and got now into this problem: I use CMake and XCode (on an M3 iMac with MacOS15.3). The problem is with ImageMagick-6 (provided by macports), the header file not being found. CMake does not complain but unfortunately

not found on macos/cmake/xcode build

2025-02-03 Thread pdv
I didn't build LyX for a long time and got now into this problem: I use CMake and XCode (on an M3 iMac with MacOS15.3). The problem is with ImageMagick-6 (provided by macports), the header file not being found. CMake does not complain but unfortunately also not when I mangle the in

Re: [LyX/master] Cmake build: Start demanding at least version 5.1 if compiling with gcc

2024-11-05 Thread Jean-Marc Lasgouttes
Le 05/11/2024 à 09:50, Pavel Sanda a écrit : Everything compiles fine with gcc 7 and Qt 5.9.5. Are we happy now? I think this was good move. Pavel And we have the possibility to switch to gcc 8 on this platform if the C++17 support is not sufficient. JMarc -- lyx-devel mailing list lyx-de

Re: [LyX/master] Cmake build: Start demanding at least version 5.1 if compiling with gcc

2024-11-05 Thread Pavel Sanda
On Mon, Nov 04, 2024 at 06:29:12PM +0100, Jean-Marc Lasgouttes wrote: > Le 25/10/2024 ?? 08:23, Pavel Sanda a écrit : > > Googling around > > 16.04 has Qt 5.5.1 & Python 3.5 & gcc 5.4 available even if not default. > > 18.04 has Qt 5.9.5 & Python 3.6 & gcc 7.5 available > > > > We did unnecessaril

Re: [LyX/master] Cmake build: Start demanding at least version 5.1 if compiling with gcc

2024-11-04 Thread Kornel Benko
latest commits, we now support Ubuntu 18.04, which actually has > > python 3.8 in its repositories. > > > > Everything compiles fine with gcc 7 and Qt 5.9.5. > > Kornel, I did not modify CMake stuff for the Qt version (and I do not > know whether CMake 3.10, which is available with

Re: [LyX/master] Cmake build: Start demanding at least version 5.1 if compiling with gcc

2024-11-04 Thread Jean-Marc Lasgouttes
an require gcc 7 only, but I think you just killed support Qt 5.9.5 anyway? With my latest commits, we now support Ubuntu 18.04, which actually has python 3.8 in its repositories. Everything compiles fine with gcc 7 and Qt 5.9.5. Kornel, I did not modify CMake stuff for the Qt version (an

Re: [LyX/master] Cmake build: Start demanding at least version 5.1 if compiling with gcc

2024-11-04 Thread Jean-Marc Lasgouttes
Le 25/10/2024 à 08:23, Pavel Sanda a écrit : Googling around 16.04 has Qt 5.5.1 & Python 3.5 & gcc 5.4 available even if not default. 18.04 has Qt 5.9.5 & Python 3.6 & gcc 7.5 available We did unnecessarily drastic cut. We can require gcc 7 only, but I think you just killed support Qt 5.9.5 anyw

Re: [LyX/master] Cmake build: Start demanding at least version 5.1 if compiling with gcc

2024-10-25 Thread Jean-Marc Lasgouttes
Le 24/10/2024 à 15:43, Pavel Sanda a écrit : On Thu, Oct 24, 2024 at 12:43:49PM +, Kornel Benko wrote: commit d6fba3b94e54ac58806d7cb65584edfdbe6d515e Author: Kornel Benko Date: Thu Oct 24 14:52:22 2024 +0200 Cmake build: Start demanding at least version 5.1 if compiling with gcc

Re: [LyX/master] Cmake build: Start demanding at least version 5.1 if compiling with gcc

2024-10-24 Thread Pavel Sanda
On Fri, Oct 25, 2024 at 12:43:26AM +0200, Jean-Marc Lasgouttes wrote: > >I thought that distros which have GCC<8 do not ship qt5, but qt4. > >Am I wrong here? Otherwise how are you going even to test it? > > Ubuntu 15.10 is GCC 5.4 and Qt 5.4. Just what we said except for python. > > I can almost

Re: [LyX/master] Cmake build: Start demanding at least version 5.1 if compiling with gcc

2024-10-24 Thread Pavel Sanda
On Thu, Oct 24, 2024 at 04:05:37PM +0200, Jean-Marc Lasgouttes wrote: > It may be that we still compile with gcc 6, which has bits of C++17. I feel > a bit lazy to check this, but I could in principle. I would say that we > allow ourselves to use every C++17 feature and see afterward what compiler

Re: [LyX/master] Cmake build: Start demanding at least version 5.1 if compiling with gcc

2024-10-24 Thread Pavel Sanda
On Thu, Oct 24, 2024 at 12:43:49PM +, Kornel Benko wrote: > commit d6fba3b94e54ac58806d7cb65584edfdbe6d515e > Author: Kornel Benko > Date: Thu Oct 24 14:52:22 2024 +0200 > > Cmake build: Start demanding at least version 5.1 if compiling with gcc We just agreed on

Re: [LyX/master] Cmake build: Require std >= 17 for compilation of QT6

2024-06-25 Thread Kornel Benko
Am Tue, 25 Jun 2024 14:05:38 +0200 schrieb Jean-Marc Lasgouttes : > Le 25/06/2024 à 13:45, Kornel Benko a écrit : > > commit 5ee53450bbef83b60edde401b075f2e1d51ce5b7 > > Author: Kornel Benko > > Date: Tue Jun 25 13:50:32 2024 +0200 > > > > Cmake build:

Re: CMake and HAVE_HUNSPELL_CXXABI

2024-06-22 Thread Kornel Benko
Am Sat, 22 Jun 2024 14:33:36 +0200 schrieb "Jürgen Spitzmüller" : > Am Samstag, dem 22.06.2024 um 14:07 +0200 schrieb Jürgen Spitzmüller: > > If I compile master with cmake > > > > HAVE_HUNSPELL_CXXABI = FALSE > > > > although it should be true (and a

Re: CMake and HAVE_HUNSPELL_CXXABI

2024-06-22 Thread Jürgen Spitzmüller
Am Samstag, dem 22.06.2024 um 14:07 +0200 schrieb Jürgen Spitzmüller: > If I compile master with cmake > > HAVE_HUNSPELL_CXXABI = FALSE > > although it should be true (and also is with autotools). With a fresh build the problem is gone. Sorry for the noise. -- Jürgen -- ly

CMake and HAVE_HUNSPELL_CXXABI

2024-06-22 Thread Jürgen Spitzmüller
If I compile master with cmake HAVE_HUNSPELL_CXXABI = FALSE although it should be true (and also is with autotools). In consequence I get deprecation warning for hunspell commands (which are surpassed by the above boolean). This is with external hunspell. With -DLYX_EXTERNAL_HUNSPELL:BOOL=OFF

Re: CMake: LYX_PROGRAM_SUFFIX=OFF -> user dir .lyx or .lyx2.4?

2024-05-28 Thread Jean-Marc Lasgouttes
Le 26/05/2024 à 12:30, Kornel Benko a écrit : Am Sun, 26 May 2024 08:52:30 +0200 schrieb Jean-Marc Lasgouttes : For a reference point, that is what happens with auto tools. However the macOS packaging usus the same convention as you describe. Kornel, we should decide what is best :) I prefer

Re: CMake: LYX_PROGRAM_SUFFIX=OFF -> user dir .lyx or .lyx2.4?

2024-05-26 Thread Scott Kostyshak
On Sun, May 26, 2024 at 12:30:18PM GMT, Kornel Benko wrote: > Am Sun, 26 May 2024 08:52:30 +0200 > schrieb Jean-Marc Lasgouttes : > > > For a reference point, that is what happens with auto tools. However the > > macOS > > packaging usus the same convention as you describe. > > > > Kornel, we sh

Re: CMake: LYX_PROGRAM_SUFFIX=OFF -> user dir .lyx or .lyx2.4?

2024-05-26 Thread Kornel Benko
Am Sun, 26 May 2024 08:52:30 +0200 schrieb Jean-Marc Lasgouttes : > For a reference point, that is what happens with auto tools. However the macOS > packaging usus the same convention as you describe. > > Kornel, we should decide what is best :) I prefer the suffix version of the user dir. Supp

Re: CMake: LYX_PROGRAM_SUFFIX=OFF -> user dir .lyx or .lyx2.4?

2024-05-25 Thread Jean-Marc Lasgouttes
For a reference point, that is what happens with auto tools. However the macOS packaging usus the same convention as you describe. Kornel, we should decide what is best :) JMarc Le 26 mai 2024 04:52:40 GMT+02:00, Scott Kostyshak a écrit : >(not important for 2.4.0 release) > > >If I set: > >

CMake: LYX_PROGRAM_SUFFIX=OFF -> user dir .lyx or .lyx2.4?

2024-05-25 Thread Scott Kostyshak
(not important for 2.4.0 release) If I set: -DLYX_PROGRAM_SUFFIX=OFF then the created binary is just "lyx" (as opposed to lyx24). However, the user directory is ~/.lyx2.4. In this case, shouldn't the user directory be ~/.lyx? Scott signature.asc Description: PGP signature -- lyx-devel m

Re: [LyX/master] CMake: adapt to new location of Lexer

2024-04-28 Thread Jean-Marc Lasgouttes
Le 28 avril 2024 15:15:30 GMT+02:00, Scott Kostyshak a écrit  : >commit 23c45f76adf66082851632a28f9c259e0f43a212 >Author: Scott Kostyshak >Date: Sun Apr 28 09:13:55 2024 -0400 > >CMake: adapt to new location of Lexer Thanks! JMarc >Lexer is now in supp

Re: [LyX/2.4.1-devel] Cmake install: Forgotten to install tabletemplates.

2024-04-20 Thread Richard Kimberly Heck
On 4/20/24 13:33, Kornel Benko wrote: commit 10ca66a7fa7455836eda7169cfd288c1ed2364c1 Author: Kornel Benko Date: Sat Apr 20 19:33:25 2024 +0200 Cmake install: Forgotten to install tabletemplates. Just for clarity: Anything that goes to 2.4.x does not also need to go to 2.4.1-devel

Re: cmake build with qt6 (macos) does not include "plugins"

2024-04-05 Thread Kornel Benko
> >> I only tested this with Qt6. > > > > Unf we are staying out of Qt6 for mac because of serious issues we were not > > able to > > solve (see bug https://www.lyx.org/trac/ticket/12641 ). > > > > Pavel > > That will not be so easy

Re: cmake build with qt6 (macos) does not include "plugins"

2024-03-23 Thread Kornel Benko
> >> I only tested this with Qt6. > > > > Unf we are staying out of Qt6 for mac because of serious issues we were not > > able to > > solve (see bug https://www.lyx.org/trac/ticket/12641 ). > > > > Pavel > > That will not be so easy

Re: cmake build with qt6 (macos) does not include "plugins"

2024-03-21 Thread pdv
/ticket/12641 ). Pavel That will not be so easy (with cmake). The signing issue also holds for Qt5. I've done my homework again. I realized that my previous solution (although it worked for me) was not ideal. I can't remember why anymore but for Qt6 I copied just all the plugins, which

Re: cmake build on macos (Sonoma, XCode) fails and remedy

2024-03-20 Thread Kornel Benko
Am Tue, 19 Mar 2024 15:31:00 +0100 schrieb pdv : > Using the latest commit and building lyx with cmake on macos-sonoma with > xcode fails with multiple error messages like this one: > > -- > CMake Error in po/CMakeLists.txt: >The custom command generating &g

Re: cmake build with qt6 (macos) does not include "plugins"

2024-03-20 Thread Kornel Benko
>> only. Your patch is limited to APPLE and also works for me; If this > >>>>> problem doesn't occur for other platforms, it's ok for me of course. > >>>> > >>>> Probably no one else is using the bundle option (-DLYX_BUN

Re: cmake build with qt6 (macos) does not include "plugins"

2024-03-20 Thread Pavel Sanda
On Tue, Mar 19, 2024 at 04:02:34PM +0100, pdv wrote: > These steps have been added to my previous patch (new patch included) and I > also derived the QT_PLUGINS_DIR and QT_LIBRARY_DIRS variables from the > existing Qt6_DIR/Qt5_DIR variable, so they must not longer be supplied. I see there is some

Re: cmake build with qt6 (macos) does not include "plugins"

2024-03-19 Thread pdv
is problem doesn't occur for other platforms, it's ok for me of course. Probably no one else is using the bundle option (-DLYX_BUNDLE=ON). If you could try to use cmake without this option, I'd be interested if it works for you too. Apparently no problem. -DLYX_BUNDLE=OFF works t

cmake build on macos (Sonoma, XCode) fails and remedy

2024-03-19 Thread pdv
Using the latest commit and building lyx with cmake on macos-sonoma with xcode fails with multiple error messages like this one: -- CMake Error in po/CMakeLists.txt: The custom command generating /po/LyX2.4.cat.pot is attached to multiple targets: translations

Re: cmake build with qt6 (macos) does not include "plugins"

2023-11-11 Thread Scott Kostyshak
On Sat, Nov 11, 2023 at 06:07:14PM +0100, Kornel Benko wrote: > Am Sat, 11 Nov 2023 11:14:51 -0500 > schrieb Scott Kostyshak : > > > > diff --git a/development/cmake/post_install/CMakeLists.txt > > > b/development/cmake/post_install/CMakeLists.txt index > >

Re: cmake build with qt6 (macos) does not include "plugins"

2023-11-11 Thread Kornel Benko
Am Sat, 11 Nov 2023 11:14:51 -0500 schrieb Scott Kostyshak : > > diff --git a/development/cmake/post_install/CMakeLists.txt > > b/development/cmake/post_install/CMakeLists.txt index > > 52a2f782af..f83cdaad0b 100644 > > --- a/development/cmake/post_install/CMakeLists.t

Re: cmake build with qt6 (macos) does not include "plugins"

2023-11-11 Thread Scott Kostyshak
> > > > > suppose this should work for all platforms, > > > > > > > > > but I checked it on macos > > > > > > > > > only. Your patch is limited to APPLE and also works for me; > > > > > > > > > If this > >

Re: New macros LYX_BEGIN_MUTE_GCC_WARNING and LYX_END_MUTE_GCC_WARNING not defined in cmake conf

2023-11-10 Thread Kornel Benko
Am Fri, 10 Nov 2023 14:40:01 +0100 schrieb Jean-Marc Lasgouttes : > Le 10/11/2023 à 13:24, Kornel Benko a écrit : > > Thanks, but > > /usr2/src/lyx/lyx-git/src/Mover.h:18:10: fatal error: > > support/mute_warning.h: No such > > file or directory 18 | #include "support/mute_warning.h" > >|

Re: New macros LYX_BEGIN_MUTE_GCC_WARNING and LYX_END_MUTE_GCC_WARNING not defined in cmake conf

2023-11-10 Thread Jean-Marc Lasgouttes
Le 10/11/2023 à 13:24, Kornel Benko a écrit : Thanks, but /usr2/src/lyx/lyx-git/src/Mover.h:18:10: fatal error: support/mute_warning.h: No such file or directory 18 | #include "support/mute_warning.h" | ^~~~ Kornel Sigh. Fixed now. JMarc -- lyx-de

Re: New macros LYX_BEGIN_MUTE_GCC_WARNING and LYX_END_MUTE_GCC_WARNING not defined in cmake conf

2023-11-10 Thread Kornel Benko
Am Fri, 10 Nov 2023 13:16:35 +0100 schrieb Jean-Marc Lasgouttes : > Le 10/11/2023 à 12:58, Kornel Benko a écrit : > > > > This of course breaks the compilation. > > > > Please do not add new stuff at this stage. > > > > Would it be possible to add the definitions into some header file instead?

Re: New macros LYX_BEGIN_MUTE_GCC_WARNING and LYX_END_MUTE_GCC_WARNING not defined in cmake conf

2023-11-10 Thread Jean-Marc Lasgouttes
Le 10/11/2023 à 12:58, Kornel Benko a écrit : This of course breaks the compilation. Please do not add new stuff at this stage. Would it be possible to add the definitions into some header file instead? Sorry, I did not think of this (better) possibility. Done now. JMarc -- lyx-devel mail

New macros LYX_BEGIN_MUTE_GCC_WARNING and LYX_END_MUTE_GCC_WARNING not defined in cmake conf

2023-11-10 Thread Kornel Benko
This of course breaks the compilation. Please do not add new stuff at this stage. Would it be possible to add the definitions into some header file instead? Kornel pgpKxQrxIxltt.pgp Description: Digitale Signatur von OpenPGP -- lyx-devel mailing list lyx-devel@lists.lyx.org http://li

Re: cmake build with qt6 (macos) does not include "plugins"

2023-11-07 Thread pdv
other platforms, it's ok for me of course. Probably no one else is using the bundle option (-DLYX_BUNDLE=ON). If you could try to use cmake without this option, I'd be interested if it works for you too. Apparently no problem. -DLYX_BUNDLE=OFF works too for me. In this case we coul

Re: CMake fails on first configure

2023-11-06 Thread Yu Jin
Am So., 22. Okt. 2023 um 21:36 Uhr schrieb Yu Jin: > It's this on Windows: > > > C:/Qt/6.6.0/msvc2019_64/include/QtCoreC:/Qt/6.6.0/msvc2019_64/includeC:/Qt/6.6.0/msvc2019_64/include/QtZlib$<$>:>$<$>:C:/Qt/6.6.0/msvc2019_64/include/QtZlib/6.6.0>$<$>:C:/Qt/6.6.0/msvc2019_64/include/QtZlib/6.6.0/QtZl

Re: cmake build with qt6 (macos) does not include "plugins"

2023-11-06 Thread pdv
f course. Probably no one else is using the bundle option (-DLYX_BUNDLE=ON). If you could try to use cmake without this option, I'd be interested if it works for you too. Apparently no problem. -DLYX_BUNDLE=OFF works too for me. In this case we could get rid of it (probably). Kor

Re: cmake build with qt6 (macos) does not include "plugins"

2023-11-04 Thread Kornel Benko
>> only. Your patch is limited to APPLE and also works for me; If this > >>>>> problem doesn't occur for other platforms, it's ok for me of course. > >>>> > >>>> Probably no one else is using the bundle option (-DLYX_BUN

Re: cmake build with qt6 (macos) does not include "plugins"

2023-11-04 Thread pdv
I suppose this should work for all platforms, but I checked it on macos only. Your patch is limited to APPLE and also works for me; If this problem doesn't occur for other platforms, it's ok for me of course. Probably no one else is using the bundle option (-DLYX_BUNDLE=ON). If you co

Re: cmake build with qt6 (macos) does not include "plugins"

2023-11-04 Thread pdv
rk for all platforms, but I checked it on macos only. Your patch is limited to APPLE and also works for me; If this problem doesn't occur for other platforms, it's ok for me of course. Probably no one else is using the bundle option (-DLYX_BUNDLE=ON). If you could try to use cmake without

Re: CMake fails on first configure

2023-10-22 Thread Yu Jin
;> Normally I would > > > > >> expect they have same content. > > > > >> > > > > > > > > > > Well the following configure does not do any checks or > try_compile, so > > > it > > > > > can't run into this er

Re: CMake fails on first configure

2023-10-22 Thread Kornel Benko
> CMakeCache.txt. > > > >> Could you compare the first CMakeCache.txt with later created version? > > > >> Normally I would > > > >> expect they have same content. > > > >> > > > > > > > > Well the following

Re: CMake fails on first configure

2023-10-22 Thread Yu Jin
gt; Normally I would > > >> expect they have same content. > > >> > > > > > > Well the following configure does not do any checks or try_compile, so > it > > > can't run into this error . > > > > > > > I think it com

Re: CMake fails on first configure

2023-10-22 Thread Kornel Benko
onfigure does not do any checks or try_compile, so it > > can't run into this error . > > > > I think it comes from here: > https://git.lyx.org/?p=lyx.git;a=blob;f=development/cmake/ConfigureChecks.cmake;h=9062372c38e107156a7e561bce340045b0cd53e0;hb=0b5a9060c2afc3e68b3b0

Re: CMake fails on first configure

2023-10-22 Thread Yu Jin
>> Could you compare the first CMakeCache.txt with later created version? >> Normally I would >> expect they have same content. >> > > Well the following configure does not do any checks or try_compile, so it > can't run into this error . > I think it com

Re: CMake fails on first configure

2023-10-21 Thread Yu Jin
Am Sa., 21. Okt. 2023 um 19:42 Uhr schrieb Kornel Benko: > > What bothers me, is that the following configure is OK. > For me that implies that the first configure already created > CMakeCache.txt. > Could you compare the first CMakeCache.txt with later created version? > Normally I would > expect

Re: CMake fails on first configure

2023-10-21 Thread Kornel Benko
gt; Git bisect leads to this > > > > https://git.lyx.org/?p=lyx.git;a=commitdiff;h=ebe4834684a523de15f55068a32b487cae251bea > > > > I ran cmake with --debug-trycompile and found some more infos, here is > the error: > > -- Looking for C++ include QtGui/qtgui-config

Re: CMake fails on first configure

2023-10-21 Thread Yu Jin
> Ping... >> I don't really understand what is wrong here, could some1 help out with a >> minimal example so I can ask the Qt forum? >> >> Git bisect leads to this > > https://git.lyx.org/?p=lyx.git;a=commitdiff;h=ebe4834684a523de15f55068a32b487cae251bea > >

Re: CMake fails on first configure

2023-10-20 Thread Yu Jin
Am So., 15. Okt. 2023 um 22:32 Uhr schrieb Yu Jin : > Am Mo., 2. Okt. 2023 um 21:51 Uhr schrieb Yu Jin: > >> >> C:\Qt\6.5.2\msvc2019_64\include\QtGui\qtgui-config.h >> > > Ping... > I don't really understand what is wrong here, could some1 help out with a > minimal example so I can ask the Qt foru

Re: CMake fails on first configure

2023-10-15 Thread Yu Jin
Am Mo., 2. Okt. 2023 um 21:51 Uhr schrieb Yu Jin: > > C:\Qt\6.5.2\msvc2019_64\include\QtGui\qtgui-config.h > Ping... I don't really understand what is wrong here, could some1 help out with a minimal example so I can ask the Qt forum? -- Eugene -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: metainfo and cmake

2023-10-09 Thread Kornel Benko
Am Mon, 9 Oct 2023 10:14:48 +0200 schrieb Pavel Sanda : > On Sun, Oct 08, 2023 at 12:56:46PM +0200, Kornel Benko wrote: > > I was not planing to strip that part. The propose was an example. > > Plan is: > > If lyx with cmake is configured with > > -DLYX_PROGRAM_S

Re: metainfo and cmake

2023-10-09 Thread Pavel Sanda
On Sun, Oct 08, 2023 at 12:56:46PM +0200, Kornel Benko wrote: > I was not planing to strip that part. The propose was an example. > Plan is: > If lyx with cmake is configured with > -DLYX_PROGRAM_SUFFIX:BOOL=ON > the built executables have all a suffix. Only in this case sh

Re: metainfo and cmake

2023-10-08 Thread Kornel Benko
gt; > > > > > > Installing without using the suffix should be no problem for you (e.g. > > > > no change) > > > > My proposal would rename it to "LyX.metainfo.xml". > > > > > > > > > > This conflict is, I believ

Re: metainfo and cmake

2023-10-06 Thread Pavel Sanda
blem for you (e.g. no > > > change) > > > My proposal would rename it to "LyX.metainfo.xml". > > > > > > > This conflict is, I believe, also present in autoconf builds. The > > default there is to build without suffix. If I move to cmak

Re: metainfo and cmake

2023-10-06 Thread Kornel Benko
rename this file on install to be able to install multiple > >>> lyx-versions? > >>> Like "org.lyx.LyX.metainfo.xml" -> "LyX2.4.metainfo.xml" > >>> if using versioned suffixes? > >>> > >>> Kornel > >> > >

Re: metainfo and cmake

2023-10-06 Thread Cor Blom
-> "LyX2.4.metainfo.xml" if using versioned suffixes? Kornel Using my blue hat here (Fedora). :-) Although I am not using cmake (yet!) I prefer to have the simple version. When I need to take care of another version I prefer to do it myself. Looking into the system directory (/usr/sh

Re: metainfo and cmake

2023-10-06 Thread Kornel Benko
fo.xml" > > if using versioned suffixes? > > > > Kornel > > Using my blue hat here (Fedora). :-) > > Although I am not using cmake (yet!) I prefer to have the simple > version. When I need to take care of another version I prefer to do it > myself.

Re: metainfo and cmake

2023-10-06 Thread José Matos
my blue hat here (Fedora). :-) Although I am not using cmake (yet!) I prefer to have the simple version. When I need to take care of another version I prefer to do it myself. Looking into the system directory (/usr/share/metainfo/) I do not see any versioned file. My two ¢. -- José Ab

Re: metainfo and cmake

2023-10-06 Thread Kornel Benko
Am Fri, 6 Oct 2023 10:30:14 +0200 schrieb Kornel Benko : > Am Wed, 4 Oct 2023 10:57:08 +0200 > schrieb Cor Blom : > > > Hi, > > > > autoconf installs org.lyx.LyX.metainfo.xml automatically, but cmake does > > not. Intention, mistake, ...? > > > >

Re: metainfo and cmake

2023-10-06 Thread Kornel Benko
Am Wed, 4 Oct 2023 10:57:08 +0200 schrieb Cor Blom : > Hi, > > autoconf installs org.lyx.LyX.metainfo.xml automatically, but cmake does > not. Intention, mistake, ...? > > This is on openSUSE, building rpms using the buildservice. > > Thanks, > > Cor > Mist

metainfo and cmake

2023-10-04 Thread Cor Blom
Hi, autoconf installs org.lyx.LyX.metainfo.xml automatically, but cmake does not. Intention, mistake, ...? This is on openSUSE, building rpms using the buildservice. Thanks, Cor -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: CMake fails on first configure

2023-10-02 Thread Yu Jin
t; > > >> When I configure for the first time (into an empty folder) I get this > > >> error: > > >> > > >> CMake Error at > > >> > C:/lyx/master-build-64-qt6/CMakeFiles/CMakeScratch/TryCompile-re0snf/CMakeLists.txt:12 > > &

Re: CMake fails on first configure

2023-09-30 Thread Kornel Benko
Am Sat, 30 Sep 2023 09:35:57 +0200 schrieb Yu Jin : > Am So., 17. Sept. 2023 um 07:24 Uhr schrieb Yu Jin : > > > Am So., 17. Sept. 2023 um 07:23 Uhr schrieb Yu Jin > >: > > > >> When I configure for the first time (into an empty folder) I get this > >&

Re: CMake fails on first configure

2023-09-30 Thread Yu Jin
Am So., 17. Sept. 2023 um 07:24 Uhr schrieb Yu Jin : > Am So., 17. Sept. 2023 um 07:23 Uhr schrieb Yu Jin >: > >> When I configure for the first time (into an empty folder) I get this >> error: >> >> CMake Error at >> C:/lyx/master-build-64-qt6/CM

Re: CMake fails on first configure

2023-09-16 Thread Yu Jin
Am So., 17. Sept. 2023 um 07:23 Uhr schrieb Yu Jin : > When I configure for the first time (into an empty folder) I get this > error: > > CMake Error at > C:/lyx/master-build-64-qt6/CMakeFiles/CMakeScratch/TryCompile-re0snf/CMakeLists.txt:12 > (include_directories): > Error

CMake fails on first configure

2023-09-16 Thread Yu Jin
When I configure for the first time (into an empty folder) I get this error: CMake Error at C:/lyx/master-build-64-qt6/CMakeFiles/CMakeScratch/TryCompile-re0snf/CMakeLists.txt:12 (include_directories): Error evaluating generator expression: $ Target "Qt6::ZlibPrivate" not fou

Re: cmake build with qt6 (macos) does not include "plugins"

2023-03-21 Thread Kornel Benko
s should work for all platforms, but I checked it on macos > >> only. Your patch is limited to APPLE and also works for me; If this > >> problem doesn't occur for other platforms, it's ok for me of course. > > > > Probably no one else is using the bundle opt

Re: cmake build with qt6 (macos) does not include "plugins"

2023-03-21 Thread pdv
for me; If this problem doesn't occur for other platforms, it's ok for me of course. Probably no one else is using the bundle option (-DLYX_BUNDLE=ON). If you could try to use cmake without this option, I'd be interested if it works for you too. Apparently no problem. -DLYX_BU

Re: cmake build with qt6 (macos) does not include "plugins"

2023-03-21 Thread Kornel Benko
blem doesn't occur for other platforms, it's ok for me of course. Probably no one else is using the bundle option (-DLYX_BUNDLE=ON). If you could try to use cmake without this option, I'd be interested if it works for you too. In this case we could get rid of it (probably). K

Re: cmake build with qt6 (macos) does not include "plugins"

2023-03-20 Thread pdv
On 20/03/2023 10:50, Kornel Benko wrote: Am Sun, 19 Mar 2023 20:45:55 +0100 schrieb pdv : The merge branch killqt4 (commit 9376... on nov 28) broke the cmake install build on macos. The "development/cmake/post_install/CMakeLists.txt' SCRIPT checks for qt5 and copies all plugins if

Re: cmake build with qt6 (macos) does not include "plugins"

2023-03-20 Thread Kornel Benko
Am Sun, 19 Mar 2023 20:45:55 +0100 schrieb pdv : > The merge branch killqt4 (commit 9376... on nov 28) broke the cmake > install build on macos. > > The "development/cmake/post_install/CMakeLists.txt' SCRIPT checks for > qt5 and copies all plugins if different. This

cmake build with qt6 (macos) does not include "plugins"

2023-03-19 Thread pdv
The merge branch killqt4 (commit 9376... on nov 28) broke the cmake install build on macos. The "development/cmake/post_install/CMakeLists.txt' SCRIPT checks for qt5 and copies all plugins if different. This did work for qt4 but also for qt6. The killqt4 branch removed this els

Re: [LyX features/remotes/origin/killqt4] Amend ac248e39, get rid of Qt4 code also in cmake build

2022-11-19 Thread Kornel Benko
Am Sat, 19 Nov 2022 21:34:41 +0100 schrieb Kornel Benko : > > If that doesn't work, do you want me to try to push the commit you made? > > > > Scott > > Yes please. > Thanks. Kornel pgpTupO85XP9P.pgp Description: Digitale Signatur von OpenPGP -- lyx-devel mailing list lyx-devel@li

Re: [LyX features/remotes/origin/killqt4] Amend ac248e39, get rid of Qt4 code also in cmake build

2022-11-19 Thread Scott Kostyshak
On Sat, Nov 19, 2022 at 09:34:41PM +0100, Kornel Benko wrote: > Am Sat, 19 Nov 2022 15:13:41 -0500 > schrieb Scott Kostyshak : > > > On Sat, Nov 19, 2022 at 07:09:51PM +0100, Kornel Benko wrote: > > > Am Sat, 19 Nov 2022 11:50:44 -0500 > > > schrieb Scott Kostyshak : > > > > > > > git branch ki

Re: [LyX features/remotes/origin/killqt4] Amend ac248e39, get rid of Qt4 code also in cmake build

2022-11-19 Thread Kornel Benko
Am Sat, 19 Nov 2022 15:13:41 -0500 schrieb Scott Kostyshak : > On Sat, Nov 19, 2022 at 07:09:51PM +0100, Kornel Benko wrote: > > Am Sat, 19 Nov 2022 11:50:44 -0500 > > schrieb Scott Kostyshak : > > > > > git branch killqt4 --set-upstream-to features/killqt4 > > > > I get > > fatal: branch 'k

Re: [LyX features/remotes/origin/killqt4] Amend ac248e39, get rid of Qt4 code also in cmake build

2022-11-19 Thread Scott Kostyshak
On Sat, Nov 19, 2022 at 07:09:51PM +0100, Kornel Benko wrote: > Am Sat, 19 Nov 2022 11:50:44 -0500 > schrieb Scott Kostyshak : > > > git branch killqt4 --set-upstream-to features/killqt4 > > I get > fatal: branch 'killqt4' does not exist > Exit 128 > > > Sorry, I am lost. I cannot even remove t

Re: [LyX features/remotes/origin/killqt4] Amend ac248e39, get rid of Qt4 code also in cmake build

2022-11-19 Thread Kornel Benko
Am Sat, 19 Nov 2022 11:50:44 -0500 schrieb Scott Kostyshak : > git branch killqt4 --set-upstream-to features/killqt4 I get fatal: branch 'killqt4' does not exist Exit 128 Sorry, I am lost. I cannot even remove the wrong branch. $ git branch -r | grep kill origin/kill-print origin/kill-tex

Re: [LyX features/remotes/origin/killqt4] Amend ac248e39, get rid of Qt4 code also in cmake build

2022-11-19 Thread Scott Kostyshak
t; > at 1a46a146e45984091ef1b3168a7ba7b940a14b09 (commit) > > > > > > > > > > - Log > > > > > - > > > > > > > > > > commit 1a46a146e45984091ef1b3168a7ba7b940a14b09 > > > > > Author: Kornel Benko &g

Re: [LyX features/remotes/origin/killqt4] Amend ac248e39, get rid of Qt4 code also in cmake build

2022-11-19 Thread Scott Kostyshak
; > > > > > > > commit 1a46a146e45984091ef1b3168a7ba7b940a14b09 > > > > Author: Kornel Benko > > > > Date: Sat Nov 19 14:45:03 2022 +0100 > > > > > > > > Amend ac248e39, get rid of Qt4 code also in cmake build

Re: [LyX features/remotes/origin/killqt4] Amend ac248e39, get rid of Qt4 code also in cmake build

2022-11-19 Thread Kornel Benko
> > Date: Sat Nov 19 14:45:03 2022 +0100 > > > > > > Amend ac248e39, get rid of Qt4 code also in cmake build > > > > I seem to be unable to commit to origin/killqt4. > > I think it is on the "features" repository: features/killqt4. >

Re: [LyX features/remotes/origin/killqt4] Amend ac248e39, get rid of Qt4 code also in cmake build

2022-11-19 Thread Scott Kostyshak
ommit) > > > > - Log - > > > > commit 1a46a146e45984091ef1b3168a7ba7b940a14b09 > > Author: Kornel Benko > > Date: Sat Nov 19 14:45:03 2022 +0100 > > > > Amend ac248e39, get rid of Qt4 code also in cmake bu

Re: [LyX features/remotes/origin/killqt4] Amend ac248e39, get rid of Qt4 code also in cmake build

2022-11-19 Thread Kornel Benko
> > commit 1a46a146e45984091ef1b3168a7ba7b940a14b09 > Author: Kornel Benko > Date: Sat Nov 19 14:45:03 2022 +0100 > > Amend ac248e39, get rid of Qt4 code also in cmake build I seem to be unable to commit to origin/killqt4. Kornel pgpyY9FJgHrk9.pgp Description: Digitale Signatur von

Re: Trying to compile lyx2.4 with g++-12, QT6, cmake

2022-09-17 Thread Scott Kostyshak
On Sat, Sep 17, 2022 at 01:17:30PM +0200, Kornel Benko wrote: > > I got this error: > /usr2/src/lyx/lyx-git/src/frontends/qt/GuiApplication.h:123:22: error: > ‘virtual bool > lyx::frontend::GuiApplication::nativeEventFilter(const QByteArray&, void*, > long int*)’ > marked ‘override’, but does no

Trying to compile lyx2.4 with g++-12, QT6, cmake

2022-09-17 Thread Kornel Benko
I got this error: /usr2/src/lyx/lyx-git/src/frontends/qt/GuiApplication.h:123:22: error: ‘virtual bool lyx::frontend::GuiApplication::nativeEventFilter(const QByteArray&, void*, long int*)’ marked ‘override’, but does not override 123 | virtual bool nativeEventFilter(const QByteArray & e

Jenkins build is back to normal : Build branch "master" » ubuntu-latest-qt5-cmake #2429

2022-02-09 Thread ci-lyx
https://ci.inria.fr/lyx/job/build-master-head/job/ubuntu-latest-qt5-cmake/2429/ -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: Build failed in Jenkins: Build branch "master" » ubuntu-latest-qt5-cmake #2428

2022-02-09 Thread Kornel Benko
Am Wed, 9 Feb 2022 03:33:43 +0100 (CET) schrieb ci-...@inria.fr: > /build/lyx/src/frontends/qt/GuiView.cpp:646: undefined reference to > `lyx::frontend::GuiView::zoom_min_' > /build/lyx/src/frontends/qt/GuiView.cpp:646: > undefined reference to `lyx::frontend::GuiView::zoom_max_' Works with the

Build failed in Jenkins: Build branch "master" » ubuntu-latest-qt5-cmake #2428

2022-02-08 Thread ci-lyx
https://ci.inria.fr/lyx/job/build-master-head/job/ubuntu-latest-qt5-cmake/2428/-- [...truncated 1717 lines...] cd /build/lyx/build/src/mathed && /usr/bin/c++ -DBOOST_USER_CONFIG="" -DHUNSPELL_STATIC -DQT_CORE_LIB -I/build/lyx/build -I

Re: [LyX/master] Cmake build: Fix the invalid test for '-Wno-deprecated-copy' flag

2021-09-29 Thread Kornel Benko
Am Wed, 29 Sep 2021 18:16:44 +0200 schrieb Jean-Marc Lasgouttes : > Le 29/09/2021 à 17:32, Kornel Benko a écrit : > > commit c26db650a1e93573e4c09d4612ad45ae1e219854 > > Author: Kornel Benko > > Date: Wed Sep 29 17:53:50 2021 +0200 > > > > Cmake buil

Re: [LyX/master] Cmake build: Unify use of sanitizer

2021-09-24 Thread Scott Kostyshak
On Tue, Sep 21, 2021 at 11:11:11AM +0200, Kornel Benko wrote: > commit 4f46c22d034b22ca80e906b97a4f0a8021f37611 > Author: Kornel Benko > Date: Tue Sep 21 11:27:13 2021 +0200 > > Cmake build: Unify use of sanitizer > > The configuration variable is LYX_DEBUG

Re: Check for the -Wno-deprecacted-copy compiler option in cmake build

2021-04-05 Thread Kornel Benko
ad "Re: warning: unknown warning option > >> '-Wno-deprecated-copy'" (8/10/2020) in this list. > >> > >> This was solved for the autotools build with commit 4aee447af1 > >> (13/10/2020). > >> > >> I've implemented

  1   2   3   4   5   6   7   8   9   10   >