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.

-- 

Regards

Thomas Baumgart

-------------------------------------------------------------
You cannot strengthen the weak by weakening the strong.
-------------------------------------------------------------

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to