tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

qt5 and c++11 variadic templates



apparently the build failures are from qt5 now requiring ALL OF THE
C++11.

qt5-qtlocation fails with GCC 4.8:
declarativemaps/qdeclarativegeomap.cpp: In member function 'void QDeclarativeGeoMap::mappingManagerInitialized()':
declarativemaps/qdeclarativegeomap.cpp:699:91: error: no matching function for call to 'QDeclarativeGeoMap::connect(QPointer<QGeoMap>&, void (QGeoMap::*)(const QString&), QDeclarativeGeoMap::mappingManagerInitialized()::__lambda8)'
                         [&copyrightString](const QString &copy){ copyrightString = copy; });
                                                                                           ^

Apparently, without 'C++11 variadic templates' connect supports up to 6 arguments.
As we all know, 3 is larger than 6, so this doesn't work. (???)

Ideas short of GCC_REQD+= 5.3, which was suggested on google search
results?


Home | Main Index | Thread Index | Old Index