https://bugs.kde.org/show_bug.cgi?id=415081
Bug ID: 415081 Summary: Increase minimum required Qt version to 5.11 Product: Rocs Version: unspecified Platform: Neon Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: rocs-bugs-n...@kde.org Reporter: carlosdgtor...@gmail.com Target Milestone: --- SUMMARY Commit c44c4ae2 (https://cgit.kde.org/rocs.git/commit/?id=c44c4ae2baf149a0517b59844a6a9d44160e9056) introduced the QFontMetrics::horizontalAdvance method that was added only in Qt 5.11 (https://doc.qt.io/qt-5/qfontmetrics.html#horizontalAdvance). The ROCS CMakeLists.txt still lists 5.4 as the required minimum version so it fails to build with anything lower than 5.11. STEPS TO REPRODUCE 1. Have a system with Qt 5.10 or older 2. Run cmake (works correctly) 3. Run make OBSERVED RESULT Error in compiling: ‘class QFontMetrics’ has no member named ‘horizontalAdvance’ const int charWidth = fm.horizontalAdvance(QLatin1Char('x')); EXPECTED RESULT CMake should fail when using any Qt version older than 5.11. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.