Overview
qwt-6.2.0-qt6-pkgconfig.patch is not complete, It should:
--- a/src/src.pro +++ b/src/src.pro @@ -82,14 +83,14 @@ greaterThan(QT_MAJOR_VERSION, 4) { QMAKE_PKGCONFIG_FILE = Qt$${QT_MAJOR_VERSION}$${QMAKE_PKGCONFIG_NAME} - QMAKE_PKGCONFIG_REQUIRES = Qt5Widgets Qt5Concurrent Qt5PrintSupport + QMAKE_PKGCONFIG_REQUIRES = Qt$${QT_MAJOR_VERSION}Widgets Qt$${QT_MAJOR_VERSION}Concurrent Qt$${QT_MAJOR_VERSION}PrintSupport contains(QWT_CONFIG, QwtSvg) { - QMAKE_PKGCONFIG_REQUIRES += Qt5Svg + QMAKE_PKGCONFIG_REQUIRES += Qt$${QT_MAJOR_VERSION}Svg } contains(QWT_CONFIG, QwtOpenGL) { - QMAKE_PKGCONFIG_REQUIRES += Qt5OpenGL + QMAKE_PKGCONFIG_REQUIRES += Qt$${QT_MAJOR_VERSION}OpenGL } QMAKE_DISTCLEAN += $${DESTDIR}/$${QMAKE_PKGCONFIG_DESTDIR}/$${QMAKE_PKGCONFIG_FILE}.pc
qwt.prf which will be installed in share/qt${QT_VERSION}/mkspecs/features should be also patched:
--- a/qwt.prf +++ b/qwt.prf @@ -44,4 +44,9 @@ } # QMAKE_RPATHDIR *= $${QWT_INSTALL_LIBS} -qwtAddLibrary($${QWT_INSTALL_LIBS}, qwt) +greaterThan(QT_MAJOR_VERSION,5) { + qwtAddLibrary($${QWT_OUT_ROOT}/lib,qwt-qt6) +} +else { + qwtAddLibrary($${QWT_OUT_ROOT}/lib,qwt-qt5) +}
Request History
alois created request
Fixes boo#1210931 by adding Qt6 support (4th attempt)
staging-bot added as a reviewer
Being evaluated by staging project "openSUSE:Factory:Staging:adi:48"
staging-bot accepted review
Picked "openSUSE:Factory:Staging:adi:48"
factory-auto added opensuse-review-team as a reviewer
Please review sources
factory-auto accepted review
Check script succeeded
licensedigger accepted review
ok
dimstar accepted review
dimstar_suse accepted review
Staging Project openSUSE:Factory:Staging:adi:48 got accepted.
dimstar_suse approved review
Staging Project openSUSE:Factory:Staging:adi:48 got accepted.
dimstar_suse accepted request
Staging Project openSUSE:Factory:Staging:adi:48 got accepted.