Build issue: gcc7

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
limburgher
Posts: 2
Joined: Mon Mar 13, 2017 5:00 pm

Build issue: gcc7

Post by limburgher »

Cannot build on Fedora rawhide with gcc7:

2.92

Also applied changeset from 14733, and the build ends as follows:

In file included from /usr/include/qt5/QtWidgets/QListView:1:0,
from TorrentView.h:13,
from ui_MainWindow.h:27,
from MainWindow.h:25,
from Application.cc:37:
/usr/include/qt5/QtWidgets/qlistview.h:149:10: error: 'void QListView::dataChanged(const QModelIndex&, const QModelIndex&, const QVector<int>&)' marked 'override', but does not override
void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector<int> &roles = QVector<int>()) Q_DECL_OVERRIDE;
^~~~~~~~~~~
In file included from /usr/include/qt5/QtWidgets/QListView:1:0,
from TorrentView.h:13,
from ui_MainWindow.h:27,
from MainWindow.h:25,
from Application.cc:37:
/usr/include/qt5/QtWidgets/qlistview.h:188:11: error: 'QSize QListView::viewportSizeHint() const' marked 'override', but does not override
QSize viewportSizeHint() const Q_DECL_OVERRIDE;
^~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtWidgets/QTreeView:1:0,
from FileTreeView.h:14,
from ui_OptionsDialog.h:25,
from OptionsDialog.h:25,
from Application.cc:38:
/usr/include/qt5/QtWidgets/qtreeview.h:148:10: error: 'void QTreeView::dataChanged(const QModelIndex&, const QModelIndex&, const QVector<int>&)' marked 'override', but does not override
void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector<int> &roles = QVector<int>()) Q_DECL_OVERRIDE;
^~~~~~~~~~~
In file included from /usr/include/qt5/QtWidgets/QTreeView:1:0,
from FileTreeView.h:14,
from ui_OptionsDialog.h:25,
from OptionsDialog.h:25,
from Application.cc:38:
/usr/include/qt5/QtWidgets/qtreeview.h:210:11: error: 'QSize QTreeView::viewportSizeHint() const' marked 'override', but does not override
QSize viewportSizeHint() const Q_DECL_OVERRIDE;
^~~~~~~~~~~~~~~~
make: *** [Makefile:1096: Application.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.imtYhT (%build)
mike.dld
Transmission Developer
Posts: 306
Joined: Wed Dec 25, 2013 10:56 pm

Re: Build issue: gcc7

Post by mike.dld »

This looks like an issue with your version of Qt, not Transmission itself.
Post Reply