On 2025.07.15 02:37, Thomas Baumgart via KMyMoney-devel wrote:
On Dienstag, 15. Juli 2025 02:02:29 CEST Jack via KMyMoney-devel
wrote:
> Sorry for sending this here, but I don't see a better list, and I
> suspect it would be in German.
>
> I'm trying to build the recently released 5.12.1 and am not getting
> very far. It appears that the new version should be able to use
either
> qt5 or qt6, (but not both at once,) but the various --with-xxx
options
> to ./configure seem to have been limited. I am using
> --with-qmake=/usr/lib64/qt5/bin/qmake and --with-guis=qt5, but no
qmake
> is found at all, and it appears to me that it is may be trying to
use
> qt6 anyway.
>
> I assume ./configure --help is actually generated from configure
> itself, and not some other file, so what is the correct way to get
it
> to compile with qt5?
I do this here with
./configure --prefix=/usr/local --with-qmake=/usr/bin/qmake-qt5
--with-guis=qt5 CC=/usr/bin/clang CXX=/usr/bin/clang++
on my openSUSE Leap 15.6 for KF5/Qt5 and
./configure --prefix=/usr/local --with-guis=qt6 CC=/usr/bin/clang
CXX=/usr/bin/clang++
on my openSUSE Tumbleweed for KF6/Qt6
Which qmake is used depends on your system and installation. For Qt5
I need
to use a specific version because otherwise, the configure script
will pick
up the Qt6 version. The system has qmake6 and qmake-qt5 available but
qmake6
has precedence in the configure script. My Tumbleweed installation
only has
Qt6 (qmake6) installed so that I don't need to provide the path to
qmake.
Hope that helps.
Still not sure why I had so much trouble getting it to work, but for
Gentoo, gwenhywfar 5.12.0 remains available using KDE5, and 5.12.1 is
now avaialble using KDE6.
Is it decided yet whether KMM 5.2.1 will include the KDE6 migration, or
will that wait for the next version?
Jack