gwenhywfar
Jack
ostroffjh at users.sourceforge.net
Tue Jul 15 22:20:55 BST 2025
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.
Unfortunately, it doesn't. It's a little more complicated for me as
I'm starting with the configure line produced by the Gentoo ebuild, but
even removing most of the (likely) superfluous parts,
./configure --prefix=/usr --disable-dependency-tracking
--disable-silent-rules --disable-static --with-libxml2-code=yes
--with-qmake=/usr/bin/qmake5 --with-guis=qt5
it does not find gmake or qmake5, and thus does not find a full Qt
installation.
I'll continue to try additional variations to that line.
More information about the KMyMoney-devel
mailing list