qtivi icon indicating copy to clipboard operation
qtivi copied to clipboard

Fix make errors for Qt5

Open kyunghwan-abel-bae opened this issue 5 years ago • 0 comments

I found 2 errors on make process.

(1) qiviservicemanager.cpp:308:89: error: no matching function for call to ‘QSet<QString>::QSet(QList<QString>::const_iterator, QList<QString>::const_iterator)’ const QSet<QString> newInterfaces = QSet<QString>(ifaceList.begin(), ifaceList.end());

iviservicemanager.cpp:315:100: error: no matching function for call to ‘QSet<QString>::QSet(QList<QString>::const_iterator, QList<QString>::const_iterator)’ const QSet<QString> interfaces = QSet<QString>(curIfaceList.begin(), curIfaceList.end()); (2) mediaplayerbackend.cpp:101:41: error: ‘class QMediaContent’ has no member named ‘request’ qCDebug(media) << m_player->media().request().url();

======================================================

I fixed them based on Qt5 supported functions. I hope you to check them.

======================================================

My system environments are below:

Ubuntu 18.04.3 LTS QMake version 3.1, Using Qt version 5.13.2

Qt GENIVI Extras: DLT .................................... yes DLT > 2.12 ............................. yes Qt IVI Core: Python3: Executable ........................... /usr/bin/python3 Version .............................. 3.6.8 virtualenv ........................... yes System QFace ......................... yes IVI Generator .......................... yes QtRemoteObjects Support ................ yes Qt IVI VehicleFunctions: Qt Remote Objects Simulation Server .... yes Backends: Simulation Backend ................... yes Qt Remote Objects Backend ............ yes Qt IVI Media: taglib ................................. yes Using system taglib .................. no Mediaplayer Qt Remote Objects Simulation Server . yes Backends: Mediaplayer Simulation Backend ....... yes Mediaplayer Qt Remote Objects Backend . yes Tuner Simulation Backend ............. yes

kyunghwan-abel-bae avatar Nov 13 '19 09:11 kyunghwan-abel-bae