problems compiling subsurface 4.4 on fedora 18

Dirk Hohndel dirk at hohndel.org
Mon Feb 16 20:43:43 PST 2015


On Tue, Feb 17, 2015 at 02:27:41AM +0100, Michele Fabi wrote:
> This is the laptop I use for work (and all the rest :) and I procrastinated
> the upgrade for lack of time and a bit of laziness. F18 is ok for all I
> need. (well, it was...)

Except for security as there are quite a few known exploits for the kernel
and several key components included in Fedora 18...

> Another reason for using git version is that my dive computer is a
> Divesystem Orca (very similar to the iDive) that is currently supported by
> libdivecomputer but is not in the "official" list of supported computer by
> subsurface.

That's just a matter of me not having updated that list, yet.
Subsurface 4.4 contains the very latest of libdivecomputer.

> Here the result of compiling following Lubomir suggestions. Ill'upgrade the
> machine as soon as possible.

Good plan :-)

> compiling qt-ui/printlayout.cpp
> qt-ui/printlayout.cpp: In member function ‘void PrintLayout::printTable()’:
> qt-ui/printlayout.cpp:394:4: warning: ‘headingRowHeight’ may be used
> uninitialized in this function [-Wmaybe-uninitialized]
> qt-ui/printlayout.cpp:382:83: note: ‘headingRowHeight’ was declared here
> In file included from /usr/include/qt5/QtCore/qrect.h:46:0,
>                  from /usr/include/qt5/QtCore/qmargins.h:45,
>                  from /usr/include/qt5/QtWidgets/qwidget.h:47,
>                  from /usr/include/qt5/QtWidgets/qdesktopwidget.h:45,
>                  from /usr/include/qt5/QtWidgets/QDesktopWidget:1,
>                  from qt-ui/printlayout.cpp:2:
> /usr/include/qt5/QtCore/qpoint.h:278:64: warning: ‘headingRowHeightD2’ may
> be used uninitialized in this function [-Wmaybe-uninitialized]
> qt-ui/printlayout.cpp:382:63: note: ‘headingRowHeightD2’ was declared here
> compiling qt-ui/printoptions.cpp
> compiling qt-ui/simplewidgets.cpp
> qt-ui/simplewidgets.cpp: In constructor ‘TagFilter::TagFilter(QWidget*)’:
> qt-ui/simplewidgets.cpp:509:25: error: ‘class QLineEdit’ has no member
> named ‘setClearButtonEnabled’
> qt-ui/simplewidgets.cpp: In constructor
> ‘BuddyFilter::BuddyFilter(QWidget*)’:
> qt-ui/simplewidgets.cpp:536:25: error: ‘class QLineEdit’ has no member
> named ‘setClearButtonEnabled’
> qt-ui/simplewidgets.cpp: In constructor
> ‘LocationFilter::LocationFilter(QWidget*)’:
> qt-ui/simplewidgets.cpp:562:25: error: ‘class QLineEdit’ has no member
> named ‘setClearButtonEnabled’
> qt-ui/simplewidgets.cpp: In constructor ‘SuitFilter::SuitFilter(QWidget*)’:
> qt-ui/simplewidgets.cpp:588:25: error: ‘class QLineEdit’ has no member
> named ‘setClearButtonEnabled’

Can you send the output of 
qmake-qt5 -v

I wonder if we use features that require 5.3 (that's the lowest that I
have been compiling with, lately).

/D


More information about the subsurface mailing list