Re: #11821: Lyx and OS/2

2023-05-04 Thread Kornel Benko
Am Thu, 4 May 2023 22:42:52 -0400
schrieb Scott Kostyshak :

> On Mon, May 01, 2023 at 07:30:13PM +0200, Elbert Pol wrote:
> > Hi again,
> > 
> > Ok the Qt6 also build even with the svgwidget.
> > As build with Qt6 it's not complaining about it.
> > 
> > I found that i had a bad option in mine CMD file...
> > -DUSE_QT=QT6 must be -DLYX_USE_QT=QT6
> > It's compiling fine ...
> > 
> > Only install cannot find some off the .GMO files

The .gmo-files are part of sources. Not all of them though.
To create them too, you have to have the gettext commands installed.
Also use -DLYX_NLS=ON

> > Also i see when starting lyx it cannot find, article.cls, calc sty,
> > lambda.sty, lyxskak.sty, pst-node.sty  
> 
> Hi Elbert,
> 
> Thanks for those details.
> 
> I'm not sure what the problem is. Did you try Tools > reconfigure?
> 
> Best,
> Scott

Kornel


pgpzVSYi_rxX3.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: #11821: Lyx and OS/2

2023-05-04 Thread Scott Kostyshak
On Mon, May 01, 2023 at 07:30:13PM +0200, Elbert Pol wrote:
> Hi again,
> 
> Ok the Qt6 also build even with the svgwidget.
> As build with Qt6 it's not complaining about it.
> 
> I found that i had a bad option in mine CMD file...
> -DUSE_QT=QT6 must be -DLYX_USE_QT=QT6
> It's compiling fine ...
> 
> Only install cannot find some off the .GMO files
> 
> Also i see when starting lyx it cannot find, article.cls, calc sty,
> lambda.sty, lyxskak.sty, pst-node.sty

Hi Elbert,

Thanks for those details.

I'm not sure what the problem is. Did you try Tools > reconfigure?

Best,
Scott
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: #11821: Lyx and OS/2

2023-04-27 Thread Elbert Pol
HiThanks for this advice, i just been out of town for 5 days, as soon i back i try 👍Op 27 apr. 2023 16:57 schreef Scott Kostyshak :On Thu, Apr 27, 2023 at 08:26:26AM +0200, Kornel Benko wrote:
> Am Wed, 26 Apr 2023 21:36:57 +0200
> schrieb Elbert Pol :
> 
> > On Saturday, January 2, 2021 11:47:42 PM CET, LyX Ticket Tracker wrote:
> > > #11821: Lyx and OS/2
> > > -+--
> > >  Reporter:  Tellie   |   Owner:  lasgouttes
> > >  Type:  defect   |  Status:  new
> > >  Priority:  normal   |   Milestone:  2.3.x
> > > Component:  general  | Version:  unspecified
> > >  Severity:  normal   |  Resolution:
> > >  Keywords:  triage   |
> > > -+--
> > > Changes (by rikiheck):
> > >
> > >  * keywords:   => triage
> > >
> > >
> > > Comment:
> > >
> > >  Any news on this?
> > >  
> > Hi all
> > 
> > I try to compile the master
> > 
> > But sofar its asking for .
> > CMake Error at CMakeLists.txt:826 (find_package):
> >   Could not find a package configuration file provided by "Qt5SvgWidgets"
> >   with any of the following names:
> > 
> > Qt5SvgWidgetsConfig.cmake
> > qt5svgwidgets-config.cmake
> > 
> >   Add the installation prefix of "Qt5SvgWidgets" to CMAKE_PREFIX_PATH or 
> > set
> >   "Qt5SvgWidgets_DIR" to a directory containing one of the above files.  If
> >   "Qt5SvgWidgets" provides a separate development package or SDK, be sure 
> > it
> >   has been installed.
> > Call Stack (most recent call first):
> >   src/frontends/qt/CMakeLists.txt:50 (qt_use_modules)
> > 
> > But we dont have widgets on OS2 for now
> > Is there a way to disable it?
> > 
> > Or should i try better with QT5 ?
> 
> I'd prefer to try first to change the line in src/frontends/qt/CMakeLists.txt:50
> from
> 	qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg SvgWidgets)
> to
> 	qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg)
> 
> If this helps, we can handle it.
> 
> 	Kornel

Thanks for that idea, Kornel. Let's keep Elbert in CC since I don't think they're subscribed to lyx-devel.

Elbert, does it work when you make the change suggested by Kornel above?

Scott

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: #11821: Lyx and OS/2

2023-04-27 Thread Scott Kostyshak
On Thu, Apr 27, 2023 at 08:26:26AM +0200, Kornel Benko wrote:
> Am Wed, 26 Apr 2023 21:36:57 +0200
> schrieb Elbert Pol :
> 
> > On Saturday, January 2, 2021 11:47:42 PM CET, LyX Ticket Tracker wrote:
> > > #11821: Lyx and OS/2
> > > -+--
> > >  Reporter:  Tellie   |   Owner:  lasgouttes
> > >  Type:  defect   |  Status:  new
> > >  Priority:  normal   |   Milestone:  2.3.x
> > > Component:  general  | Version:  unspecified
> > >  Severity:  normal   |  Resolution:
> > >  Keywords:  triage   |
> > > -+--
> > > Changes (by rikiheck):
> > >
> > >  * keywords:   => triage
> > >
> > >
> > > Comment:
> > >
> > >  Any news on this?
> > >  
> > Hi all
> > 
> > I try to compile the master
> > 
> > But sofar its asking for .
> > CMake Error at CMakeLists.txt:826 (find_package):
> >   Could not find a package configuration file provided by "Qt5SvgWidgets"
> >   with any of the following names:
> > 
> > Qt5SvgWidgetsConfig.cmake
> > qt5svgwidgets-config.cmake
> > 
> >   Add the installation prefix of "Qt5SvgWidgets" to CMAKE_PREFIX_PATH or 
> > set
> >   "Qt5SvgWidgets_DIR" to a directory containing one of the above files.  If
> >   "Qt5SvgWidgets" provides a separate development package or SDK, be sure 
> > it
> >   has been installed.
> > Call Stack (most recent call first):
> >   src/frontends/qt/CMakeLists.txt:50 (qt_use_modules)
> > 
> > But we dont have widgets on OS2 for now
> > Is there a way to disable it?
> > 
> > Or should i try better with QT5 ?
> 
> I'd prefer to try first to change the line in 
> src/frontends/qt/CMakeLists.txt:50
> from
>   qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg SvgWidgets)
> to
>   qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg)
> 
> If this helps, we can handle it.
> 
>   Kornel

Thanks for that idea, Kornel. Let's keep Elbert in CC since I don't think 
they're subscribed to lyx-devel.

Elbert, does it work when you make the change suggested by Kornel above?

Scott


signature.asc
Description: PGP signature
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: #11821: Lyx and OS/2

2023-04-26 Thread Kornel Benko
Am Wed, 26 Apr 2023 21:07:37 -0400
schrieb Scott Kostyshak :

> On Wed, Apr 26, 2023 at 09:36:57PM +0200, Elbert Pol wrote:
> > On Saturday, January 2, 2021 11:47:42 PM CET, LyX Ticket Tracker wrote:  
> > > #11821: Lyx and OS/2
> > > -+--
> > >  Reporter:  Tellie   |   Owner:  lasgouttes
> > >  Type:  defect   |  Status:  new
> > >  Priority:  normal   |   Milestone:  2.3.x
> > > Component:  general  | Version:  unspecified
> > >  Severity:  normal   |  Resolution:
> > >  Keywords:  triage   |
> > > -+--
> > > Changes (by rikiheck):
> > > 
> > >  * keywords:   => triage
> > > 
> > > 
> > > Comment:
> > > 
> > >  Any news on this?
> > >   
> > Hi all
> > 
> > I try to compile the master
> > 
> > But sofar its asking for .
> > CMake Error at CMakeLists.txt:826 (find_package):
> >  Could not find a package configuration file provided by "Qt5SvgWidgets"
> >  with any of the following names:
> > 
> >Qt5SvgWidgetsConfig.cmake
> >qt5svgwidgets-config.cmake
> > 
> >  Add the installation prefix of "Qt5SvgWidgets" to CMAKE_PREFIX_PATH or set
> >  "Qt5SvgWidgets_DIR" to a directory containing one of the above files.  If
> >  "Qt5SvgWidgets" provides a separate development package or SDK, be sure it
> >  has been installed.
> > Call Stack (most recent call first):
> >  src/frontends/qt/CMakeLists.txt:50 (qt_use_modules)
> > 
> > But we dont have widgets on OS2 for now
> > Is there a way to disable it?
> > 
> > Or should i try better with QT5 ?
> > -- 
> > With kind regards,   Elbert Pol  
> 
> Thanks for giving master a try, Elbert!
> 
> I'm not sure what to do. Hopefully someone else has an idea. Indeed, it
> is strange that the Qt5 library is required for you even though you are
> compiling with Qt6. In theory that should not happen.
> 
> Scott

Also we may check for for the string Qt5 in CMakeCache.txt. There should be no 
trace,
except for
LYX_USE_QT-STRINGS:INTERNAL=AUTO;QT5;QT6

Kornel


pgpwUdOL1pwwV.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: #11821: Lyx and OS/2

2023-04-26 Thread Kornel Benko
Am Wed, 26 Apr 2023 21:36:57 +0200
schrieb Elbert Pol :

> On Saturday, January 2, 2021 11:47:42 PM CET, LyX Ticket Tracker wrote:
> > #11821: Lyx and OS/2
> > -+--
> >  Reporter:  Tellie   |   Owner:  lasgouttes
> >  Type:  defect   |  Status:  new
> >  Priority:  normal   |   Milestone:  2.3.x
> > Component:  general  | Version:  unspecified
> >  Severity:  normal   |  Resolution:
> >  Keywords:  triage   |
> > -+--
> > Changes (by rikiheck):
> >
> >  * keywords:   => triage
> >
> >
> > Comment:
> >
> >  Any news on this?
> >  
> Hi all
> 
> I try to compile the master
> 
> But sofar its asking for .
> CMake Error at CMakeLists.txt:826 (find_package):
>   Could not find a package configuration file provided by "Qt5SvgWidgets"
>   with any of the following names:
> 
> Qt5SvgWidgetsConfig.cmake
> qt5svgwidgets-config.cmake
> 
>   Add the installation prefix of "Qt5SvgWidgets" to CMAKE_PREFIX_PATH or 
> set
>   "Qt5SvgWidgets_DIR" to a directory containing one of the above files.  If
>   "Qt5SvgWidgets" provides a separate development package or SDK, be sure 
> it
>   has been installed.
> Call Stack (most recent call first):
>   src/frontends/qt/CMakeLists.txt:50 (qt_use_modules)
> 
> But we dont have widgets on OS2 for now
> Is there a way to disable it?
> 
> Or should i try better with QT5 ?

I'd prefer to try first to change the line in src/frontends/qt/CMakeLists.txt:50
from
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg SvgWidgets)
to
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg)

If this helps, we can handle it.

Kornel


pgp1ORuNcaywu.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: #11821: Lyx and OS/2

2023-04-26 Thread Scott Kostyshak
On Wed, Apr 26, 2023 at 09:36:57PM +0200, Elbert Pol wrote:
> On Saturday, January 2, 2021 11:47:42 PM CET, LyX Ticket Tracker wrote:
> > #11821: Lyx and OS/2
> > -+--
> >  Reporter:  Tellie   |   Owner:  lasgouttes
> >  Type:  defect   |  Status:  new
> >  Priority:  normal   |   Milestone:  2.3.x
> > Component:  general  | Version:  unspecified
> >  Severity:  normal   |  Resolution:
> >  Keywords:  triage   |
> > -+--
> > Changes (by rikiheck):
> > 
> >  * keywords:   => triage
> > 
> > 
> > Comment:
> > 
> >  Any news on this?
> > 
> Hi all
> 
> I try to compile the master
> 
> But sofar its asking for .
> CMake Error at CMakeLists.txt:826 (find_package):
>  Could not find a package configuration file provided by "Qt5SvgWidgets"
>  with any of the following names:
> 
>Qt5SvgWidgetsConfig.cmake
>qt5svgwidgets-config.cmake
> 
>  Add the installation prefix of "Qt5SvgWidgets" to CMAKE_PREFIX_PATH or set
>  "Qt5SvgWidgets_DIR" to a directory containing one of the above files.  If
>  "Qt5SvgWidgets" provides a separate development package or SDK, be sure it
>  has been installed.
> Call Stack (most recent call first):
>  src/frontends/qt/CMakeLists.txt:50 (qt_use_modules)
> 
> But we dont have widgets on OS2 for now
> Is there a way to disable it?
> 
> Or should i try better with QT5 ?
> -- 
> With kind regards,   Elbert Pol

Thanks for giving master a try, Elbert!

I'm not sure what to do. Hopefully someone else has an idea. Indeed, it
is strange that the Qt5 library is required for you even though you are
compiling with Qt6. In theory that should not happen.

Scott


signature.asc
Description: PGP signature
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: #11821: Lyx and OS/2

2023-04-26 Thread Elbert Pol

On Saturday, January 2, 2021 11:47:42 PM CET, LyX Ticket Tracker wrote:

#11821: Lyx and OS/2
-+--
 Reporter:  Tellie   |   Owner:  lasgouttes
 Type:  defect   |  Status:  new
 Priority:  normal   |   Milestone:  2.3.x
Component:  general  | Version:  unspecified
 Severity:  normal   |  Resolution:
 Keywords:  triage   |
-+--
Changes (by rikiheck):

 * keywords:   => triage


Comment:

 Any news on this?


Hi all

I try to compile the master

But sofar its asking for .
CMake Error at CMakeLists.txt:826 (find_package):
 Could not find a package configuration file provided by "Qt5SvgWidgets"
 with any of the following names:

   Qt5SvgWidgetsConfig.cmake
   qt5svgwidgets-config.cmake

 Add the installation prefix of "Qt5SvgWidgets" to CMAKE_PREFIX_PATH or 
set

 "Qt5SvgWidgets_DIR" to a directory containing one of the above files.  If
 "Qt5SvgWidgets" provides a separate development package or SDK, be sure 
it

 has been installed.
Call Stack (most recent call first):
 src/frontends/qt/CMakeLists.txt:50 (qt_use_modules)

But we dont have widgets on OS2 for now
Is there a way to disable it?

Or should i try better with QT5 ?
--
With kind regards, 
  Elbert Pol

--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: #11821: Lyx and OS/2

2023-04-25 Thread Scott Kostyshak
On Tue, Mar 28, 2023 at 08:17:45PM +0200, Elbert Pol wrote:
> Hi All,
> 
> I just tried to compile 2.3.7
> And after a few changes it's compiling now :)
> 
> Use gcc 12.2.0 and Qt v5.15.2 and cmake 3.20.6
> 
> Thankz for all :)

Thanks, Elbert!

Could you please also try compiling "master" branch? A lot has changed and I'm 
curious to know whether you see any warnings/errors there.

Thanks,
Scott


signature.asc
Description: PGP signature
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: #11821: Lyx and OS/2

2023-03-29 Thread Pavel Sanda
On Tue, Mar 28, 2023 at 03:39:49PM -0400, Scott Kostyshak wrote:
> On Tue, Mar 28, 2023 at 08:17:45PM +0200, Elbert Pol wrote:
> > Hi All,
> > 
> > I just tried to compile 2.3.7
> > And after a few changes it's compiling now :)
> > 
> > Use gcc 12.2.0 and Qt v5.15.2 and cmake 3.20.6
> > 
> > Thankz for all :)
> 
> Hi Elbert,
> 
> That's great, thanks for letting us know! What changes specifically did you 
> need to make? Is there anything we can do to make it easier?

I will be more specific. We have last report of working OS/2 with LyX 2.0.7 on 
os2ports.smedley.info.
We will be happy to commit your instructions to OS/2 compilation into our 2.3.x 
tree, even better we
can put the OS/2 LyX package to our ftp server if something like OS/2 binary 
package can be produced
on your side...

Pavel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: #11821: Lyx and OS/2

2023-03-28 Thread Scott Kostyshak
On Tue, Mar 28, 2023 at 08:17:45PM +0200, Elbert Pol wrote:
> Hi All,
> 
> I just tried to compile 2.3.7
> And after a few changes it's compiling now :)
> 
> Use gcc 12.2.0 and Qt v5.15.2 and cmake 3.20.6
> 
> Thankz for all :)

Hi Elbert,

That's great, thanks for letting us know! What changes specifically did you 
need to make? Is there anything we can do to make it easier?

Scott


signature.asc
Description: PGP signature
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: #11821: Lyx and OS/2

2023-03-28 Thread Elbert Pol

Hi All,

I just tried to compile 2.3.7
And after a few changes it's compiling now :)

Use gcc 12.2.0 and Qt v5.15.2 and cmake 3.20.6

Thankz for all :)


On Saturday, January 2, 2021 11:47:42 PM CET, LyX Ticket Tracker wrote:

#11821: Lyx and OS/2
-+--
 Reporter:  Tellie   |   Owner:  lasgouttes
 Type:  defect   |  Status:  new
 Priority:  normal   |   Milestone:  2.3.x
Component:  general  | Version:  unspecified
 Severity:  normal   |  Resolution:
 Keywords:  triage   |
-+--
Changes (by rikiheck):

 * keywords:   => triage


Comment:

 Any news on this?



--
With kind regards, 
  Elbert Pol

--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel