Re: On using different library name when building for qt5
Brought to you by:
rathmann
|
From: Uwe R. <Uwe...@ti...> - 2019-05-21 10:56:26
|
Hi Povilas, > Would the maintainer be open to patches that change the name of the > library to libqwt-qt5 when building for QT5? As it stands now, the Qt4 > and Qt5 versions of the library have the same name and thus it's not > possible to install them side by side. Well, in general I do not like to have local builds being installed in the same places as being used by the distros. Actually I have more versions of Qwt being installed, that one for Qt4 and one for Qt5. So I want to keep the policy to install into different directories, what makes having different library names unnecessary. Distros have their patches anyway. But if you like to change qwtLibraryTarget/qwtAddLibrary to make an optional suffix possible I will have a look at it. When working on these functions please try to use qtLibraryTarget/qtPlatformTargetSuffix if possible. See: https://github.com/uwerat/qskinny/blob/master/features/qskfunctions.pri I'm not sure when those had been introduced, but if it was after Qt 4.4 you need to keep the old code for earlier versions of Qt. Uwe PS: thanks for fixing the typos |