Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp: In member function 'QDomDocument QgsWms::QgsRenderer::featureInfoDocument(QList<QgsMapLayer*>&, const QgsMapSettings&, const QImage*, const QString&) const':
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:1385:44: error: no matching function for call to 'QMap<QString, QList<QgsMapLayer*> >::contains(const QStringList&) const'
- if ( mLayerGroups.contains( ql ) )
- ^
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:1385:44: note: candidate is:
- In file included from /usr/include/qt5/QtCore/QMap:1:0,
- from /home/wms/src/qgis-3.4.8/src/core/qgis.h:24,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/../qgsmodule.h:20,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsutils.h:26,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:21:
- /usr/include/qt5/QtCore/qmap.h:688:24: note: bool QMap<K, V>::contains(const Key&) const [with Key = QString; T = QList<QgsMapLayer*>]
- Q_INLINE_TEMPLATE bool QMap<Key, T>::contains(const Key &akey) const
- ^
- /usr/include/qt5/QtCore/qmap.h:688:24: note: no known conversion for argument 1 from 'const QStringList' to 'const QString&'
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:1387:53: error: no match for 'operator[]' (operand types are 'const QMap<QString, QList<QgsMapLayer*> >' and 'const QStringList')
- const auto &constLayers { mLayerGroups[ql] };
- ^
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:1387:53: note: candidates are:
- In file included from /usr/include/qt5/QtCore/QMap:1:0,
- from /home/wms/src/qgis-3.4.8/src/core/qgis.h:24,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/../qgsmodule.h:20,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsutils.h:26,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:21:
- /usr/include/qt5/QtCore/qmap.h:661:22: note: T& QMap<K, V>::operator[](const Key&) [with Key = QString; T = QList<QgsMapLayer*>]
- Q_INLINE_TEMPLATE T &QMap<Key, T>::operator[](const Key &akey)
- ^
- /usr/include/qt5/QtCore/qmap.h:661:22: note: no known conversion for argument 1 from 'const QStringList' to 'const QString&'
- /usr/include/qt5/QtCore/qmap.h:655:27: note: const T QMap<K, V>::operator[](const Key&) const [with Key = QString; T = QList<QgsMapLayer*>]
- Q_INLINE_TEMPLATE const T QMap<Key, T>::operator[](const Key &akey) const
- ^
- /usr/include/qt5/QtCore/qmap.h:655:27: note: no known conversion for argument 1 from 'const QStringList' to 'const QString&'
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:1387:58: error: unable to deduce 'const std::initializer_list<const auto>&' from '{<expression error>}'
- const auto &constLayers { mLayerGroups[ql] };
- ^
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:1388:38: error: unable to deduce 'auto&&' from 'constLayers'
- for ( const auto &ml : constLayers )
- ^
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:1392:34: error: no match for 'operator=' (operand types are 'std::initializer_list<QString>' and 'const QStringList')
- queryLayerName = ql;
- ^
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:1392:34: note: candidates are:
- In file included from /usr/include/c++/4.8.2/utility:74:0,
- from /usr/include/qt5/QtCore/qglobal.h:47,
- from /usr/include/qt5/QtCore/qnamespace.h:43,
- from /usr/include/qt5/QtCore/qcoreevent.h:43,
- from /usr/include/qt5/QtCore/QEvent:1,
- from /home/wms/src/qgis-3.4.8/src/core/qgis.h:21,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/../qgsmodule.h:20,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsutils.h:26,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:21:
- /usr/include/c++/4.8.2/initializer_list:47:11: note: std::initializer_list<QString>& std::initializer_list<QString>::operator=(const std::initializer_list<QString>&)
- class initializer_list
- ^
- /usr/include/c++/4.8.2/initializer_list:47:11: note: no known conversion for argument 1 from 'const QStringList' to 'const std::initializer_list<QString>&'
- /usr/include/c++/4.8.2/initializer_list:47:11: note: std::initializer_list<QString>& std::initializer_list<QString>::operator=(std::initializer_list<QString>&&)
- /usr/include/c++/4.8.2/initializer_list:47:11: note: no known conversion for argument 1 from 'const QStringList' to 'std::initializer_list<QString>&&'
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:1407:101: error: no matching function for call to 'QString::arg(std::initializer_list<QString>&)'
- const QString msg { QObject::tr( "The layer '%1' is not queryable." ).arg( queryLayerName ) };
- ^
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:1407:101: note: candidates are:
- In file included from /usr/include/qt5/QtCore/QString:1:0,
- from /home/wms/src/qgis-3.4.8/src/core/qgis.h:22,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/../qgsmodule.h:20,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsutils.h:26,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:21:
- /usr/include/qt5/QtCore/qstring.h:264:31: note: QString QString::arg(qlonglong, int, int, QChar) const
- Q_REQUIRED_RESULT QString arg(qlonglong a, int fieldwidth=0, int base=10,
- ^
- /usr/include/qt5/QtCore/qstring.h:264:31: note: no known conversion for argument 1 from 'std::initializer_list<QString>' to 'qlonglong {aka long long int}'
- /usr/include/qt5/QtCore/qstring.h:266:31: note: QString QString::arg(qulonglong, int, int, QChar) const
- Q_REQUIRED_RESULT QString arg(qulonglong a, int fieldwidth=0, int base=10,
- ^
- /usr/include/qt5/QtCore/qstring.h:266:31: note: no known conversion for argument 1 from 'std::initializer_list<QString>' to 'qulonglong {aka long long unsigned int}'
- /usr/include/qt5/QtCore/qstring.h:928:16: note: QString QString::arg(long int, int, int, QChar) const
- inline QString QString::arg(long a, int fieldWidth, int base, QChar fillChar) const
- ^
- /usr/include/qt5/QtCore/qstring.h:928:16: note: no known conversion for argument 1 from 'std::initializer_list<QString>' to 'long int'
- /usr/include/qt5/QtCore/qstring.h:930:16: note: QString QString::arg(ulong, int, int, QChar) const
- inline QString QString::arg(ulong a, int fieldWidth, int base, QChar fillChar) const
- ^
- /usr/include/qt5/QtCore/qstring.h:930:16: note: no known conversion for argument 1 from 'std::initializer_list<QString>' to 'ulong {aka long unsigned int}'
- /usr/include/qt5/QtCore/qstring.h:924:16: note: QString QString::arg(int, int, int, QChar) const
- inline QString QString::arg(int a, int fieldWidth, int base, QChar fillChar) const
- ^
- /usr/include/qt5/QtCore/qstring.h:924:16: note: no known conversion for argument 1 from 'std::initializer_list<QString>' to 'int'
- /usr/include/qt5/QtCore/qstring.h:926:16: note: QString QString::arg(uint, int, int, QChar) const
- inline QString QString::arg(uint a, int fieldWidth, int base, QChar fillChar) const
- ^
- /usr/include/qt5/QtCore/qstring.h:926:16: note: no known conversion for argument 1 from 'std::initializer_list<QString>' to 'uint {aka unsigned int}'
- /usr/include/qt5/QtCore/qstring.h:932:16: note: QString QString::arg(short int, int, int, QChar) const
- inline QString QString::arg(short a, int fieldWidth, int base, QChar fillChar) const
- ^
- /usr/include/qt5/QtCore/qstring.h:932:16: note: no known conversion for argument 1 from 'std::initializer_list<QString>' to 'short int'
- /usr/include/qt5/QtCore/qstring.h:934:16: note: QString QString::arg(ushort, int, int, QChar) const
- inline QString QString::arg(ushort a, int fieldWidth, int base, QChar fillChar) const
- ^
- /usr/include/qt5/QtCore/qstring.h:934:16: note: no known conversion for argument 1 from 'std::initializer_list<QString>' to 'ushort {aka short unsigned int}'
- /usr/include/qt5/QtCore/qstring.h:280:31: note: QString QString::arg(double, int, char, int, QChar) const
- Q_REQUIRED_RESULT QString arg(double a, int fieldWidth = 0, char fmt = 'g', int prec = -1,
- ^
- /usr/include/qt5/QtCore/qstring.h:280:31: note: no known conversion for argument 1 from 'std::initializer_list<QString>' to 'double'
- /usr/include/qt5/QtCore/qstring.h:282:31: note: QString QString::arg(char, int, QChar) const
- Q_REQUIRED_RESULT QString arg(char a, int fieldWidth = 0,
- ^
- /usr/include/qt5/QtCore/qstring.h:282:31: note: no known conversion for argument 1 from 'std::initializer_list<QString>' to 'char'
- /usr/include/qt5/QtCore/qstring.h:284:31: note: QString QString::arg(QChar, int, QChar) const
- Q_REQUIRED_RESULT QString arg(QChar a, int fieldWidth = 0,
- ^
- /usr/include/qt5/QtCore/qstring.h:284:31: note: no known conversion for argument 1 from 'std::initializer_list<QString>' to 'QChar'
- /usr/include/qt5/QtCore/qstring.h:286:31: note: QString QString::arg(const QString&, int, QChar) const
- Q_REQUIRED_RESULT QString arg(const QString &a, int fieldWidth = 0,
- ^
- /usr/include/qt5/QtCore/qstring.h:286:31: note: no known conversion for argument 1 from 'std::initializer_list<QString>' to 'const QString&'
- /usr/include/qt5/QtCore/qstring.h:936:16: note: QString QString::arg(const QString&, const QString&) const
- inline QString QString::arg(const QString &a1, const QString &a2) const
- ^
- /usr/include/qt5/QtCore/qstring.h:936:16: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtCore/qstring.h:938:16: note: QString QString::arg(const QString&, const QString&, const QString&) const
- inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3) const
- ^
- /usr/include/qt5/QtCore/qstring.h:938:16: note: candidate expects 3 arguments, 1 provided
- /usr/include/qt5/QtCore/qstring.h:940:16: note: QString QString::arg(const QString&, const QString&, const QString&, const QString&) const
- inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3,
- ^
- /usr/include/qt5/QtCore/qstring.h:940:16: note: candidate expects 4 arguments, 1 provided
- /usr/include/qt5/QtCore/qstring.h:943:16: note: QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&) const
- inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3,
- ^
- /usr/include/qt5/QtCore/qstring.h:943:16: note: candidate expects 5 arguments, 1 provided
- /usr/include/qt5/QtCore/qstring.h:946:16: note: QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const
- inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3,
- ^
- /usr/include/qt5/QtCore/qstring.h:946:16: note: candidate expects 6 arguments, 1 provided
- /usr/include/qt5/QtCore/qstring.h:949:16: note: QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const
- inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3,
- ^
- /usr/include/qt5/QtCore/qstring.h:949:16: note: candidate expects 7 arguments, 1 provided
- /usr/include/qt5/QtCore/qstring.h:953:16: note: QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const
- inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3,
- ^
- /usr/include/qt5/QtCore/qstring.h:953:16: note: candidate expects 8 arguments, 1 provided
- /usr/include/qt5/QtCore/qstring.h:957:16: note: QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const
- inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3,
- ^
- /usr/include/qt5/QtCore/qstring.h:957:16: note: candidate expects 9 arguments, 1 provided
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:1407:103: error: no matching function for call to 'QString::QString(<brace-enclosed initializer list>)'
- const QString msg { QObject::tr( "The layer '%1' is not queryable." ).arg( queryLayerName ) };
- ^
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:1407:103: note: candidates are:
- In file included from /usr/include/qt5/QtCore/QString:1:0,
- from /home/wms/src/qgis-3.4.8/src/core/qgis.h:22,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/../qgsmodule.h:20,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsutils.h:26,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:21:
- /usr/include/qt5/QtCore/qstring.h:787:29: note: constexpr QString::QString(QStringDataPtr)
- Q_DECL_CONSTEXPR inline QString(QStringDataPtr dd) : d(dd.ptr) {}
- ^
- /usr/include/qt5/QtCore/qstring.h:787:29: note: no known conversion for argument 1 from '<type error>' to 'QStringDataPtr'
- /usr/include/qt5/QtCore/qstring.h:786:5: note: QString::QString(int, Qt::Initialization)
- QString(int size, Qt::Initialization);
- ^
- /usr/include/qt5/QtCore/qstring.h:786:5: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtCore/qstring.h:777:12: note: QString::QString(const QString::Null&)
- inline QString(const Null &): d(Data::sharedNull()) {}
- ^
- /usr/include/qt5/QtCore/qstring.h:777:12: note: no known conversion for argument 1 from '<type error>' to 'const QString::Null&'
- /usr/include/qt5/QtCore/qstring.h:661:31: note: QString::QString(const QByteArray&)
- inline QT_ASCII_CAST_WARN QString(const QByteArray &a)
- ^
- /usr/include/qt5/QtCore/qstring.h:661:31: note: no known conversion for argument 1 from '<type error>' to 'const QByteArray&'
- /usr/include/qt5/QtCore/qstring.h:658:31: note: QString::QString(const char*)
- inline QT_ASCII_CAST_WARN QString(const char *ch)
- ^
- /usr/include/qt5/QtCore/qstring.h:658:31: note: no known conversion for argument 1 from '<type error>' to 'const char*'
- /usr/include/qt5/QtCore/qstring.h:228:12: note: QString::QString(QString&&)
- inline QString(QString && other) Q_DECL_NOTHROW : d(other.d) { other.d = Data::sharedNull(); }
- ^
- /usr/include/qt5/QtCore/qstring.h:228:12: note: no known conversion for argument 1 from '<type error>' to 'QString&&'
- /usr/include/qt5/QtCore/qstring.h:906:8: note: QString::QString(const QString&)
- inline QString::QString(const QString &other) Q_DECL_NOTHROW : d(other.d)
- ^
- /usr/include/qt5/QtCore/qstring.h:906:8: note: no known conversion for argument 1 from '<type error>' to 'const QString&'
- /usr/include/qt5/QtCore/qstring.h:880:8: note: QString::QString(QLatin1String)
- inline QString::QString(QLatin1String aLatin1) : d(fromLatin1_helper(aLatin1.latin1(), aLatin1.size()))
- ^
- /usr/include/qt5/QtCore/qstring.h:880:8: note: no known conversion for argument 1 from '<type error>' to 'QLatin1String'
- /usr/include/qt5/QtCore/qstring.h:220:5: note: QString::QString(int, QChar)
- QString(int size, QChar c);
- ^
- /usr/include/qt5/QtCore/qstring.h:220:5: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtCore/qstring.h:219:5: note: QString::QString(QChar)
- QString(QChar c);
- ^
- /usr/include/qt5/QtCore/qstring.h:219:5: note: no known conversion for argument 1 from '<type error>' to 'QChar'
- /usr/include/qt5/QtCore/qstring.h:218:14: note: QString::QString(const QChar*, int)
- explicit QString(const QChar *unicode, int size = -1);
- ^
- /usr/include/qt5/QtCore/qstring.h:218:14: note: no known conversion for argument 1 from '<type error>' to 'const QChar*'
- /usr/include/qt5/QtCore/qstring.h:1083:8: note: QString::QString()
- inline QString::QString() Q_DECL_NOTHROW : d(Data::sharedNull()) {}
- ^
- /usr/include/qt5/QtCore/qstring.h:1083:8: note: candidate expects 0 arguments, 1 provided
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp: In member function 'void QgsWms::QgsRenderer::initLayerGroupsRecursive(const QgsLayerTreeGroup*, const QString&)':
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:2503:34: error: base operand of '->' has non-pointer type 'const std::initializer_list<QgsLayerTree* const>'
- if ( ! projectLayerTreeRoot->hasCustomLayerOrder() )
- ^
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:2507:48: error: base operand of '->' has non-pointer type 'const QList<QgsLayerTreeLayer*>'
- mLayerGroups[groupName].push_back( tl->layer() );
- ^
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:2512:60: error: base operand of '->' has non-pointer type 'const std::initializer_list<QgsLayerTree* const>'
- const auto projectLayerOrder { projectLayerTreeRoot->layerOrder() };
- ^
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:2512:75: error: unable to deduce 'const std::initializer_list<const auto>' from '{<expression error>}'
- const auto projectLayerOrder { projectLayerTreeRoot->layerOrder() };
- ^
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:2517:32: error: base operand of '->' has non-pointer type 'const QList<QgsLayerTreeLayer*>'
- groupLayersList << tl->layer();
- ^
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:2519:31: error: unable to deduce 'auto&&' from 'projectLayerOrder'
- for ( const auto &l : projectLayerOrder )
- ^
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp: In lambda function:
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:3217:44: error: no match for 'operator*' (operand type is 'const QList<QgsMapLayer*>')
- const auto nick { layerNickname( *l ) };
- ^
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:3217:44: note: candidates are:
- In file included from /usr/include/qt5/QtCore/qrect.h:43:0,
- from /usr/include/qt5/QtCore/QRectF:1,
- from /home/wms/src/qgis-3.4.8/src/core/geometry/qgsrectangle.h:24,
- from /home/wms/src/qgis-3.4.8/src/core/qgscoordinatereferencesystem.h:34,
- from /home/wms/src/qgis-3.4.8/src/core/qgscoordinatetransform.h:25,
- from /home/wms/src/qgis-3.4.8/src/core/geometry/qgsabstractgeometry.h:25,
- from /home/wms/src/qgis-3.4.8/src/core/geometry/qgsgeometry.h:33,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/../../qgsserverparameters.h:26,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/../../qgsserverrequest.h:25,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/../../qgsservice.h:24,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/../qgsmodule.h:23,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsutils.h:26,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:21:
- /usr/include/qt5/QtCore/qmargins.h:183:34: note: constexpr QMargins operator*(const QMargins&, int)
- Q_DECL_CONSTEXPR inline QMargins operator*(const QMargins &margins, int factor) Q_DECL_NOTHROW
- ^
- /usr/include/qt5/QtCore/qmargins.h:183:34: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtCore/qmargins.h:189:34: note: constexpr QMargins operator*(int, const QMargins&)
- Q_DECL_CONSTEXPR inline QMargins operator*(int factor, const QMargins &margins) Q_DECL_NOTHROW
- ^
- /usr/include/qt5/QtCore/qmargins.h:189:34: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtCore/qmargins.h:195:34: note: constexpr QMargins operator*(const QMargins&, qreal)
- Q_DECL_CONSTEXPR inline QMargins operator*(const QMargins &margins, qreal factor) Q_DECL_NOTHROW
- ^
- /usr/include/qt5/QtCore/qmargins.h:195:34: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtCore/qmargins.h:201:34: note: constexpr QMargins operator*(qreal, const QMargins&)
- Q_DECL_CONSTEXPR inline QMargins operator*(qreal factor, const QMargins &margins) Q_DECL_NOTHROW
- ^
- /usr/include/qt5/QtCore/qmargins.h:201:34: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtCore/qmargins.h:415:35: note: constexpr QMarginsF operator*(const QMarginsF&, qreal)
- Q_DECL_CONSTEXPR inline QMarginsF operator*(const QMarginsF &lhs, qreal rhs) Q_DECL_NOTHROW
- ^
- /usr/include/qt5/QtCore/qmargins.h:415:35: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtCore/qmargins.h:421:35: note: constexpr QMarginsF operator*(qreal, const QMarginsF&)
- Q_DECL_CONSTEXPR inline QMarginsF operator*(qreal lhs, const QMarginsF &rhs) Q_DECL_NOTHROW
- ^
- /usr/include/qt5/QtCore/qmargins.h:421:35: note: candidate expects 2 arguments, 1 provided
- In file included from /usr/include/qt5/QtCore/qrect.h:44:0,
- from /usr/include/qt5/QtCore/QRectF:1,
- from /home/wms/src/qgis-3.4.8/src/core/geometry/qgsrectangle.h:24,
- from /home/wms/src/qgis-3.4.8/src/core/qgscoordinatereferencesystem.h:34,
- from /home/wms/src/qgis-3.4.8/src/core/qgscoordinatetransform.h:25,
- from /home/wms/src/qgis-3.4.8/src/core/geometry/qgsabstractgeometry.h:25,
- from /home/wms/src/qgis-3.4.8/src/core/geometry/qgsgeometry.h:33,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/../../qgsserverparameters.h:26,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/../../qgsserverrequest.h:25,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/../../qgsservice.h:24,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/../qgsmodule.h:23,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsutils.h:26,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:21:
- /usr/include/qt5/QtCore/qsize.h:181:37: note: constexpr const QSize operator*(const QSize&, qreal)
- Q_DECL_CONSTEXPR inline const QSize operator*(const QSize &s, qreal c) Q_DECL_NOTHROW
- ^
- /usr/include/qt5/QtCore/qsize.h:181:37: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtCore/qsize.h:184:37: note: constexpr const QSize operator*(qreal, const QSize&)
- Q_DECL_CONSTEXPR inline const QSize operator*(qreal c, const QSize &s) Q_DECL_NOTHROW
- ^
- /usr/include/qt5/QtCore/qsize.h:184:37: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtCore/qsize.h:351:38: note: constexpr const QSizeF operator*(const QSizeF&, qreal)
- Q_DECL_CONSTEXPR inline const QSizeF operator*(const QSizeF &s, qreal c) Q_DECL_NOTHROW
- ^
- /usr/include/qt5/QtCore/qsize.h:351:38: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtCore/qsize.h:354:38: note: constexpr const QSizeF operator*(qreal, const QSizeF&)
- Q_DECL_CONSTEXPR inline const QSizeF operator*(qreal c, const QSizeF &s) Q_DECL_NOTHROW
- ^
- /usr/include/qt5/QtCore/qsize.h:354:38: note: candidate expects 2 arguments, 1 provided
- In file included from /usr/include/qt5/QtCore/qrect.h:45:0,
- from /usr/include/qt5/QtCore/QRectF:1,
- from /home/wms/src/qgis-3.4.8/src/core/geometry/qgsrectangle.h:24,
- from /home/wms/src/qgis-3.4.8/src/core/qgscoordinatereferencesystem.h:34,
- from /home/wms/src/qgis-3.4.8/src/core/qgscoordinatetransform.h:25,
- from /home/wms/src/qgis-3.4.8/src/core/geometry/qgsabstractgeometry.h:25,
- from /home/wms/src/qgis-3.4.8/src/core/geometry/qgsgeometry.h:33,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/../../qgsserverparameters.h:26,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/../../qgsserverrequest.h:25,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/../../qgsservice.h:24,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/../qgsmodule.h:23,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsutils.h:26,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:21:
- /usr/include/qt5/QtCore/qpoint.h:175:38: note: constexpr const QPoint operator*(const QPoint&, float)
- Q_DECL_CONSTEXPR inline const QPoint operator*(const QPoint &p, float factor)
- ^
- /usr/include/qt5/QtCore/qpoint.h:175:38: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtCore/qpoint.h:184:38: note: constexpr const QPoint operator*(float, const QPoint&)
- Q_DECL_CONSTEXPR inline const QPoint operator*(float factor, const QPoint &p)
- ^
- /usr/include/qt5/QtCore/qpoint.h:184:38: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtCore/qpoint.h:178:38: note: constexpr const QPoint operator*(const QPoint&, double)
- Q_DECL_CONSTEXPR inline const QPoint operator*(const QPoint &p, double factor)
- ^
- /usr/include/qt5/QtCore/qpoint.h:178:38: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtCore/qpoint.h:187:38: note: constexpr const QPoint operator*(double, const QPoint&)
- Q_DECL_CONSTEXPR inline const QPoint operator*(double factor, const QPoint &p)
- ^
- /usr/include/qt5/QtCore/qpoint.h:187:38: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtCore/qpoint.h:181:38: note: constexpr const QPoint operator*(const QPoint&, int)
- Q_DECL_CONSTEXPR inline const QPoint operator*(const QPoint &p, int factor)
- ^
- /usr/include/qt5/QtCore/qpoint.h:181:38: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtCore/qpoint.h:190:38: note: constexpr const QPoint operator*(int, const QPoint&)
- Q_DECL_CONSTEXPR inline const QPoint operator*(int factor, const QPoint &p)
- ^
- /usr/include/qt5/QtCore/qpoint.h:190:38: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtCore/qpoint.h:373:39: note: constexpr const QPointF operator*(qreal, const QPointF&)
- Q_DECL_CONSTEXPR inline const QPointF operator*(qreal c, const QPointF &p)
- ^
- /usr/include/qt5/QtCore/qpoint.h:373:39: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtCore/qpoint.h:368:39: note: constexpr const QPointF operator*(const QPointF&, qreal)
- Q_DECL_CONSTEXPR inline const QPointF operator*(const QPointF &p, qreal c)
- ^
- /usr/include/qt5/QtCore/qpoint.h:368:39: note: candidate expects 2 arguments, 1 provided
- In file included from /usr/include/qt5/QtGui/qtransform.h:43:0,
- from /usr/include/qt5/QtGui/qimage.h:48,
- from /usr/include/qt5/QtGui/QImage:1,
- from /home/wms/src/qgis-3.4.8/src/core/qgsmaplayer.h:24,
- from /home/wms/src/qgis-3.4.8/src/core/qgsmaplayerref.h:23,
- from /home/wms/src/qgis-3.4.8/src/core/layertree/qgslayertreelayer.h:22,
- from /home/wms/src/qgis-3.4.8/src/core/layertree/qgslayertree.h:21,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:32:
- /usr/include/qt5/QtGui/qmatrix.h:146:15: note: QPoint operator*(const QPoint&, const QMatrix&)
- inline QPoint operator*(const QPoint &p, const QMatrix &m)
- ^
- /usr/include/qt5/QtGui/qmatrix.h:146:15: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtGui/qmatrix.h:148:16: note: QPointF operator*(const QPointF&, const QMatrix&)
- inline QPointF operator*(const QPointF &p, const QMatrix &m)
- ^
- /usr/include/qt5/QtGui/qmatrix.h:148:16: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtGui/qmatrix.h:150:15: note: QLineF operator*(const QLineF&, const QMatrix&)
- inline QLineF operator*(const QLineF &l, const QMatrix &m)
- ^
- /usr/include/qt5/QtGui/qmatrix.h:150:15: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtGui/qmatrix.h:152:14: note: QLine operator*(const QLine&, const QMatrix&)
- inline QLine operator*(const QLine &l, const QMatrix &m)
- ^
- /usr/include/qt5/QtGui/qmatrix.h:152:14: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtGui/qmatrix.h:154:17: note: QPolygon operator*(const QPolygon&, const QMatrix&)
- inline QPolygon operator *(const QPolygon &a, const QMatrix &m)
- ^
- /usr/include/qt5/QtGui/qmatrix.h:154:17: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtGui/qmatrix.h:156:18: note: QPolygonF operator*(const QPolygonF&, const QMatrix&)
- inline QPolygonF operator *(const QPolygonF &a, const QMatrix &m)
- ^
- /usr/include/qt5/QtGui/qmatrix.h:156:18: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtGui/qmatrix.h:158:16: note: QRegion operator*(const QRegion&, const QMatrix&)
- inline QRegion operator *(const QRegion &r, const QMatrix &m)
- ^
- /usr/include/qt5/QtGui/qmatrix.h:158:16: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtGui/qmatrix.h:160:27: note: QPainterPath operator*(const QPainterPath&, const QMatrix&)
- Q_GUI_EXPORT QPainterPath operator *(const QPainterPath &p, const QMatrix &m);
- ^
- /usr/include/qt5/QtGui/qmatrix.h:160:27: note: candidate expects 2 arguments, 1 provided
- In file included from /usr/include/qt5/QtGui/qimage.h:48:0,
- from /usr/include/qt5/QtGui/QImage:1,
- from /home/wms/src/qgis-3.4.8/src/core/qgsmaplayer.h:24,
- from /home/wms/src/qgis-3.4.8/src/core/qgsmaplayerref.h:23,
- from /home/wms/src/qgis-3.4.8/src/core/layertree/qgslayertreelayer.h:22,
- from /home/wms/src/qgis-3.4.8/src/core/layertree/qgslayertree.h:21,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:32:
- /usr/include/qt5/QtGui/qtransform.h:383:15: note: QPoint operator*(const QPoint&, const QTransform&)
- inline QPoint operator*(const QPoint &p, const QTransform &m)
- ^
- /usr/include/qt5/QtGui/qtransform.h:383:15: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtGui/qtransform.h:385:16: note: QPointF operator*(const QPointF&, const QTransform&)
- inline QPointF operator*(const QPointF &p, const QTransform &m)
- ^
- /usr/include/qt5/QtGui/qtransform.h:385:16: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtGui/qtransform.h:387:15: note: QLineF operator*(const QLineF&, const QTransform&)
- inline QLineF operator*(const QLineF &l, const QTransform &m)
- ^
- /usr/include/qt5/QtGui/qtransform.h:387:15: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtGui/qtransform.h:389:14: note: QLine operator*(const QLine&, const QTransform&)
- inline QLine operator*(const QLine &l, const QTransform &m)
- ^
- /usr/include/qt5/QtGui/qtransform.h:389:14: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtGui/qtransform.h:391:17: note: QPolygon operator*(const QPolygon&, const QTransform&)
- inline QPolygon operator *(const QPolygon &a, const QTransform &m)
- ^
- /usr/include/qt5/QtGui/qtransform.h:391:17: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtGui/qtransform.h:393:18: note: QPolygonF operator*(const QPolygonF&, const QTransform&)
- inline QPolygonF operator *(const QPolygonF &a, const QTransform &m)
- ^
- /usr/include/qt5/QtGui/qtransform.h:393:18: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtGui/qtransform.h:395:16: note: QRegion operator*(const QRegion&, const QTransform&)
- inline QRegion operator *(const QRegion &r, const QTransform &m)
- ^
- /usr/include/qt5/QtGui/qtransform.h:395:16: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtGui/qtransform.h:397:21: note: QPainterPath operator*(const QPainterPath&, const QTransform&)
- inline QPainterPath operator *(const QPainterPath &p, const QTransform &m)
- ^
- /usr/include/qt5/QtGui/qtransform.h:397:21: note: candidate expects 2 arguments, 1 provided
- /usr/include/qt5/QtGui/qtransform.h:400:19: note: QTransform operator*(const QTransform&, qreal)
- inline QTransform operator *(const QTransform &a, qreal n)
- ^
- /usr/include/qt5/QtGui/qtransform.h:400:19: note: candidate expects 2 arguments, 1 provided
- In file included from /home/wms/src/qgis-3.4.8/src/core/annotations/qgsannotation.h:27:0,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:62:
- /home/wms/src/qgis-3.4.8/src/core/qgsmargins.h:242:19: note: QgsMargins operator*(const QgsMargins&, double)
- inline QgsMargins operator*( const QgsMargins &margins, double factor )
- ^
- /home/wms/src/qgis-3.4.8/src/core/qgsmargins.h:242:19: note: candidate expects 2 arguments, 1 provided
- /home/wms/src/qgis-3.4.8/src/core/qgsmargins.h:252:19: note: QgsMargins operator*(double, const QgsMargins&)
- inline QgsMargins operator*( double factor, const QgsMargins &margins )
- ^
- /home/wms/src/qgis-3.4.8/src/core/qgsmargins.h:252:19: note: candidate expects 2 arguments, 1 provided
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:3217:49: error: unable to deduce 'const std::initializer_list<const auto>' from '{<expression error>}'
- const auto nick { layerNickname( *l ) };
- ^
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp: In member function 'QStringList QgsWms::QgsRenderer::flattenedQueryLayers() const':
- /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:3237:39: error: no match for call to '(std::function<QStringList(const QString&)>) (const QStringList&)'
- result.append( findLeaves( name ) );
- ^
- In file included from /usr/include/c++/4.8.2/bits/stl_algo.h:66:0,
- from /usr/include/c++/4.8.2/algorithm:62,
- from /usr/include/qt5/QtCore/qglobal.h:109,
- from /usr/include/qt5/QtCore/qnamespace.h:43,
- from /usr/include/qt5/QtCore/qcoreevent.h:43,
- from /usr/include/qt5/QtCore/QEvent:1,
- from /home/wms/src/qgis-3.4.8/src/core/qgis.h:21,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/../qgsmodule.h:20,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsutils.h:26,
- from /home/wms/src/qgis-3.4.8/src/server/services/wms/qgswmsrenderer.cpp:21:
- /usr/include/c++/4.8.2/functional:2174:11: note: candidate is:
- class function<_Res(_ArgTypes...)>
- ^
- /usr/include/c++/4.8.2/functional:2466:5: note: _Res std::function<_Res(_ArgTypes ...)>::operator()(_ArgTypes ...) const [with _Res = QStringList; _ArgTypes = {const QString&}]
- function<_Res(_ArgTypes...)>::
- ^
- /usr/include/c++/4.8.2/functional:2466:5: note: no known conversion for argument 1 from 'const QStringList' to 'const QString&'
- make[2]: *** [src/server/services/wms/CMakeFiles/wms.dir/qgswmsrenderer.cpp.o] Error 1
- make[1]: *** [src/server/services/wms/CMakeFiles/wms.dir/all] Error 2
- make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement