[kmymoney] [Bug 507927] New: KMyMoney5.2.1 build failure with Qt 6.7.2

Schrijvers Luc bugzilla_noreply at kde.org
Wed Aug 6 08:52:54 BST 2025


https://bugs.kde.org/show_bug.cgi?id=507927

            Bug ID: 507927
           Summary: KMyMoney5.2.1 build failure with Qt 6.7.2
    Classification: Applications
           Product: kmymoney
      Version First 5.2.1
       Reported In:
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: buildsystem
          Assignee: kmymoney-devel at kde.org
          Reporter: begasus at gmail.com
  Target Milestone: ---

SUMMARY

Trying to update our port from 5.2.0 to 5.2.1 failed on our buildmasters with
Qt 6.7.2, local build with Qt 6.9.0 works fine.

STEPS TO REPRODUCE
1. Build with Qt 6.7.2

OBSERVED RESULT

Error on:

```
[  7%] Building CXX object
kmymoney/misc/CMakeFiles/kmm_selections.dir/selectedobjects.cpp.o
/sources/kmymoney-5.2.1/kmymoney/misc/kmm_codec.cpp: In static member function
'static QByteArray KMM_Codec::encodingForLocale()':
/sources/kmymoney-5.2.1/kmymoney/misc/kmm_codec.cpp:248:52: error: no matching
function for call to 'QStringDecoder::QStringDecoder(QString)'
 248 |     QStringDecoder decoder(QLocale::system().name());
     |                                                    ^
In file included from /boot/system/develop/headers/Qt6/QtCore/qstring.h:1581,
                from /boot/system/develop/headers/Qt6/QtCore/qobject.h:11,
                from /boot/system/develop/headers/Qt6/QtWidgets/qwidget.h:9,
                from /boot/system/develop/headers/Qt6/QtWidgets/qcombobox.h:8,
                from /boot/system/develop/headers/Qt6/QtWidgets/QComboBox:1,
                from /sources/kmymoney-5.2.1/kmymoney/misc/kmm_codec.cpp:11:
/boot/system/develop/headers/Qt6/QtCore/qstringconverter.h:95:14: note:
candidate: 'QStringDecoder::QStringDecoder(const char*,
QStringConverterBase::Flags)'
  95 |     explicit QStringDecoder(const char *name, Flags f = Flag::Default)
     |              ^~~~~~~~~~~~~~
```

EXPECTED RESULT

Build completes without errors

SOFTWARE/OS VERSIONS
Haiku: 32bit/64bit R1B5
KDE Frameworks Version: 6.16.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Log output from our buildmaster (64bit in this case, output is the same for
32bit).

https://build.haiku-os.org/buildmaster/master/x86_64/logviewer.html?buildruns/12869/builds/85615.log

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list