I wanted to update the spdrs port for OpenBSD -current from 0.6.0 to 0.6.1, but I end up with a compilation error.
I have the port configured to use QT5, so I ran configure with: --enable-qt5
Compiling then I get:
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include/X11/qt5/QtWidgets -I/usr/local/include/X11/qt5 -I/usr/local/include/X11/qt5/QtGui -I/usr/local/include/X11/qt5/QtNetwork -I/usr/local/include/X11/qt5/QtCore -fPIC -DTRANSLATIONSDIR=\"/usr/local/share/spdrs60/translations\" -O2 -pipe -g -O0 -MT routedialog.o -MD -MP -MF .deps/routedialog.Tpo -c -o routedialog.o routedialog.cpp
routedialog.cpp: In member function 'void RouteDialog::addElementsTab()':
routedialog.cpp:544:27: error: 'class QHeaderView' has no member named 'setResizeMode'
elementsLV->header()->setResizeMode(QHeaderView::ResizeToContents);
and build stops here.
pkg_info -a | grep qt
poppler-qt5-0.42.0 Qt5 interface to PDF rendering library
py-qt5-5.5.1p0 python Qt5 bindings
qt4-4.8.7p6 C++ X11 GUI toolkit
qt5-5.5.1p0 C++ general-purpose toolkitelementsLV->header()->setResizeMode(QHeaderView::ResizeToContents);
normally qt4/qt5 don't conflict, but to verify, I uninstalled the qt4, but to no avail.
Other maybe useful build environment/parameters you may see here:
http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/misc/spdrs60/Makefile?rev=1.6&content-type=text/plain
Let me know if I can provide more information.
Thanks Sebastian for your report, this is fixed in the git repository.
Guido