Re: bootstrap.linux finds neither qt5 nor qt6

Matthias Erich Popp <[email protected]> Wed, 10 Jul 2024 13:14:19 +0200
Newsgroups gmane.comp.kde.digikam.devel
Message-ID <6174579.mYo9coIPV2@hannelore>
--nextPart11180310.Pjtx3n4MFr
Content-Type: multipart/alternative; boundary="nextPart1881820.KpxeXe3QlQ";
 protected-headers="v1"
Content-Transfer-Encoding: 7Bit
From: Matthias Erich Popp <[email protected]>
To: [email protected]
Subject: Re: bootstrap.linux finds neither qt5 nor qt6
Date: Wed, 10 Jul 2024 13:14:19 +0200
Message-ID: <6174579.mYo9coIPV2@hannelore>
MIME-Version: 1.0

This is a multi-part message in MIME format.

--nextPart1881820.KpxeXe3QlQ
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="iso-8859-1"

Am Samstag, 6. Juli 2024, 01:14:55 CEST schrieb Gilles Caulier:
> Hi,
>=20
> Switch on the option from this line :
>=20
> https://invent.kde.org/graphics/digikam/-/blob/master/bootstrap.linux?ref=
_ty
> pe=3Dheads#L18https://invent.kde.org/graphics/digikam/-/blob/master/boots=
trap.
> linux?ref_type=3Dheads#L18
>=20
> Gilles Caulier
>=20
> Le ven. 5 juil. 2024 =E0 21:19, Matthias Erich Popp <[email protected]> a =
=E9crit :
> > Hallo,
> >=20
> >=20
> > bootsrap-linux cant find my qt5 or qt6
> >=20
> >=20
> > output from qmake -query
> >=20
> >=20
> > QT_SYSROOT:
> > QT_INSTALL_PREFIX:/usr
> > QT_INSTALL_ARCHDATA:/usr/lib/x86_64-linux-gnu/qt5
> > QT_INSTALL_DATA:/usr/share/qt5
> > QT_INSTALL_DOCS:/usr/share/qt5/doc
> > QT_INSTALL_HEADERS:/usr/include/x86_64-linux-gnu/qt5
> > QT_INSTALL_LIBS:/usr/lib/x86_64-linux-gnu
> > QT_INSTALL_LIBEXECS:/usr/lib/x86_64-linux-gnu/qt5/libexec
> > QT_INSTALL_BINS:/usr/lib/qt5/bin
> > QT_INSTALL_TESTS:/usr/tests
> > QT_INSTALL_PLUGINS:/usr/lib/x86_64-linux-gnu/qt5/plugins
> > QT_INSTALL_IMPORTS:/usr/lib/x86_64-linux-gnu/qt5/imports
> > QT_INSTALL_QML:/usr/lib/x86_64-linux-gnu/qt5/qml
> > QT_INSTALL_TRANSLATIONS:/usr/share/qt5/translations
> > QT_INSTALL_CONFIGURATION:/etc/xdg
> > QT_INSTALL_EXAMPLES:/usr/lib/x86_64-linux-gnu/qt5/examples
> > QT_INSTALL_DEMOS:/usr/lib/x86_64-linux-gnu/qt5/examples
> > QT_HOST_PREFIX:/usr
> > QT_HOST_DATA:/usr/lib/x86_64-linux-gnu/qt5
> > QT_HOST_BINS:/usr/lib/qt5/bin
> > QT_HOST_LIBS:/usr/lib/x86_64-linux-gnu
> > QMAKE_SPEC:linux-g++
> > QMAKE_XSPEC:linux-g++
> > QMAKE_VERSION:3.1
> > QT_VERSION:5.15.13
> >=20
> >=20
> > and outpu from  qmake6 -query
> >=20
> >=20
> > QT_SYSROOT:
> > QT_INSTALL_PREFIX:/usr
> > QT_INSTALL_ARCHDATA:/usr/lib/x86_64-linux-gnu/qt6
> > QT_INSTALL_DATA:/usr/share/qt6
> > QT_INSTALL_DOCS:/usr/share/qt6/doc
> > QT_INSTALL_HEADERS:/usr/include/x86_64-linux-gnu/qt6
> > QT_INSTALL_LIBS:/usr/lib/x86_64-linux-gnu
> > QT_INSTALL_LIBEXECS:/usr/lib/qt6/libexec
> > QT_INSTALL_BINS:/usr/lib/qt6/bin
> > QT_INSTALL_TESTS:/usr/tests
> > QT_INSTALL_PLUGINS:/usr/lib/x86_64-linux-gnu/qt6/plugins
> > QT_INSTALL_QML:/usr/lib/x86_64-linux-gnu/qt6/qml
> > QT_INSTALL_TRANSLATIONS:/usr/share/qt6/translations
> > QT_INSTALL_CONFIGURATION:
> > QT_INSTALL_EXAMPLES:/usr/lib/x86_64-linux-gnu/qt6/examples
> > QT_INSTALL_DEMOS:/usr/lib/x86_64-linux-gnu/qt6/examples
> > QT_HOST_PREFIX:/usr
> > QT_HOST_DATA:/usr/lib/x86_64-linux-gnu/qt6
> > QT_HOST_BINS:/usr/lib/qt6/bin
> > QT_HOST_LIBEXECS:/usr/lib/qt6/libexec
> > QT_HOST_LIBS:/usr/lib/x86_64-linux-gnu
> > QMAKE_SPEC:linux-g++
> > QMAKE_XSPEC:linux-g++
> > QMAKE_VERSION:3.1
> > QT_VERSION:6.6.2
> >=20
> >=20
> > Linux is current debian sid

I had to install some devel packages and then it worked with qt5 and qt6.=20

But what I noticed is that it searches for a libavresamle.so. But is alread=
y considered=20
deprecated since 2017, and is only available up to Debian 10 (buster), inst=
ead=20
libswresample is provided as a replacement.=20


Then digikam compiled with qt6 causes problems with a mariadb database. It =
is not able=20
to access existing data



--nextPart1881820.KpxeXe3QlQ
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="iso-8859-1"

<html>
<head>
<meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF-8">
</head>
<body><p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0=
;">Am Samstag, 6. Juli 2024, 01:14:55 CEST schrieb Gilles Caulier:</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; Hi,</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; </p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; Switch on the option from this line :</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; </p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; https://invent.kde.org/graphics/digikam/-/blob/master/bootstrap.linux?ref=
_ty</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; pe=3Dheads#L18https://invent.kde.org/graphics/digikam/-/blob/master/boots=
trap.</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; linux?ref_type=3Dheads#L18</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; </p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; Gilles Caulier</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; </p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; Le ven. 5 juil. 2024 =E0 21:19, Matthias Erich Popp &lt;[email protected]&g=
t; a =E9crit :</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; Hallo,</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; </p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; </p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; bootsrap-linux cant find my qt5 or qt6</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; </p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; </p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; output from qmake -query</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; </p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; </p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_SYSROOT:</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_PREFIX:/usr</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_ARCHDATA:/usr/lib/x86_64-linux-gnu/qt5</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_DATA:/usr/share/qt5</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_DOCS:/usr/share/qt5/doc</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_HEADERS:/usr/include/x86_64-linux-gnu/qt5</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_LIBS:/usr/lib/x86_64-linux-gnu</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_LIBEXECS:/usr/lib/x86_64-linux-gnu/qt5/libexec</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_BINS:/usr/lib/qt5/bin</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_TESTS:/usr/tests</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_PLUGINS:/usr/lib/x86_64-linux-gnu/qt5/plugins</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_IMPORTS:/usr/lib/x86_64-linux-gnu/qt5/imports</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_QML:/usr/lib/x86_64-linux-gnu/qt5/qml</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_TRANSLATIONS:/usr/share/qt5/translations</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_CONFIGURATION:/etc/xdg</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_EXAMPLES:/usr/lib/x86_64-linux-gnu/qt5/examples</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_DEMOS:/usr/lib/x86_64-linux-gnu/qt5/examples</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_HOST_PREFIX:/usr</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_HOST_DATA:/usr/lib/x86_64-linux-gnu/qt5</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_HOST_BINS:/usr/lib/qt5/bin</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_HOST_LIBS:/usr/lib/x86_64-linux-gnu</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QMAKE_SPEC:linux-g++</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QMAKE_XSPEC:linux-g++</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QMAKE_VERSION:3.1</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_VERSION:5.15.13</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; </p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; </p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; and outpu from&nbsp; qmake6 -query</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; </p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; </p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_SYSROOT:</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_PREFIX:/usr</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_ARCHDATA:/usr/lib/x86_64-linux-gnu/qt6</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_DATA:/usr/share/qt6</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_DOCS:/usr/share/qt6/doc</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_HEADERS:/usr/include/x86_64-linux-gnu/qt6</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_LIBS:/usr/lib/x86_64-linux-gnu</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_LIBEXECS:/usr/lib/qt6/libexec</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_BINS:/usr/lib/qt6/bin</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_TESTS:/usr/tests</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_PLUGINS:/usr/lib/x86_64-linux-gnu/qt6/plugins</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_QML:/usr/lib/x86_64-linux-gnu/qt6/qml</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_TRANSLATIONS:/usr/share/qt6/translations</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_CONFIGURATION:</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_EXAMPLES:/usr/lib/x86_64-linux-gnu/qt6/examples</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_INSTALL_DEMOS:/usr/lib/x86_64-linux-gnu/qt6/examples</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_HOST_PREFIX:/usr</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_HOST_DATA:/usr/lib/x86_64-linux-gnu/qt6</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_HOST_BINS:/usr/lib/qt6/bin</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_HOST_LIBEXECS:/usr/lib/qt6/libexec</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_HOST_LIBS:/usr/lib/x86_64-linux-gnu</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QMAKE_SPEC:linux-g++</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QMAKE_XSPEC:linux-g++</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QMAKE_VERSION:3.1</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; QT_VERSION:6.6.2</p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; </p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; </p>
<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt=
; &gt; Linux is current debian sid</p>
<br /><p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0=
;">I had to install some devel packages and then it worked with qt5 and qt6=
=2E </p>
<p>&nbsp;<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;margin-righ=
t:0;">But what I noticed is that it searches for a libavresamle.so. But is =
already considered deprecated since 2017, and is only available up to Debia=
n 10 (buster), instead libswresample is provided as a replacement. </p>
<p>&nbsp;<p>&nbsp;<p style=3D"margin-top:0;margin-bottom:0;margin-left:0;ma=
rgin-right:0;">Then digikam compiled with qt6 causes problems with a mariad=
b database. It is not able to access existing data</p>
<br /><br /></body>
</html>
--nextPart1881820.KpxeXe3QlQ--

--nextPart11180310.Pjtx3n4MFr
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEELJu/H75i3a3+deTS6ov850rc+eIFAmaObQsACgkQ6ov850rc
+eJugw//dwHW12p37TXbhGgQrvgrgn50/5TLXNG3bfawUK1zbauODgk8loy6EhU7
0Srzk9/I8jVuN6jYriwhtYZ8/j38YqaaV2njCA4jJyT+o633cN9BT2rbVHs1B9hK
gKRxFzQVBAft13ULsv6kk74A6+dI6fVu3xPmnxWWriLIJfdI5VvAbpr+h9jgr9PC
TK/p7gEcSqt6/T4XRUKBJT3MvkQZgIFIJZlzJNuN/Xi3wg2QGeObebgHVJaZEFcV
bpTVvKgvevIU6aZjNsTHzrxW2gWD8kXzXI+KcEgHw7Klus8jLtiik478ZnVHwhMO
WkBtExqt2PooOLc8kCq44bFuekO6GSMUriKZvu+iOZ2fXln+aXTxs1laJ4q1/sgM
pw4RUvG4cFVHHNrM8MHwAveRHk0n7oFOFrzcVyx757yn7zFd887xZvy5ewjS9u86
JiaA2LuR9Bihs5xd38lVmGtIW/Jn1kUP7/oDxjxRfuNvZHHj7DTzaj3DLX3rklyq
bUUs5+KAS14HTWkQ/gyVfhop+qxCsTnQ+lBvb9raTPNH9cjwqLdiWT7jaGOqqzx1
XzhIjoyPa/nrR13S3l117+HUZtSj2912DQkDQGz7bU531moQI44fNrssBLmJ/DrN
Gbdq+IFbtSQd5CUh0T4SOpUyszBqti0f10ooyyNbqu0Ro2Tk74E=
=Y9G/
-----END PGP SIGNATURE-----

--nextPart11180310.Pjtx3n4MFr--