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

            Bug ID: 422749
           Summary: QSystemLocale has become private API in Qt 5.15,
                    kswitchlanguagedialog_p.cpp
           Product: frameworks-kxmlgui
           Version: 5.70.0
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdelibs-b...@kde.org
          Reporter: k...@sebastianengel.eu
  Target Milestone: ---

SUMMARY

QSystemLocale has become private API in Qt 5.15, 
https://doc.qt.io/qt-5/sourcebreaks.html

Therefore kxmlgui/src/kswitchlanguagedialog_p.cpp:97 has an undefined reference
to QSystemLocale.





STEPS TO REPRODUCE
1. compile kxmlgui against Qt5.15


OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: opensuse tumbleweed 20200604
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70
Qt Version: 5.15.0

ADDITIONAL INFORMATION

The respective line in the source has the following comment:

        // Ideally setting the LANGUAGE would change the default QLocale too
        // but unfortunately this is too late since the QCoreApplication
constructor
        // already created a QLocale at this stage so we need to set the reset
it
        // by triggering the creation and destruction of a QSystemLocale
        // this is highly dependant on Qt internals, so may break, but oh well
        QSystemLocale *dummy = new QSystemLocale();
        delete dummy;


could a locale handler address this issue? Such as:
https://developer.blackberry.com/native/reference/cascades/bb__cascades__localehandler.html

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to