QDeclarativeGeoMap::connect(QPointer<QGeoMap>&, void (QGeoMap::*)(const QString&), QDeclarativeGeoMa

egeomap.o declarativemaps/qdeclarativegeomap.cpp
In file included from ../../include/QtLocation/5.11.1/QtLocation/private/qgeomap_p.h:1:0,
                 from declarativemaps/qdeclarativegeomap_p.h:63,
                 from declarativemaps/qdeclarativegeomap.cpp:37:
../../include/QtLocation/5.11.1/QtLocation/private/../../../../../src/location/maps/qgeomap_p.h:174:18: 警告:‘QGeoMapPrivate’已经是‘QGeoMap’的友元 [默认启用]
     friend class QGeoMapPrivate;
                  ^
declarativemaps/qdeclarativegeomap.cpp: 在成员函数‘void QDeclarativeGeoMap::mappingManagerInitialized()’中:
declarativemaps/qdeclarativegeomap.cpp:699:91: 错误:对‘QDeclarativeGeoMap::connect(QPointer<QGeoMap>&, void (QGeoMap::*)(const QString&), QDeclarativeGeoMap::mappingManagerInitialized()::__lambda9)’的调用没有匹配的函数
                         [&copyrightString](const QString &copy){ copyrightString = copy; });
                                                                                           ^
declarativemaps/qdeclarativegeomap.cpp:699:91: 附注:备选是:
In file included from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/qobject.h:1:0,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/animation/qabstractanimation.h:43,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/qabstractanimation.h:1,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/QtCore:5,
                 from ../../include/QtLocation/QtLocationDepends:3:
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:208:36: 附注:static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const char *signal,
                                    ^
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:208:36: 附注: 备选需要 5 实参,但提供了 3 个
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:211:36: 附注:static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
                                    ^
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:211:36: 附注: 备选需要 5 实参,但提供了 3 个
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:463:32: 附注:QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
 inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal,
                                ^
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:463:32: 附注:  no known conversion for argument 2 from ‘void (QGeoMap::*)(const QString&)’ to ‘const char*’
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:228:43: 附注:template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)
     static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
                                           ^
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:228:43: 附注:  template argument deduction/substitution failed:
declarativemaps/qdeclarativegeomap.cpp:699:91: 附注:  mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<QGeoMap>’
                         [&copyrightString](const QString &copy){ copyrightString = copy; });
                                                                                           ^
In file included from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/qobject.h:1:0,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/animation/qabstractanimation.h:43,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/qabstractanimation.h:1,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/QtCore:5,
                 from ../../include/QtLocation/QtLocationDepends:3:
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:260:13: 附注:template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:260:13: 附注:  template argument deduction/substitution failed:
declarativemaps/qdeclarativegeomap.cpp:699:91: 附注:  mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<QGeoMap>’
                         [&copyrightString](const QString &copy){ copyrightString = copy; });
                                                                                           ^
In file included from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/qobject.h:1:0,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/animation/qabstractanimation.h:43,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/qabstractanimation.h:1,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/QtCore:5,
                 from ../../include/QtLocation/QtLocationDepends:3:
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:269:13: 附注:template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:269:13: 附注:  template argument deduction/substitution failed:
declarativemaps/qdeclarativegeomap.cpp:699:91: 附注:  mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<QGeoMap>’
                         [&copyrightString](const QString &copy){ copyrightString = copy; });
                                                                                           ^
In file included from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/qobject.h:1:0,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/animation/qabstractanimation.h:43,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/qabstractanimation.h:1,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/QtCore:5,
                 from ../../include/QtLocation/QtLocationDepends:3:
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:300:13: 附注:template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:300:13: 附注:  template argument deduction/substitution failed:
declarativemaps/qdeclarativegeomap.cpp:699:91: 附注:  mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<QGeoMap>’
                         [&copyrightString](const QString &copy){ copyrightString = copy; });
                                                                                           ^
In file included from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/qobject.h:1:0,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/animation/qabstractanimation.h:43,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/qabstractanimation.h:1,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/QtCore:5,
                 from ../../include/QtLocation/QtLocationDepends:3:
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:308:13: 附注:template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:308:13: 附注:  template argument deduction/substitution failed:
declarativemaps/qdeclarativegeomap.cpp:699:91: 附注:  mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<QGeoMap>’
                         [&copyrightString](const QString &copy){ copyrightString = copy; });
                                                                                           ^
declarativemaps/qdeclarativegeomap.cpp:703:88: 错误:对‘QDeclarativeGeoMap::connect(QPointer<QGeoMap>&, void (QGeoMap::*)(const QImage&), QDeclarativeGeoMap::mappingManagerInitialized()::__lambda10)’的调用没有匹配的函数
                         [&copyrightImage](const QImage &copy){ copyrightImage = copy; });
                                                                                        ^
declarativemaps/qdeclarativegeomap.cpp:703:88: 附注:备选是:
In file included from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/qobject.h:1:0,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/animation/qabstractanimation.h:43,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/qabstractanimation.h:1,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/QtCore:5,
                 from ../../include/QtLocation/QtLocationDepends:3:
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:208:36: 附注:static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const char *signal,
                                    ^
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:208:36: 附注: 备选需要 5 实参,但提供了 3 个
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:211:36: 附注:static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
                                    ^
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:211:36: 附注: 备选需要 5 实参,但提供了 3 个
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:463:32: 附注:QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
 inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal,
                                ^
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:463:32: 附注:  no known conversion for argument 2 from ‘void (QGeoMap::*)(const QImage&)’ to ‘const char*’
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:228:43: 附注:template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)
     static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
                                           ^
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:228:43: 附注:  template argument deduction/substitution failed:
declarativemaps/qdeclarativegeomap.cpp:703:88: 附注:  mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<QGeoMap>’
                         [&copyrightImage](const QImage &copy){ copyrightImage = copy; });
                                                                                        ^
In file included from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/qobject.h:1:0,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/animation/qabstractanimation.h:43,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/qabstractanimation.h:1,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/QtCore:5,
                 from ../../include/QtLocation/QtLocationDepends:3:
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:260:13: 附注:template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:260:13: 附注:  template argument deduction/substitution failed:
declarativemaps/qdeclarativegeomap.cpp:703:88: 附注:  mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<QGeoMap>’
                         [&copyrightImage](const QImage &copy){ copyrightImage = copy; });
                                                                                        ^
In file included from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/qobject.h:1:0,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/animation/qabstractanimation.h:43,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/qabstractanimation.h:1,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/QtCore:5,
                 from ../../include/QtLocation/QtLocationDepends:3:
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:269:13: 附注:template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:269:13: 附注:  template argument deduction/substitution failed:
declarativemaps/qdeclarativegeomap.cpp:703:88: 附注:  mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<QGeoMap>’
                         [&copyrightImage](const QImage &copy){ copyrightImage = copy; });
                                                                                        ^
In file included from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/qobject.h:1:0,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/animation/qabstractanimation.h:43,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/qabstractanimation.h:1,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/QtCore:5,
                 from ../../include/QtLocation/QtLocationDepends:3:
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:300:13: 附注:template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:300:13: 附注:  template argument deduction/substitution failed:
declarativemaps/qdeclarativegeomap.cpp:703:88: 附注:  mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<QGeoMap>’
                         [&copyrightImage](const QImage &copy){ copyrightImage = copy; });
                                                                                        ^
In file included from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/qobject.h:1:0,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/animation/qabstractanimation.h:43,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/qabstractanimation.h:1,
                 from /home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/QtCore:5,
                 from ../../include/QtLocation/QtLocationDepends:3:
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:308:13: 附注:template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/home/aisdk/code/qt/qt-everywhere-src-5.11.1/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:308:13: 附注:  template argument deduction/substitution failed:
declarativemaps/qdeclarativegeomap.cpp:703:88: 附注:  mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<QGeoMap>’
                         [&copyrightImage](const QImage &copy){ copyrightImage = copy; });
                                                                                        ^
declarativemaps/qdeclarativegeomap.cpp:722:70: 错误:对‘QDeclarativeGeoMa
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值