Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-74538

NFC autotests don't build with GCC 4.8

    XMLWordPrintable

    Details

    • Commits:
      16f033fb13a3005eefbe8b7b6ccc52bfda08649e (qt/qtconnectivity/5.12)

      Description

      agent:2019/03/18 13:35:33 build.go:197: g++ -c -pipe -g -Og -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DSRCDIR=\"/home/qt/work/qt/qtconnectivity/tests/auto/qnearfieldtagtype1/../nfcdata\" -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NFC_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/home/qt/work/qt/qtconnectivity/tests/auto/qnearfieldtagtype1"' -I. -I../../../src/nfc -I/home/qt/work/install/include/QtNfc/5.12.2 -I/home/qt/work/install/include/QtNfc/5.12.2/QtNfc -I/home/qt/work/install/include -I/home/qt/work/install/include/QtNfc -I/home/qt/work/install/include/QtTest -I/home/qt/work/install/include/QtCore -I.moc -I/home/qt/work/install/mkspecs/linux-g++ -o .obj/qnearfieldmanagervirtualbase.o ../../../src/nfc/qnearfieldmanagervirtualbase.cpp
      agent:2019/03/18 13:35:34 build.go:197: ../../../src/nfc/qnearfieldmanager_emulator.cpp: In constructor ‘QNearFieldManagerPrivateImpl::QNearFieldManagerPrivateImpl()’:
      agent:2019/03/18 13:35:34 build.go:197: ../../../src/nfc/qnearfieldmanager_emulator.cpp:54:111: error: no matching function for call to ‘QNearFieldManagerPrivateImpl::connect(QGlobalStatic<TagActivator, (* {anonymous}::Q_QGS_globalTagActivator::innerFunction), (* & {anonymous}::Q_QGS_globalTagActivator::guard)>&, void (TagActivator::*)(TagBase*), QNearFieldManagerPrivateImpl* const, void (QNearFieldManagerPrivateImpl::*)(TagBase*))’
      agent:2019/03/18 13:35:34 build.go:197:      connect(globalTagActivator, &TagActivator::tagActivated, this, &QNearFieldManagerPrivateImpl::tagActivated);
      agent:2019/03/18 13:35:34 build.go:197:                                                                                                                ^
      agent:2019/03/18 13:35:34 build.go:197: ../../../src/nfc/qnearfieldmanager_emulator.cpp:54:111: note: candidates are:
      agent:2019/03/18 13:35:34 build.go:197: In file included from /home/qt/work/install/include/QtCore/QObject:1:0,
      agent:2019/03/18 13:35:34 build.go:197:                  from ../../../src/nfc/qnearfieldmanager.h:43,
      agent:2019/03/18 13:35:34 build.go:197:                  from ../../../src/nfc/qnearfieldmanager_p.h:54,
      agent:2019/03/18 13:35:34 build.go:197:                  from ../../../src/nfc/qnearfieldmanagervirtualbase_p.h:54,
      agent:2019/03/18 13:35:34 build.go:197:                  from ../../../src/nfc/qnearfieldmanager_emulator_p.h:54,
      agent:2019/03/18 13:35:34 build.go:197:                  from ../../../src/nfc/qnearfieldmanager_emulator.cpp:40:
      agent:2019/03/18 13:35:34 build.go:197: /home/qt/work/install/include/QtCore/qobject.h:208:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
      agent:2019/03/18 13:35:34 build.go:197:      static QMetaObject::Connection connect(const QObject *sender, const char *signal,
      

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              • Assignee:
                ablasche Alex Blasche
                Reporter:
                tosaraja Tony Sarajärvi
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes