On 05/01/2017 05:37 AM, José Abílio Matos wrote:
> On Monday, 1 May 2017 03.46.51 WEST Richard Heck wrote:
>> On 04/30/2017 07:23 PM, Scott Kostyshak wrote:
>>> Suppose that a system has both Qt 4 and Qt 5 development libraries
>>> installed. Should our automake and CMake build systems choose to use Qt
>>> 4 or Qt 5?
>>>
>>> Uwe made a good point that Qt 4 support is ending. See, for example, the
>>>
>>> following paragraph (from [1]):
>>>   Qt 4.8.7 is planned to be the last patch release of the Qt 4 series.
>>>   Standard support is available until December 2015, after which extended
>>>   support will be available. We recommend all active projects to migrate
>>>   to Qt 5, as new operating systems and compilers with Qt 4.8 will not be
>>>   supported. If you have challenges migrating to Qt 5, please contact us
>>>   or some of our service partners for assistance.
>>>
>>> The argument to still choose Qt 4 by default is that LyX 5.6 is the
>>> minimum recommended version for LyX.
>>>
>>> If we do want to switch to Qt 5 by default for 2.3.0, perhaps we should
>>> give a warning or error for Qt less than (e.g.) 5.5 (maybe we do
>>> already?).
>> What exactly does one need to do to compile with Qt5 as it is?
>>
>> Richard
> From lyx.spec from Fedora:
>
> %if %{use_qt5}
> BuildRequires: pkgconfig(Qt5Core)
> BuildRequires: pkgconfig(Qt5Widgets)
> BuildRequires: pkgconfig(Qt5Gui)
> BuildRequires: pkgconfig(Qt5Svg)
> BuildRequires: pkgconfig(Qt5X11Extras)
> %else
> BuildRequires: qt4-devel
> %endif
>
> and then when building:
>
> %configure ... --enable-qt5 ...

Thanks for the pointer. For the record, I needed:
    qt5-qtbase-devel
    qt5-qtsvg-devel
    qt5-qtx11extras-devel

Richard

Reply via email to