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

            Bug ID: 414168
           Summary: error: ‘const class QFontMetrics’ has no member named
                    ‘horizontalAdvance’
           Product: kdenlive
           Version: git-master
          Platform: Mint (Ubuntu based)
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Installation
          Assignee: vpi...@kde.org
          Reporter: aroberts...@yahoo.com
  Target Milestone: ---

git clone https://invent.kde.org/kde/kdenlive.git
cd kdenlive
git checkout master
mkdir build
cd build
cmake .. -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DCMAKE_INSTALL_PREFIX=/usr
-DRELEASE_BUILD=OFF
make -j9
sudo make install

error: ‘const class QFontMetrics’ has no member named ‘horizontalAdvance’
‘horizontalAdvance’ was introduced in Qt 5.11
However it does not appear to work with Qt version 5.12.3:
qmake --version
QMake version 3.1
Using Qt version 5.12.3

Using the deprecated "width" appears to fix the issue (not recommended) in:
/kdenlive/src/bin/bin.cpp
/kdenlive/src/monitor/scopes/monitoraudiolevel.cpp
/kdenlive/src/scopes/audioscopes/audiosignal.cpp
/kdenlive/src/titler/graphicsscenerectmove.cpp
/kdenlive/src/widgets/dragvalue.cpp
/kdenlive/src/timecodedisplay.cpp

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

Reply via email to