[kompare] [Bug 414494] New: Kompare doesn't compile against Qt 5.14

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Mon Nov 25 12:26:59 GMT 2019


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

            Bug ID: 414494
           Summary: Kompare doesn't compile against Qt 5.14
           Product: kompare
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kompare-devel at kde.org
          Reporter: bluescreenavenger at gmail.com
  Target Milestone: ---

Using master branch, it seems I get a build error compiling against Qt 5.14


[ 82%] Building CXX object
komparepart/CMakeFiles/komparepart.dir/komparelistview.cpp.o
[ 84%] Building CXX object
komparepart/CMakeFiles/komparepart.dir/kompareprefdlg.cpp.o
[ 86%] Building CXX object
komparepart/CMakeFiles/komparepart.dir/komparesaveoptionsbase.cpp.o
/srcbuild/kompare/komparepart/komparesplitter.cpp: In member function ‘virtual
void KompareSplitter::wheelEvent(QWheelEvent*)’:
/srcbuild/kompare/komparepart/komparesplitter.cpp:252:12: error: ‘class
QWheelEvent’ has no member named ‘orientation’
     if (e->orientation() == Qt::Vertical)
            ^~~~~~~~~~~
/srcbuild/kompare/komparepart/komparesplitter.cpp:255:20: error: ‘class
QWheelEvent’ has no member named ‘delta’
             if (e->delta() < 0)   // scroll down one page
                    ^~~~~
/srcbuild/kompare/komparepart/komparesplitter.cpp:260:20: error: ‘class
QWheelEvent’ has no member named ‘delta’
             if (e->delta() < 0)   // scroll down
                    ^~~~~
/srcbuild/kompare/komparepart/komparesplitter.cpp:269:20: error: ‘class
QWheelEvent’ has no member named ‘delta’
             if (e->delta() < 0)   // scroll right one page
                    ^~~~~
/srcbuild/kompare/komparepart/komparesplitter.cpp:274:20: error: ‘class
QWheelEvent’ has no member named ‘delta’
             if (e->delta() < 0)   // scroll to the right
                    ^~~~~
[ 88%] Building CXX object
komparepart/CMakeFiles/komparepart.dir/komparesaveoptionswidget.cpp.o
[ 91%] Building CXX object
komparepart/CMakeFiles/komparepart.dir/kompareview.cpp.o
make[2]: *** [komparepart/CMakeFiles/komparepart.dir/build.make:125:
komparepart/CMakeFiles/komparepart.dir/komparesplitter.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 93%] Linking CXX executable bin/kompare
[ 93%] Built target kompare
/srcbuild/kompare/komparepart/komparesaveoptionswidget.cpp: In constructor
‘KompareSaveOptionsWidget::KompareSaveOptionsWidget(const QString&, const
QString&, DiffSettings*, QWidget*)’:
/srcbuild/kompare/komparepart/komparesaveoptionswidget.cpp:78:105: error:
invalid static_cast from type ‘void (QSpinBox::*)(int)’ to type ‘void
(QSpinBox::*)(const QString&)’
     connect(m_ContextLinesSB,     static_cast<void(QSpinBox::*)(const
QString&)>(&QSpinBox::valueChanged),
                                                                               
                         ^
make[2]: *** [komparepart/CMakeFiles/komparepart.dir/build.make:177:
komparepart/CMakeFiles/komparepart.dir/komparesaveoptionswidget.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:531:
komparepart/CMakeFiles/komparepart.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

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


More information about the Kompare-devel mailing list