[Ci-reports] fail on QtBase_dev_Integration #5942

Qt Continuous Integration System ci-noreply at qt-project.org
Thu Mar 5 14:49:23 CET 2015


qtbase failed to compile :(

  In file included from ../../include/QtCore/qvector.h:1:0,
                   from ../../include/QtCore/../../src/corelib/tools/qstack.h:37,
                   from ../../include/QtCore/qstack.h:1,
                   from io/qdiriterator.cpp:87:
  In file included from ../../include/QtCore/qstring.h:1:0,
                   from ../../include/QtCore/../../src/corelib/tools/qbytearray.h:680,
                   from ../../include/QtCore/qbytearray.h:1,
                   from io/qurl.h:38,
                   from io/qurl.cpp:398:
  In file included from ../../include/QtCore/5.6.0/QtCore/private/qjnihelpers_p.h:1:0,
                   from io/qstandardpaths_android.cpp:39:
  ../../include/QtCore/5.6.0/QtCore/private/../../../../../src/corelib/kernel/qjnihelpers_p.h:89:24: error: 'void QtAndroidPrivate::NewIntentListener::handleNewIntent(JNIEnv*, jobject)' cannot be overloaded
  ../../include/QtCore/5.6.0/QtCore/private/../../../../../src/corelib/kernel/qjnihelpers_p.h:68:22: error: with 'virtual bool QtAndroidPrivate::NewIntentListener::handleNewIntent(JNIEnv*, jobject)'
  ../../include/QtCore/5.6.0/QtCore/private/../../../../../src/corelib/kernel/qjnihelpers_p.h:97:1: error: expected ';' after class definition
  In file included from ../../include/QtCore/qiodevice.h:1:0,
                   from ../../include/QtCore/../../src/corelib/io/qfiledevice.h:37,
                   from ../../include/QtCore/qfiledevice.h:1,
                   from ../../include/QtCore/../../src/corelib/io/qfile.h:37,
                   from ../../include/QtCore/qfile.h:1,
                   from ../../include/QtCore/../../src/corelib/io/qfileinfo.h:37,
                   from ../../include/QtCore/qfileinfo.h:1,
                   from ../../include/QtCore/../../src/corelib/io/qdir.h:38,
                   from ../../include/QtCore/qdir.h:1,
                   from ../../include/QtCore/QDir:1,
                   from io/qstandardpaths_android.cpp:41:
  ../../include/QtCore/../../src/corelib/io/qiodevice.h: In member function 'qint64 QtAndroidPrivate::QIODevice::write(const QtAndroidPrivate::QByteArray&)':
  ../../include/QtCore/../../src/corelib/io/qiodevice.h:117:24: error: invalid use of incomplete type 'const class QtAndroidPrivate::QByteArray'
  ../../include/QtCore/../../src/corelib/io/qiodevice.h:53:7: error: forward declaration of 'const class QtAndroidPrivate::QByteArray'
  ../../include/QtCore/../../src/corelib/io/qiodevice.h:117:42: error: invalid use of incomplete type 'const class QtAndroidPrivate::QByteArray'
  ../../include/QtCore/../../src/corelib/io/qiodevice.h:53:7: error: forward declaration of 'const class QtAndroidPrivate::QByteArray'
  In file included from ../../include/QtCore/qfile.h:1:0,
                   from ../../include/QtCore/../../src/corelib/io/qfileinfo.h:37,
                   from ../../include/QtCore/qfileinfo.h:1,
                   from ../../include/QtCore/../../src/corelib/io/qdir.h:38,
                   from ../../include/QtCore/qdir.h:1,
                   from ../../include/QtCore/QDir:1,
                   from io/qstandardpaths_android.cpp:41:
  ../../include/QtCore/../../src/corelib/io/qfile.h: In static member function 'static QtAndroidPrivate::QByteArray QtAndroidPrivate::QFile::encodeName(const QString&)':
  ../../include/QtCore/../../src/corelib/io/qfile.h:81:5: error: return type 'class QtAndroidPrivate::QByteArray' is incomplete
  ../../include/QtCore/../../src/corelib/io/qfile.h: In static member function 'static QString QtAndroidPrivate::QFile::decodeName(const QtAndroidPrivate::QByteArray&)':
  ../../include/QtCore/../../src/corelib/io/qfile.h:86:52: error: no matching function for call to 'QString::fromLocal8Bit(const QtAndroidPrivate::QByteArray&)'
  ../../include/QtCore/../../src/corelib/io/qfile.h:86:52: note: candidates are:
  In file included from ../../include/QtCore/qstring.h:1:0,
                   from ../../include/QtCore/../../src/corelib/tools/qbytearray.h:680,
                   from ../../include/QtCore/qbytearray.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qbytearraylist.h:40,
                   from ../../include/QtCore/qbytearraylist.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qlist.h:1020,
                   from ../../include/QtCore/qlist.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qstringlist.h:34,
                   from ../../include/QtCore/qstringlist.h:1,
                   from io/qstandardpaths.h:37,
                   from io/qstandardpaths_android.cpp:34:
  ../../include/QtCore/../../src/corelib/tools/qstring.h:532:27: note: static QString QString::fromLocal8Bit(const char*, int)
  ../../include/QtCore/../../src/corelib/tools/qstring.h:532:27: note:   no known conversion for argument 1 from 'const QtAndroidPrivate::QByteArray' to 'const char*'
  ../../include/QtCore/../../src/corelib/tools/qstring.h:540:27: note: static QString QString::fromLocal8Bit(const QByteArray&)
  ../../include/QtCore/../../src/corelib/tools/qstring.h:540:27: note:   no known conversion for argument 1 from 'const QtAndroidPrivate::QByteArray' to 'const QByteArray&'
  In file included from ../../include/QtCore/qfile.h:1:0,
                   from ../../include/QtCore/../../src/corelib/io/qfileinfo.h:37,
                   from ../../include/QtCore/qfileinfo.h:1,
                   from ../../include/QtCore/../../src/corelib/io/qdir.h:38,
                   from ../../include/QtCore/qdir.h:1,
                   from ../../include/QtCore/QDir:1,
                   from io/qstandardpaths_android.cpp:41:
  ../../include/QtCore/../../src/corelib/io/qfile.h: In static member function 'static QString QtAndroidPrivate::QFile::decodeName(const char*)':
  ../../include/QtCore/../../src/corelib/io/qfile.h:90:53: error: invalid use of incomplete type 'class QtAndroidPrivate::QByteArray'
  In file included from ../../include/QtCore/qiodevice.h:1:0,
                   from ../../include/QtCore/../../src/corelib/io/qfiledevice.h:37,
                   from ../../include/QtCore/qfiledevice.h:1,
                   from ../../include/QtCore/../../src/corelib/io/qfile.h:37,
                   from ../../include/QtCore/qfile.h:1,
                   from ../../include/QtCore/../../src/corelib/io/qfileinfo.h:37,
                   from ../../include/QtCore/qfileinfo.h:1,
                   from ../../include/QtCore/../../src/corelib/io/qdir.h:38,
                   from ../../include/QtCore/qdir.h:1,
                   from ../../include/QtCore/QDir:1,
                   from io/qstandardpaths_android.cpp:41:
  ../../include/QtCore/../../src/corelib/io/qiodevice.h:53:7: error: forward declaration of 'class QtAndroidPrivate::QByteArray'
  In file included from ../../include/QtCore/qtypeinfo.h:1:0,
                   from ../../include/QtCore/../../src/corelib/global/qglobal.h:1093,
                   from ../../include/QtCore/qglobal.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:37,
                   from ../../include/QtCore/qalgorithms.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qlist.h:37,
                   from ../../include/QtCore/qlist.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qstringlist.h:34,
                   from ../../include/QtCore/qstringlist.h:1,
                   from io/qstandardpaths.h:37,
                   from io/qstandardpaths_android.cpp:34:
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:172:7: error: specialization of 'template<class T> class QTypeInfo' in different namespace [-fpermissive]
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:189:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO_BODY'
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:207:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:145:1: note: in expansion of macro 'Q_DECLARE_SHARED'
  In file included from ../../include/QtCore/qtypeinfo.h:1:0,
                   from ../../include/QtCore/../../src/corelib/global/qglobal.h:1093,
                   from ../../include/QtCore/qglobal.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:37,
                   from ../../include/QtCore/qalgorithms.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qlist.h:37,
                   from ../../include/QtCore/qlist.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qstringlist.h:34,
                   from ../../include/QtCore/qstringlist.h:1,
                   from io/qstandardpaths.h:37,
                   from io/qstandardpaths_android.cpp:34:
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:50:7: error:   from definition of 'template<class T> class QTypeInfo' [-fpermissive]
  In file included from ../../include/QtCore/qtypeinfo.h:1:0,
                   from ../../include/QtCore/../../src/corelib/global/qglobal.h:1093,
                   from ../../include/QtCore/qglobal.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:37,
                   from ../../include/QtCore/qalgorithms.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qlist.h:37,
                   from ../../include/QtCore/qlist.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qstringlist.h:34,
                   from ../../include/QtCore/qstringlist.h:1,
                   from io/qstandardpaths.h:37,
                   from io/qstandardpaths_android.cpp:34:
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:145:18: error: 'QFileInfo' was not declared in this scope
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:178:27: note: in definition of macro 'Q_DECLARE_TYPEINFO_BODY'
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:207:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:145:1: note: in expansion of macro 'Q_DECLARE_SHARED'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:145:18: note: suggested alternative:
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:178:27: note: in definition of macro 'Q_DECLARE_TYPEINFO_BODY'
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:207:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:145:1: note: in expansion of macro 'Q_DECLARE_SHARED'
  In file included from ../../include/QtCore/qfileinfo.h:1:0,
                   from ../../include/QtCore/../../src/corelib/io/qdir.h:38,
                   from ../../include/QtCore/qdir.h:1,
                   from ../../include/QtCore/QDir:1,
                   from io/qstandardpaths_android.cpp:41:
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:50:21: note:   'QtAndroidPrivate::QFileInfo'
  In file included from ../../include/QtCore/qtypeinfo.h:1:0,
                   from ../../include/QtCore/../../src/corelib/global/qglobal.h:1093,
                   from ../../include/QtCore/qglobal.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:37,
                   from ../../include/QtCore/qalgorithms.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qlist.h:37,
                   from ../../include/QtCore/qlist.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qstringlist.h:34,
                   from ../../include/QtCore/qstringlist.h:1,
                   from io/qstandardpaths.h:37,
                   from io/qstandardpaths_android.cpp:34:
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:145:18: error: 'QFileInfo' was not declared in this scope
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:180:46: note: in definition of macro 'Q_DECLARE_TYPEINFO_BODY'
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:207:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:145:1: note: in expansion of macro 'Q_DECLARE_SHARED'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:145:18: note: suggested alternative:
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:180:46: note: in definition of macro 'Q_DECLARE_TYPEINFO_BODY'
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:207:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:145:1: note: in expansion of macro 'Q_DECLARE_SHARED'
  In file included from ../../include/QtCore/qfileinfo.h:1:0,
                   from ../../include/QtCore/../../src/corelib/io/qdir.h:38,
                   from ../../include/QtCore/qdir.h:1,
                   from ../../include/QtCore/QDir:1,
                   from io/qstandardpaths_android.cpp:41:
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:50:21: note:   'QtAndroidPrivate::QFileInfo'
  In file included from ../../include/QtCore/qtypeinfo.h:1:0,
                   from ../../include/QtCore/../../src/corelib/global/qglobal.h:1093,
                   from ../../include/QtCore/qglobal.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:37,
                   from ../../include/QtCore/qalgorithms.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qlist.h:37,
                   from ../../include/QtCore/qlist.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qstringlist.h:34,
                   from ../../include/QtCore/qstringlist.h:1,
                   from io/qstandardpaths.h:37,
                   from io/qstandardpaths_android.cpp:34:
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:180:51: error: template argument 1 is invalid
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:189:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO_BODY'
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:207:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:145:1: note: in expansion of macro 'Q_DECLARE_SHARED'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:145:18: error: 'QFileInfo' was not declared in this scope
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:182:25: note: in definition of macro 'Q_DECLARE_TYPEINFO_BODY'
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:207:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:145:1: note: in expansion of macro 'Q_DECLARE_SHARED'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:145:18: note: suggested alternative:
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:182:25: note: in definition of macro 'Q_DECLARE_TYPEINFO_BODY'
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:207:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:145:1: note: in expansion of macro 'Q_DECLARE_SHARED'
  In file included from ../../include/QtCore/qfileinfo.h:1:0,
                   from ../../include/QtCore/../../src/corelib/io/qdir.h:38,
                   from ../../include/QtCore/qdir.h:1,
                   from ../../include/QtCore/QDir:1,
                   from io/qstandardpaths_android.cpp:41:
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:50:21: note:   'QtAndroidPrivate::QFileInfo'
  In file included from ../../include/QtCore/qtypeinfo.h:1:0,
                   from ../../include/QtCore/../../src/corelib/global/qglobal.h:1093,
                   from ../../include/QtCore/qglobal.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:37,
                   from ../../include/QtCore/qalgorithms.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qlist.h:37,
                   from ../../include/QtCore/qlist.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qstringlist.h:34,
                   from ../../include/QtCore/qstringlist.h:1,
                   from io/qstandardpaths.h:37,
                   from io/qstandardpaths_android.cpp:34:
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:184:36: error: definition of 'static const char* QTypeInfo<QtAndroidPrivate::QFileInfo>::name()' is not in namespace enclosing 'QTypeInfo<QtAndroidPrivate::QFileInfo>' [-fpermissive]
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:189:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO_BODY'
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:207:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:145:1: note: in expansion of macro 'Q_DECLARE_SHARED'
  In file included from ../../include/QtCore/qmetatype.h:1:0,
                   from ../../include/QtCore/../../src/corelib/kernel/qobject.h:48,
                   from ../../include/QtCore/qobject.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:57,
                   from ../../include/QtCore/qsharedpointer_impl.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qsharedpointer.h:42,
                   from ../../include/QtCore/qsharedpointer.h:1,
                   from ../../include/QtCore/5.6.0/QtCore/private/../../../../../src/corelib/kernel/qjni_p.h:50,
                   from ../../include/QtCore/5.6.0/QtCore/private/qjni_p.h:1,
                   from io/qstandardpaths_android.cpp:38:
  ../../include/QtCore/../../src/corelib/kernel/qmetatype.h:1831:12: error: specialization of 'template<class T> struct QMetaTypeId' in different namespace [-fpermissive]
  ../../include/QtCore/../../src/corelib/kernel/qmetatype.h:1827:34: note: in expansion of macro 'Q_DECLARE_METATYPE_IMPL'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:151:1: note: in expansion of macro 'Q_DECLARE_METATYPE'
  ../../include/QtCore/../../src/corelib/kernel/qmetatype.h:1563:8: error:   from definition of 'template<class T> struct QMetaTypeId' [-fpermissive]
  ../../include/QtCore/../../src/corelib/kernel/qmetatype.h:1834:35: error: definition of 'static int QMetaTypeId<QtAndroidPrivate::QFileInfo>::qt_metatype_id()' is not in namespace enclosing 'QMetaTypeId<QtAndroidPrivate::QFileInfo>' [-fpermissive]
  ../../include/QtCore/../../src/corelib/kernel/qmetatype.h:1827:34: note: in expansion of macro 'Q_DECLARE_METATYPE_IMPL'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:151:1: note: in expansion of macro 'Q_DECLARE_METATYPE'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h: In static member function 'static int QMetaTypeId<QtAndroidPrivate::QFileInfo>::qt_metatype_id()':
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:151:20: error: 'QFileInfo' was not declared in this scope
  ../../include/QtCore/../../src/corelib/kernel/qmetatype.h:1839:54: note: in definition of macro 'Q_DECLARE_METATYPE_IMPL'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:151:1: note: in expansion of macro 'Q_DECLARE_METATYPE'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:151:20: note: suggested alternative:
  ../../include/QtCore/../../src/corelib/kernel/qmetatype.h:1839:54: note: in definition of macro 'Q_DECLARE_METATYPE_IMPL'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:151:1: note: in expansion of macro 'Q_DECLARE_METATYPE'
  In file included from ../../include/QtCore/qfileinfo.h:1:0,
                   from ../../include/QtCore/../../src/corelib/io/qdir.h:38,
                   from ../../include/QtCore/qdir.h:1,
                   from ../../include/QtCore/QDir:1,
                   from io/qstandardpaths_android.cpp:41:
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:50:21: note:   'QtAndroidPrivate::QFileInfo'
  In file included from ../../include/QtCore/qmetatype.h:1:0,
                   from ../../include/QtCore/../../src/corelib/kernel/qobject.h:48,
                   from ../../include/QtCore/qobject.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:57,
                   from ../../include/QtCore/qsharedpointer_impl.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qsharedpointer.h:42,
                   from ../../include/QtCore/qsharedpointer.h:1,
                   from ../../include/QtCore/5.6.0/QtCore/private/../../../../../src/corelib/kernel/qjni_p.h:50,
                   from ../../include/QtCore/5.6.0/QtCore/private/qjni_p.h:1,
                   from io/qstandardpaths_android.cpp:38:
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:151:20: error: expected type-specifier before 'QFileInfo'
  ../../include/QtCore/../../src/corelib/kernel/qmetatype.h:1840:49: note: in definition of macro 'Q_DECLARE_METATYPE_IMPL'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:151:1: note: in expansion of macro 'Q_DECLARE_METATYPE'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:151:20: error: expected '>' before 'QFileInfo'
  ../../include/QtCore/../../src/corelib/kernel/qmetatype.h:1840:49: note: in definition of macro 'Q_DECLARE_METATYPE_IMPL'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:151:1: note: in expansion of macro 'Q_DECLARE_METATYPE'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:151:20: error: expected '(' before 'QFileInfo'
  ../../include/QtCore/../../src/corelib/kernel/qmetatype.h:1840:49: note: in definition of macro 'Q_DECLARE_METATYPE_IMPL'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:151:1: note: in expansion of macro 'Q_DECLARE_METATYPE'
  ../../include/QtCore/../../src/corelib/kernel/qmetatype.h:1840:55: error: expected primary-expression before '>' token
  ../../include/QtCore/../../src/corelib/kernel/qmetatype.h:1827:34: note: in expansion of macro 'Q_DECLARE_METATYPE_IMPL'
  ../../include/QtCore/../../src/corelib/io/qfileinfo.h:151:1: note: in expansion of macro 'Q_DECLARE_METATYPE'
  In file included from ../../include/QtCore/qtypeinfo.h:1:0,
                   from ../../include/QtCore/../../src/corelib/global/qglobal.h:1093,
                   from ../../include/QtCore/qglobal.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:37,
                   from ../../include/QtCore/qalgorithms.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qlist.h:37,
                   from ../../include/QtCore/qlist.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qstringlist.h:34,
                   from ../../include/QtCore/qstringlist.h:1,
                   from io/qstandardpaths.h:37,
                   from io/qstandardpaths_android.cpp:34:
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:172:7: error: specialization of 'template<class T> class QTypeInfo' in different namespace [-fpermissive]
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:189:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO_BODY'
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:207:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO'
  ../../include/QtCore/../../src/corelib/io/qdir.h:217:1: note: in expansion of macro 'Q_DECLARE_SHARED'
  In file included from ../../include/QtCore/qtypeinfo.h:1:0,
                   from ../../include/QtCore/../../src/corelib/global/qglobal.h:1093,
                   from ../../include/QtCore/qglobal.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:37,
                   from ../../include/QtCore/qalgorithms.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qlist.h:37,
                   from ../../include/QtCore/qlist.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qstringlist.h:34,
                   from ../../include/QtCore/qstringlist.h:1,
                   from io/qstandardpaths.h:37,
                   from io/qstandardpaths_android.cpp:34:
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:50:7: error:   from definition of 'template<class T> class QTypeInfo' [-fpermissive]
  In file included from ../../include/QtCore/qtypeinfo.h:1:0,
                   from ../../include/QtCore/../../src/corelib/global/qglobal.h:1093,
                   from ../../include/QtCore/qglobal.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:37,
                   from ../../include/QtCore/qalgorithms.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qlist.h:37,
                   from ../../include/QtCore/qlist.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qstringlist.h:34,
                   from ../../include/QtCore/qstringlist.h:1,
                   from io/qstandardpaths.h:37,
                   from io/qstandardpaths_android.cpp:34:
  ../../include/QtCore/../../src/corelib/io/qdir.h:217:18: error: 'QDir' was not declared in this scope
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:178:27: note: in definition of macro 'Q_DECLARE_TYPEINFO_BODY'
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:207:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO'
  ../../include/QtCore/../../src/corelib/io/qdir.h:217:1: note: in expansion of macro 'Q_DECLARE_SHARED'
  ../../include/QtCore/../../src/corelib/io/qdir.h:217:18: note: suggested alternative:
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:178:27: note: in definition of macro 'Q_DECLARE_TYPEINFO_BODY'
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:207:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO'
  ../../include/QtCore/../../src/corelib/io/qdir.h:217:1: note: in expansion of macro 'Q_DECLARE_SHARED'
  In file included from ../../include/QtCore/qdir.h:1:0,
                   from ../../include/QtCore/QDir:1,
                   from io/qstandardpaths_android.cpp:41:
  ../../include/QtCore/../../src/corelib/io/qdir.h:48:21: note:   'QtAndroidPrivate::QDir'
  In file included from ../../include/QtCore/qtypeinfo.h:1:0,
                   from ../../include/QtCore/../../src/corelib/global/qglobal.h:1093,
                   from ../../include/QtCore/qglobal.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:37,
                   from ../../include/QtCore/qalgorithms.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qlist.h:37,
                   from ../../include/QtCore/qlist.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qstringlist.h:34,
                   from ../../include/QtCore/qstringlist.h:1,
                   from io/qstandardpaths.h:37,
                   from io/qstandardpaths_android.cpp:34:
  ../../include/QtCore/../../src/corelib/io/qdir.h:217:18: error: 'QDir' was not declared in this scope
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:180:46: note: in definition of macro 'Q_DECLARE_TYPEINFO_BODY'
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:207:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO'
  ../../include/QtCore/../../src/corelib/io/qdir.h:217:1: note: in expansion of macro 'Q_DECLARE_SHARED'
  ../../include/QtCore/../../src/corelib/io/qdir.h:217:18: note: suggested alternative:
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:180:46: note: in definition of macro 'Q_DECLARE_TYPEINFO_BODY'
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:207:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO'
  ../../include/QtCore/../../src/corelib/io/qdir.h:217:1: note: in expansion of macro 'Q_DECLARE_SHARED'
  In file included from ../../include/QtCore/qdir.h:1:0,
                   from ../../include/QtCore/QDir:1,
                   from io/qstandardpaths_android.cpp:41:
  ../../include/QtCore/../../src/corelib/io/qdir.h:48:21: note:   'QtAndroidPrivate::QDir'
  In file included from ../../include/QtCore/qtypeinfo.h:1:0,
                   from ../../include/QtCore/../../src/corelib/global/qglobal.h:1093,
                   from ../../include/QtCore/qglobal.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:37,
                   from ../../include/QtCore/qalgorithms.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qlist.h:37,
                   from ../../include/QtCore/qlist.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qstringlist.h:34,
                   from ../../include/QtCore/qstringlist.h:1,
                   from io/qstandardpaths.h:37,
                   from io/qstandardpaths_android.cpp:34:
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:180:51: error: template argument 1 is invalid
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:189:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO_BODY'
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:207:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO'
  ../../include/QtCore/../../src/corelib/io/qdir.h:217:1: note: in expansion of macro 'Q_DECLARE_SHARED'
  ../../include/QtCore/../../src/corelib/io/qdir.h:217:18: error: 'QDir' was not declared in this scope
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:182:25: note: in definition of macro 'Q_DECLARE_TYPEINFO_BODY'
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:207:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO'
  ../../include/QtCore/../../src/corelib/io/qdir.h:217:1: note: in expansion of macro 'Q_DECLARE_SHARED'
  ../../include/QtCore/../../src/corelib/io/qdir.h:217:18: note: suggested alternative:
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:182:25: note: in definition of macro 'Q_DECLARE_TYPEINFO_BODY'
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:207:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO'
  ../../include/QtCore/../../src/corelib/io/qdir.h:217:1: note: in expansion of macro 'Q_DECLARE_SHARED'
  In file included from ../../include/QtCore/qdir.h:1:0,
                   from ../../include/QtCore/QDir:1,
                   from io/qstandardpaths_android.cpp:41:
  ../../include/QtCore/../../src/corelib/io/qdir.h:48:21: note:   'QtAndroidPrivate::QDir'
  In file included from ../../include/QtCore/qtypeinfo.h:1:0,
                   from ../../include/QtCore/../../src/corelib/global/qglobal.h:1093,
                   from ../../include/QtCore/qglobal.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:37,
                   from ../../include/QtCore/qalgorithms.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qlist.h:37,
                   from ../../include/QtCore/qlist.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qstringlist.h:34,
                   from ../../include/QtCore/qstringlist.h:1,
                   from io/qstandardpaths.h:37,
                   from io/qstandardpaths_android.cpp:34:
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:184:36: error: definition of 'static const char* QTypeInfo<QtAndroidPrivate::QDir>::name()' is not in namespace enclosing 'QTypeInfo<QtAndroidPrivate::QDir>' [-fpermissive]
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:189:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO_BODY'
  ../../include/QtCore/../../src/corelib/global/qtypeinfo.h:207:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO'
  ../../include/QtCore/../../src/corelib/io/qdir.h:217:1: note: in expansion of macro 'Q_DECLARE_SHARED'
  io/qstandardpaths_android.cpp: In function 'QJNIObjectPrivate QtAndroidPrivate::applicationContext()':
  io/qstandardpaths_android.cpp:60:32: error: 'activity' is not a member of 'QtAndroidPrivate'
  io/qstandardpaths_android.cpp: In function 'QString QtAndroidPrivate::getExternalFilesDir(const char*)':
  io/qstandardpaths_android.cpp:134:32: error: 'activity' is not a member of 'QtAndroidPrivate'
  io/qstandardpaths_android.cpp: At global scope:
  io/qstandardpaths_android.cpp:218:63: error: definition of 'QString QStandardPaths::writableLocation(QStandardPaths::StandardLocation)' is not in namespace enclosing 'QStandardPaths' [-fpermissive]
  io/qstandardpaths_android.cpp: In static member function 'static QString QStandardPaths::writableLocation(QStandardPaths::StandardLocation)':
  io/qstandardpaths_android.cpp:222:67: error: 'getExternalStoragePublicDirectory' was not declared in this scope
  io/qstandardpaths_android.cpp:222:67: note: suggested alternative:
  io/qstandardpaths_android.cpp:102:16: note:   'QtAndroidPrivate::getExternalStoragePublicDirectory'
  io/qstandardpaths_android.cpp:228:13: error: 'androidSdkVersion' is not a member of 'QtAndroidPrivate'
  io/qstandardpaths_android.cpp:231:48: error: 'getExternalStorageDirectory' was not declared in this scope
  io/qstandardpaths_android.cpp:231:48: note: suggested alternative:
  io/qstandardpaths_android.cpp:83:16: note:   'QtAndroidPrivate::getExternalStorageDirectory'
  io/qstandardpaths_android.cpp:237:28: error: 'getFilesDir' was not declared in this scope
  io/qstandardpaths_android.cpp:237:28: note: suggested alternative:
  io/qstandardpaths_android.cpp:209:16: note:   'QtAndroidPrivate::getFilesDir'
  io/qstandardpaths_android.cpp:237:40: error: 'testDir' was not declared in this scope
  io/qstandardpaths_android.cpp:237:40: note: suggested alternative:
  io/qstandardpaths_android.cpp:48:16: note:   'QtAndroidPrivate::testDir'
  io/qstandardpaths_android.cpp:239:44: error: 'getExternalStorageDirectory' was not declared in this scope
  io/qstandardpaths_android.cpp:239:44: note: suggested alternative:
  io/qstandardpaths_android.cpp:83:16: note:   'QtAndroidPrivate::getExternalStorageDirectory'
  io/qstandardpaths_android.cpp:247:28: error: 'getCacheDir' was not declared in this scope
  io/qstandardpaths_android.cpp:247:28: note: suggested alternative:
  io/qstandardpaths_android.cpp:187:16: note:   'QtAndroidPrivate::getCacheDir'
  io/qstandardpaths_android.cpp: At global scope:
  io/qstandardpaths_android.cpp:260:68: error: definition of 'QStringList QStandardPaths::standardLocations(QStandardPaths::StandardLocation)' is not in namespace enclosing 'QStandardPaths' [-fpermissive]
  io/qstandardpaths_android.cpp: In static member function 'static QStringList QStandardPaths::standardLocations(QStandardPaths::StandardLocation)':
  io/qstandardpaths_android.cpp:264:70: error: 'getExternalFilesDir' was not declared in this scope
  io/qstandardpaths_android.cpp:264:70: note: suggested alternative:
  io/qstandardpaths_android.cpp:128:16: note:   'QtAndroidPrivate::getExternalFilesDir'
  io/qstandardpaths_android.cpp:265:87: error: 'getExternalStoragePublicDirectory' was not declared in this scope
  io/qstandardpaths_android.cpp:265:87: note: suggested alternative:
  io/qstandardpaths_android.cpp:102:16: note:   'QtAndroidPrivate::getExternalStoragePublicDirectory'
  io/qstandardpaths_android.cpp:275:71: error: 'getExternalFilesDir' was not declared in this scope
  io/qstandardpaths_android.cpp:275:71: note: suggested alternative:
  io/qstandardpaths_android.cpp:128:16: note:   'QtAndroidPrivate::getExternalFilesDir'
  io/qstandardpaths_android.cpp:280:74: error: 'getExternalFilesDir' was not declared in this scope
  io/qstandardpaths_android.cpp:280:74: note: suggested alternative:
  io/qstandardpaths_android.cpp:128:16: note:   'QtAndroidPrivate::getExternalFilesDir'
  io/qstandardpaths_android.cpp:284:13: error: 'androidSdkVersion' is not a member of 'QtAndroidPrivate'
  io/qstandardpaths_android.cpp:286:78: error: 'getExternalFilesDir' was not declared in this scope
  io/qstandardpaths_android.cpp:286:78: note: suggested alternative:
  io/qstandardpaths_android.cpp:128:16: note:   'QtAndroidPrivate::getExternalFilesDir'
  io/qstandardpaths_android.cpp:289:57: error: 'getExternalFilesDir' was not declared in this scope
  io/qstandardpaths_android.cpp:289:57: note: suggested alternative:
  io/qstandardpaths_android.cpp:128:16: note:   'QtAndroidPrivate::getExternalFilesDir'
  io/qstandardpaths_android.cpp:295:74: error: 'getExternalFilesDir' was not declared in this scope
  io/qstandardpaths_android.cpp:295:74: note: suggested alternative:
  io/qstandardpaths_android.cpp:128:16: note:   'QtAndroidPrivate::getExternalFilesDir'
  io/qstandardpaths_android.cpp:300:53: error: 'getExternalFilesDir' was not declared in this scope
  io/qstandardpaths_android.cpp:300:53: note: suggested alternative:
  io/qstandardpaths_android.cpp:128:16: note:   'QtAndroidPrivate::getExternalFilesDir'
  io/qstandardpaths_android.cpp:305:53: error: 'getExternalCacheDir' was not declared in this scope
  io/qstandardpaths_android.cpp:305:53: note: suggested alternative:
  io/qstandardpaths_android.cpp:165:16: note:   'QtAndroidPrivate::getExternalCacheDir'
  io/qstandardpaths_android.cpp:309:35: error: 'androidDirCache' was not declared in this scope
  io/qstandardpaths_android.cpp:309:35: note: suggested alternative:
  In file included from ../../include/QtCore/qglobalstatic.h:1:0,
                   from ../../include/QtCore/../../src/corelib/global/qglobal.h:1100,
                   from ../../include/QtCore/qglobal.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:37,
                   from ../../include/QtCore/qalgorithms.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qlist.h:37,
                   from ../../include/QtCore/qlist.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qstringlist.h:34,
                   from ../../include/QtCore/qstringlist.h:1,
                   from io/qstandardpaths.h:37,
                   from io/qstandardpaths_android.cpp:34:
  io/qstandardpaths_android.cpp:46:34: note:   'QtAndroidPrivate::androidDirCache'
  ../../include/QtCore/../../src/corelib/global/qglobalstatic.h:150:49: note: in definition of macro 'Q_GLOBAL_STATIC_WITH_ARGS'
  io/qstandardpaths_android.cpp:46:1: note: in expansion of macro 'Q_GLOBAL_STATIC'
  In file included from ../../include/QtCore/qstring.h:1:0,
                   from ../../include/QtCore/../../src/corelib/tools/qbytearray.h:680,
                   from ../../include/QtCore/qbytearray.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qbytearraylist.h:40,
                   from ../../include/QtCore/qbytearraylist.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qlist.h:1020,
                   from ../../include/QtCore/qlist.h:1,
                   from ../../include/QtCore/../../src/corelib/tools/qstringlist.h:34,
                   from ../../include/QtCore/qstringlist.h:1,
                   from io/qstandardpaths.h:37,
                   from io/qstandardpaths_android.cpp:34:
  ../../include/QtCore/../../src/corelib/tools/qstring.h:160:14: error: definition of 'QString QStandardPaths::standardLocations(QStandardPaths::StandardLocation)::__lambda4::operator()() const' is not in namespace enclosing 'QStandardPaths::standardLocations(QStandardPaths::StandardLocation)::__lambda4' [-fpermissive]
  io/qstandardpaths_android.cpp:309:52: note: in expansion of macro 'QStringLiteral'
  io/qstandardpaths_android.cpp:315:48: error: 'QDir' was not declared in this scope
  io/qstandardpaths_android.cpp:315:48: note: suggested alternative:
  In file included from ../../include/QtCore/qdir.h:1:0,
                   from ../../include/QtCore/QDir:1,
                   from io/qstandardpaths_android.cpp:41:
  ../../include/QtCore/../../src/corelib/io/qdir.h:48:21: note:   'QtAndroidPrivate::QDir'
  io/qstandardpaths_android.cpp:315:31: error: expected primary-expression before '(' token
  io/qstandardpaths_android.cpp:315:48: error: 'QDir' is not a class, namespace, or enumeration
  io/qstandardpaths_android.cpp: At global scope:
  io/qstandardpaths_android.cpp:321:1: error: expected '}' at end of input
  make[3]: *** [.obj/qstandardpaths_android.o] Error 1
  make[2]: *** [sub-corelib-make_first] Error 2
  make[1]: *** [sub-src-make_first] Error 2
  make: *** [module-qtbase] Error 2

  Build log: http://testresults.qt.io/ci/QtBase_dev_Integration/build_05942/linux-android_armeabi-g++_Ubuntu_14.04_x64/log.txt.gz

  Tested changes (refs/builds/dev_1425563088):
    http://codereview.qt-project.org/105828 [PS9] - Added new private API for Android and onPause/onResume



More information about the Ci-reports mailing list