All compiles perfectly with qt4.8 but i assume i am missing somethign as i am unable to compile with qt5 i get the following error.
Hoping someone recognizes and can tell me what is happening (i think maybe aqt5 problem ?) and how to fix.
here is the error during compile last part from when the errors occur.
_searchsortmodel.o -L/usr/lib64 -lz -ltorrent-rasterbar -lboost_system -lpthread -L/opt/Qt/5.5/gcc_64/lib -lQt5Widgets -lQt5Gui -lQt5DBus -lQt5Xml -lQt5Network -lQt5Core -lGL
application.o: In function `QDebug::operator<<(QString const&)':
/opt/Qt/5.5/gcc_64/include/QtCore/qdebug.h:125: undefined reference to `QDebug::putString(QChar const*, unsigned long)'
requestparser.o: In function `QDebug::operator<<(QString const&)':
/opt/Qt/5.5/gcc_64/include/QtCore/qdebug.h:125: undefined reference to `QDebug::putString(QChar const*, unsigned long)'
/opt/Qt/5.5/gcc_64/include/QtCore/qdebug.h:125: undefined reference to `QDebug::putString(QChar const*, unsigned long)'
dnsupdater.o: In function `QDebug::operator<<(QString const&)':
/opt/Qt/5.5/gcc_64/include/QtCore/qdebug.h:125: undefined reference to `QDebug::putString(QChar const*, unsigned long)'
/opt/Qt/5.5/gcc_64/include/QtCore/qdebug.h:125: undefined reference to `QDebug::putString(QChar const*, unsigned long)'
session.o:/opt/Qt/5.5/gcc_64/include/QtCore/qdebug.h:125: more undefined references to `QDebug::putString(QChar const*, unsigned long)' follow
powermanagement_x11.o: In function `int qRegisterNormalizedMetaType<QDBusArgument>(QByteArray const&, QDBusArgument*, QtPrivate::MetaTypeDefinedHelper<QDBusArgument, QMetaTypeId2<QDBusArgument>::Defined&&(!QMetaTypeId2<QDBusArgument>::IsBuiltIn)>::DefinedType)':
/opt/Qt/5.5/gcc_64/include/QtCore/qmetatype.h
/opt/Qt/5.5/gcc_64/include/QtCore/qmetatype.h
torrentimportdlg.o: In function `QDebug::operator<<(QString const&)':
/opt/Qt/5.5/gcc_64/include/QtCore/qdebug.h:125: undefined reference to `QDebug::putString(QChar const*, unsigned long)'
/opt/Qt/5.5/gcc_64/include/QtCore/qdebug.h:125: undefined reference to `QDebug::putString(QChar const*, unsigned long)'
options_imp.o: In function `QDebug::operator<<(QString const&)':
/opt/Qt/5.5/gcc_64/include/QtCore/qdebug.h:125: undefined reference to `QDebug::putString(QChar const*, unsigned long)'
moc_dnsupdater.o: In function `int qRegisterNormalizedMetaType<QNetworkReply*>(QByteArray const&, QNetworkReply**, QtPrivate::MetaTypeDefinedHelper<QNetworkReply*, QMetaTypeId2<QNetworkReply*>::Defined&&(!QMetaTypeId2<QNetworkReply*>::IsBuiltIn)>::DefinedType)':
/opt/Qt/5.5/gcc_64/include/QtCore/qmetatype.h
/opt/Qt/5.5/gcc_64/include/QtCore/qmetatype.h
moc_downloadmanager.o: In function `int qRegisterNormalizedMetaType<QList<QSslError> >(QByteArray const&, QList<QSslError>*, QtPrivate::MetaTypeDefinedHelper<QList<QSslError>, QMetaTypeId2<QList<QSslError> >::Defined&&(!QMetaTypeId2<QList<QSslError> >::IsBuiltIn)>::DefinedType)':
/opt/Qt/5.5/gcc_64/include/QtCore/qmetatype.h
moc_scanfoldersmodel.o:(.data.rel.ro._ZTV16ScanFoldersModel[_ZTV16ScanFoldersModel]+0x80): undefined reference to `QAbstractTableModel::sibling(int, int, QModelIndex const&) const'
moc_proplistdelegate.o: In function `int qRegisterNormalizedMetaType<QAbstractItemModel*>(QByteArray const&, QAbstractItemModel**, QtPrivate::MetaTypeDefinedHelper<QAbstractItemModel*, QMetaTypeId2<QAbstractItemModel*>::Defined&&(!QMetaTypeId2<QAbstractItemModel*>::IsBuiltIn)>::DefinedType)':
/opt/Qt/5.5/gcc_64/include/QtCore/qmetatype.h
moc_proplistdelegate.o: In function `int qRegisterNormalizedMetaType<QWidget*>(QByteArray const&, QWidget**, QtPrivate::MetaTypeDefinedHelper<QWidget*, QMetaTypeId2<QWidget*>::Defined&&(!QMetaTypeId2<QWidget*>::IsBuiltIn)>::DefinedType)':
/opt/Qt/5.5/gcc_64/include/QtCore/qmetatype.h
/opt/Qt/5.5/gcc_64/include/QtCore/qmetatype.h
moc_notifications.o: In function `int qRegisterNormalizedMetaType<QDBusArgument>(QByteArray const&, QDBusArgument*, QtPrivate::MetaTypeDefinedHelper<QDBusArgument, QMetaTypeId2<QDBusArgument>::Defined&&(!QMetaTypeId2<QDBusArgument>::IsBuiltIn)>::DefinedType)':
/opt/Qt/5.5/gcc_64/include/QtCore/qmetatype.h
/opt/Qt/5.5/gcc_64/include/QtCore/qmetatype.h
moc_notifications.o:/opt/Qt/5.5/gcc_64/include/QtCore/qmetatype.h
moc_torrentmodel.o:(.data.rel.ro._ZTV12TorrentModel[_ZTV12TorrentModel]+0x80): undefined reference to `QAbstractListModel::sibling(int, int, QModelIndex const&) const'
collect2: error: ld returned 1 exit status
Makefile:855: recipe for target 'qbittorrent' failed
make[1]: *** [qbittorrent] Error 1
make[1]: Leaving directory '/root/builds/qBittorrent/src'
Makefile:42: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 2
thanks,