Skip to content

Instantly share code, notes, and snippets.

Created January 11, 2016 09:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/b8f7c187868852855953 to your computer and use it in GitHub Desktop.
Save anonymous/b8f7c187868852855953 to your computer and use it in GitHub Desktop.
In file included from ../../include/QtCore/qtextstream.h:1:0,
from ../../include/QtPlatformSupport/5.6.0/QtPlatformSupport/private/../../../../../src/platformsupport/eglconvenience/qeglplatformcontext_p.h:48,
from ../../include/QtPlatformSupport/5.6.0/QtPlatformSupport/private/qeglplatformcontext_p.h:1,
from eglconvenience/qeglpbuffer_p.h:50,
from eglconvenience/qeglpbuffer.cpp:35:
../../include/QtCore/../../src/corelib/io/qtextstream.h:46:2: error: #error qtextstream.h must be included before any header file that defines Status
#error qtextstream.h must be included before any header file that defines Status
^
In file included from ../../include/QtCore/qdatastream.h:1:0,
from ../../include/QtGui/../../src/gui/painting/qregion.h:42,
from ../../include/QtGui/qregion.h:1,
from ../../include/QtGui/../../src/gui/painting/qmatrix.h:38,
from ../../include/QtGui/qmatrix.h:1,
from ../../include/QtGui/../../src/gui/painting/qtransform.h:36,
from ../../include/QtGui/qtransform.h:1,
from ../../include/QtGui/../../src/gui/image/qimage.h:41,
from ../../include/QtGui/qimage.h:1,
from ../../include/QtGui/../../src/gui/image/qpixmap.h:42,
from ../../include/QtGui/qpixmap.h:1,
from ../../include/QtGui/../../src/gui/image/qicon.h:40,
from ../../include/QtGui/qicon.h:1,
from ../../include/QtGui/../../src/gui/kernel/qwindow.h:48,
from ../../include/QtGui/qwindow.h:1,
from ../../include/QtGui/5.6.0/QtGui/qpa/../../../../../src/gui/kernel/qplatformwindow.h:50,
from ../../include/QtGui/5.6.0/QtGui/qpa/qplatformwindow.h:1,
from ../../include/QtPlatformSupport/5.6.0/QtPlatformSupport/private/../../../../../src/platformsupport/eglconvenience/qeglplatformcontext_p.h:49,
from ../../include/QtPlatformSupport/5.6.0/QtPlatformSupport/private/qeglplatformcontext_p.h:1,
from eglconvenience/qeglpbuffer_p.h:50,
from eglconvenience/qeglpbuffer.cpp:35:
../../include/QtCore/../../src/corelib/io/qdatastream.h:42:2: error: #error qdatastream.h must be included before any header file that defines Status
#error qdatastream.h must be included before any header file that defines Status
^
In file included from /home/rbhagwat/sources/temp/vibrante-t186ref-linux/include/EGL/eglplatform.h:119:0,
from /home/rbhagwat/sources/temp/vibrante-t186ref-linux/include/EGL/egl.h:39,
from eglconvenience/qeglpbuffer_p.h:48,
from eglconvenience/qeglpbuffer.cpp:35:
/home/rbhagwat/sources/temp/vibrante-t186ref-linux/include/X11/Xlib.h:86:14: error: expected identifier before 'int'
#define Bool int
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:127:9: note: in expansion of macro 'Bool'
Bool = QMetaType::Bool,
^
/home/rbhagwat/sources/temp/vibrante-t186ref-linux/include/X11/Xlib.h:86:14: error: expected '}' before 'int'
#define Bool int
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:127:9: note: in expansion of macro 'Bool'
Bool = QMetaType::Bool,
^
In file included from ../../include/QtCore/qvariant.h:1:0,
from ../../include/QtCore/../../src/corelib/tools/qlocale.h:37,
from ../../include/QtCore/qlocale.h:1,
from ../../include/QtCore/../../src/corelib/io/qtextstream.h:40,
from ../../include/QtCore/qtextstream.h:1,
from ../../include/QtPlatformSupport/5.6.0/QtPlatformSupport/private/../../../../../src/platformsupport/eglconvenience/qeglplatformcontext_p.h:48,
from ../../include/QtPlatformSupport/5.6.0/QtPlatformSupport/private/qeglplatformcontext_p.h:1,
from eglconvenience/qeglpbuffer_p.h:50,
from eglconvenience/qeglpbuffer.cpp:35:
../../include/QtCore/../../src/corelib/kernel/qvariant.h:127:14: error: expected unqualified-id before '=' token
Bool = QMetaType::Bool,
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:193:14: error: expected unqualified-id before ')' token
QVariant() Q_DECL_NOTHROW : d() {}
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:194:16: error: expected constructor, destructor, or type conversion before ';' token
~QVariant();
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:195:19: error: expected ')' before 'type'
QVariant(Type type);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:196:14: error: expected unqualified-id before 'int'
QVariant(int typeId, const void *copy);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:196:14: error: expected ')' before 'int'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:197:14: error: expected unqualified-id before 'int'
QVariant(int typeId, const void *copy, uint flags);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:197:14: error: expected ')' before 'int'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:198:14: error: expected unqualified-id before 'const'
QVariant(const QVariant &other);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:198:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:201:26: error: expected ')' before '&' token
QVariant(QDataStream &s);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:204:14: error: expected unqualified-id before 'int'
QVariant(int i);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:204:14: error: expected ')' before 'int'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:205:19: error: expected ')' before 'ui'
QVariant(uint ui);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:206:24: error: expected ')' before 'll'
QVariant(qlonglong ll);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:207:25: error: expected ')' before 'ull'
QVariant(qulonglong ull);
^
In file included from /home/rbhagwat/sources/temp/toolchains/tegra-4.9-nv/usr/aarch64-gnu-linux/include/c++/4.9.2/bits/atomic_base.h:36:0,
from /home/rbhagwat/sources/temp/toolchains/tegra-4.9-nv/usr/aarch64-gnu-linux/include/c++/4.9.2/atomic:41,
from ../../include/QtCore/../../src/corelib/arch/qatomic_cxx11.h:38,
from ../../include/QtCore/qatomic_cxx11.h:1,
from ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:44,
from ../../include/QtCore/qbasicatomic.h:1,
from ../../include/QtCore/../../src/corelib/thread/qatomic.h:39,
from ../../include/QtCore/qatomic.h:1,
from ../../include/QtCore/../../src/corelib/global/qglobal.h:1113,
from ../../include/QtCore/qglobal.h:1,
from ../../include/QtCore/../../src/corelib/global/qnamespace.h:37,
from ../../include/QtCore/qnamespace.h:1,
from ../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:41,
from ../../include/QtCore/qobjectdefs.h:1,
from ../../include/QtCore/../../src/corelib/kernel/qobject.h:40,
from ../../include/QtCore/qobject.h:1,
from ../../include/QtCore/QObject:1,
from ../../include/QtGui/../../src/gui/kernel/qoffscreensurface.h:37,
from ../../include/QtGui/qoffscreensurface.h:1,
from ../../include/QtGui/QOffscreenSurface:1,
from eglconvenience/qeglpbuffer.cpp:34:
../../include/QtCore/../../src/corelib/kernel/qvariant.h:208:14: error: expected unqualified-id before 'bool'
QVariant(bool b);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:208:14: error: expected ')' before 'bool'
In file included from ../../include/QtCore/qvariant.h:1:0,
from ../../include/QtCore/../../src/corelib/tools/qlocale.h:37,
from ../../include/QtCore/qlocale.h:1,
from ../../include/QtCore/../../src/corelib/io/qtextstream.h:40,
from ../../include/QtCore/qtextstream.h:1,
from ../../include/QtPlatformSupport/5.6.0/QtPlatformSupport/private/../../../../../src/platformsupport/eglconvenience/qeglplatformcontext_p.h:48,
from ../../include/QtPlatformSupport/5.6.0/QtPlatformSupport/private/qeglplatformcontext_p.h:1,
from eglconvenience/qeglpbuffer_p.h:50,
from eglconvenience/qeglpbuffer.cpp:35:
../../include/QtCore/../../src/corelib/kernel/qvariant.h:209:14: error: expected unqualified-id before 'double'
QVariant(double d);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:209:14: error: expected ')' before 'double'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:210:14: error: expected unqualified-id before 'float'
QVariant(float f);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:210:14: error: expected ')' before 'float'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:215:14: error: expected unqualified-id before 'const'
QVariant(const QByteArray &bytearray);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:215:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:216:14: error: expected unqualified-id before 'const'
QVariant(const QBitArray &bitarray);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:216:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:217:14: error: expected unqualified-id before 'const'
QVariant(const QString &string);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:217:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:218:28: error: expected ')' before 'string'
QVariant(QLatin1String string);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:219:14: error: expected unqualified-id before 'const'
QVariant(const QStringList &stringlist);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:219:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:220:20: error: expected ')' before 'qchar'
QVariant(QChar qchar);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:221:14: error: expected unqualified-id before 'const'
QVariant(const QDate &date);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:221:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:222:14: error: expected unqualified-id before 'const'
QVariant(const QTime &time);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:222:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:223:14: error: expected unqualified-id before 'const'
QVariant(const QDateTime &datetime);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:223:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:224:14: error: expected unqualified-id before 'const'
QVariant(const QList<QVariant> &list);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:224:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:225:14: error: expected unqualified-id before 'const'
QVariant(const QMap<QString,QVariant> &map);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:225:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:226:14: error: expected unqualified-id before 'const'
QVariant(const QHash<QString,QVariant> &hash);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:226:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:228:14: error: expected unqualified-id before 'const'
QVariant(const QSize &size);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:228:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:229:14: error: expected unqualified-id before 'const'
QVariant(const QSizeF &size);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:229:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:230:14: error: expected unqualified-id before 'const'
QVariant(const QPoint &pt);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:230:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:231:14: error: expected unqualified-id before 'const'
QVariant(const QPointF &pt);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:231:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:232:14: error: expected unqualified-id before 'const'
QVariant(const QLine &line);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:232:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:233:14: error: expected unqualified-id before 'const'
QVariant(const QLineF &line);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:233:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:234:14: error: expected unqualified-id before 'const'
QVariant(const QRect &rect);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:234:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:235:14: error: expected unqualified-id before 'const'
QVariant(const QRectF &rect);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:235:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:237:14: error: expected unqualified-id before 'const'
QVariant(const QLocale &locale);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:237:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:239:14: error: expected unqualified-id before 'const'
QVariant(const QRegExp &regExp);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:239:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:243:14: error: expected unqualified-id before 'const'
QVariant(const QRegularExpression &re);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:243:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:245:14: error: expected unqualified-id before 'const'
QVariant(const QUrl &url);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:245:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:246:14: error: expected unqualified-id before 'const'
QVariant(const QEasingCurve &easing);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:246:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:247:14: error: expected unqualified-id before 'const'
QVariant(const QUuid &uuid);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:247:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:248:14: error: expected unqualified-id before 'const'
QVariant(const QModelIndex &modelIndex);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:248:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:249:14: error: expected unqualified-id before 'const'
QVariant(const QPersistentModelIndex &modelIndex);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:249:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:250:14: error: expected unqualified-id before 'const'
QVariant(const QJsonValue &jsonValue);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:250:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:251:14: error: expected unqualified-id before 'const'
QVariant(const QJsonObject &jsonObject);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:251:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:252:14: error: expected unqualified-id before 'const'
QVariant(const QJsonArray &jsonArray);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:252:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:253:14: error: expected unqualified-id before 'const'
QVariant(const QJsonDocument &jsonDocument);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:253:14: error: expected ')' before 'const'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:256:46: error: 'QVariant& operator=(const QVariant&)' must be a nonstatic member function
QVariant& operator=(const QVariant &other);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:258:30: error: expected ')' before '&&' token
inline QVariant(QVariant &&other) Q_DECL_NOTHROW : d(other.d)
^
In file included from ../../include/QtCore/qcompilerdetection.h:1:0,
from ../../include/QtCore/../../src/corelib/global/qglobal.h:74,
from ../../include/QtCore/qglobal.h:1,
from ../../include/QtCore/../../src/corelib/global/qnamespace.h:37,
from ../../include/QtCore/qnamespace.h:1,
from ../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:41,
from ../../include/QtCore/qobjectdefs.h:1,
from ../../include/QtCore/../../src/corelib/kernel/qobject.h:40,
from ../../include/QtCore/qobject.h:1,
from ../../include/QtCore/QObject:1,
from ../../include/QtGui/../../src/gui/kernel/qoffscreensurface.h:37,
from ../../include/QtGui/qoffscreensurface.h:1,
from ../../include/QtGui/QOffscreenSurface:1,
from eglconvenience/qeglpbuffer.cpp:34:
../../include/QtCore/../../src/corelib/global/qcompilerdetection.h:1035:26: error: 'QVariant& operator=(QVariant&&)' must be a nonstatic member function
# define Q_DECL_NOEXCEPT noexcept
^
../../include/QtCore/../../src/corelib/global/qcompilerdetection.h:1045:25: note: in expansion of macro 'Q_DECL_NOEXCEPT'
# define Q_DECL_NOTHROW Q_DECL_NOEXCEPT
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:260:50: note: in expansion of macro 'Q_DECL_NOTHROW'
inline QVariant &operator=(QVariant &&other) Q_DECL_NOTHROW
^
In file included from ../../include/QtCore/qvariant.h:1:0,
from ../../include/QtCore/../../src/corelib/tools/qlocale.h:37,
from ../../include/QtCore/qlocale.h:1,
from ../../include/QtCore/../../src/corelib/io/qtextstream.h:40,
from ../../include/QtCore/qtextstream.h:1,
from ../../include/QtPlatformSupport/5.6.0/QtPlatformSupport/private/../../../../../src/platformsupport/eglconvenience/qeglplatformcontext_p.h:48,
from ../../include/QtPlatformSupport/5.6.0/QtPlatformSupport/private/qeglplatformcontext_p.h:1,
from eglconvenience/qeglpbuffer_p.h:50,
from eglconvenience/qeglpbuffer.cpp:35:
../../include/QtCore/../../src/corelib/kernel/qvariant.h: In function 'void swap(QVariant&)':
../../include/QtCore/../../src/corelib/kernel/qvariant.h:264:62: error: 'd' was not declared in this scope
inline void swap(QVariant &other) Q_DECL_NOTHROW { qSwap(d, other.d); }
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:264:71: error: 'class QVariant' has no member named 'd'
inline void swap(QVariant &other) Q_DECL_NOTHROW { qSwap(d, other.d); }
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h: At global scope:
../../include/QtCore/../../src/corelib/kernel/qvariant.h:266:5: error: 'Type' does not name a type
Type type() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:267:20: error: non-member function 'int userType()' cannot have cv-qualifier
int userType() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:268:28: error: non-member function 'const char* typeName()' cannot have cv-qualifier
const char *typeName() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:270:39: error: non-member function 'bool canConvert(int)' cannot have cv-qualifier
bool canConvert(int targetTypeId) const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:273:27: error: non-member function 'bool isValid()' cannot have cv-qualifier
inline bool isValid() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:274:19: error: non-member function 'bool isNull()' cannot have cv-qualifier
bool isNull() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:279:30: error: non-member function 'bool isDetached()' cannot have cv-qualifier
inline bool isDetached() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:281:37: error: non-member function 'int toInt(bool*)' cannot have cv-qualifier
int toInt(bool *ok = Q_NULLPTR) const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:282:39: error: non-member function 'uint toUInt(bool*)' cannot have cv-qualifier
uint toUInt(bool *ok = Q_NULLPTR) const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:283:48: error: non-member function 'qlonglong toLongLong(bool*)' cannot have cv-qualifier
qlonglong toLongLong(bool *ok = Q_NULLPTR) const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:284:50: error: non-member function 'qulonglong toULongLong(bool*)' cannot have cv-qualifier
qulonglong toULongLong(bool *ok = Q_NULLPTR) const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:285:19: error: non-member function 'bool toBool()' cannot have cv-qualifier
bool toBool() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:286:43: error: non-member function 'double toDouble(bool*)' cannot have cv-qualifier
double toDouble(bool *ok = Q_NULLPTR) const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:287:41: error: non-member function 'float toFloat(bool*)' cannot have cv-qualifier
float toFloat(bool *ok = Q_NULLPTR) const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:288:40: error: non-member function 'qreal toReal(bool*)' cannot have cv-qualifier
qreal toReal(bool *ok = Q_NULLPTR) const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:289:30: error: non-member function 'QByteArray toByteArray()' cannot have cv-qualifier
QByteArray toByteArray() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:290:28: error: non-member function 'QBitArray toBitArray()' cannot have cv-qualifier
QBitArray toBitArray() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:291:24: error: non-member function 'QString toString()' cannot have cv-qualifier
QString toString() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:292:32: error: non-member function 'QStringList toStringList()' cannot have cv-qualifier
QStringList toStringList() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:293:20: error: non-member function 'QChar toChar()' cannot have cv-qualifier
QChar toChar() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:294:20: error: non-member function 'QDate toDate()' cannot have cv-qualifier
QDate toDate() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:295:20: error: non-member function 'QTime toTime()' cannot have cv-qualifier
QTime toTime() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:296:28: error: non-member function 'QDateTime toDateTime()' cannot have cv-qualifier
QDateTime toDateTime() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:297:30: error: non-member function 'QList<QVariant> toList()' cannot have cv-qualifier
QList<QVariant> toList() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:298:37: error: non-member function 'QMap<QString, QVariant> toMap()' cannot have cv-qualifier
QMap<QString, QVariant> toMap() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:299:39: error: non-member function 'QHash<QString, QVariant> toHash()' cannot have cv-qualifier
QHash<QString, QVariant> toHash() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:302:22: error: non-member function 'QPoint toPoint()' cannot have cv-qualifier
QPoint toPoint() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:303:24: error: non-member function 'QPointF toPointF()' cannot have cv-qualifier
QPointF toPointF() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:304:20: error: non-member function 'QRect toRect()' cannot have cv-qualifier
QRect toRect() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:305:20: error: non-member function 'QSize toSize()' cannot have cv-qualifier
QSize toSize() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:306:22: error: non-member function 'QSizeF toSizeF()' cannot have cv-qualifier
QSizeF toSizeF() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:307:20: error: non-member function 'QLine toLine()' cannot have cv-qualifier
QLine toLine() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:308:22: error: non-member function 'QLineF toLineF()' cannot have cv-qualifier
QLineF toLineF() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:309:22: error: non-member function 'QRectF toRectF()' cannot have cv-qualifier
QRectF toRectF() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:311:24: error: non-member function 'QLocale toLocale()' cannot have cv-qualifier
QLocale toLocale() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:313:24: error: non-member function 'QRegExp toRegExp()' cannot have cv-qualifier
QRegExp toRegExp() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:317:46: error: non-member function 'QRegularExpression toRegularExpression()' cannot have cv-qualifier
QRegularExpression toRegularExpression() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:319:18: error: non-member function 'QUrl toUrl()' cannot have cv-qualifier
QUrl toUrl() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:320:34: error: non-member function 'QEasingCurve toEasingCurve()' cannot have cv-qualifier
QEasingCurve toEasingCurve() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:321:20: error: non-member function 'QUuid toUuid()' cannot have cv-qualifier
QUuid toUuid() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:322:32: error: non-member function 'QModelIndex toModelIndex()' cannot have cv-qualifier
QModelIndex toModelIndex() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:323:52: error: non-member function 'QPersistentModelIndex toPersistentModelIndex()' cannot have cv-qualifier
QPersistentModelIndex toPersistentModelIndex() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:324:30: error: non-member function 'QJsonValue toJsonValue()' cannot have cv-qualifier
QJsonValue toJsonValue() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:325:32: error: non-member function 'QJsonObject toJsonObject()' cannot have cv-qualifier
QJsonObject toJsonObject() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:326:30: error: non-member function 'QJsonArray toJsonArray()' cannot have cv-qualifier
QJsonArray toJsonArray() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:327:36: error: non-member function 'QJsonDocument toJsonDocument()' cannot have cv-qualifier
QJsonDocument toJsonDocument() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:332:32: error: non-member function 'void save(QDataStream&)' cannot have cv-qualifier
void save(QDataStream &ds) const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:335:12: error: 'Type' does not name a type
static Type nameToType(const char *name);
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:338:29: error: non-member function 'const void* constData()' cannot have cv-qualifier
const void *constData() const;
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:339:31: error: non-member function 'const void* data()' cannot have cv-qualifier
inline const void *data() const { return constData(); }
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h: In function 'const void* data()':
../../include/QtCore/../../src/corelib/kernel/qvariant.h:339:31: error: ambiguating new declaration of 'const void* data()'
../../include/QtCore/../../src/corelib/kernel/qvariant.h:337:11: note: old declaration 'void* data()'
void *data();
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h: At global scope:
../../include/QtCore/../../src/corelib/kernel/qvariant.h:345:22: error: non-member function 'T value()' cannot have cv-qualifier
inline T value() const
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h: In function 'T value()':
../../include/QtCore/../../src/corelib/kernel/qvariant.h:346:32: error: invalid use of 'this' in non-member function
{ return qvariant_cast<T>(*this); }
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h: At global scope:
../../include/QtCore/../../src/corelib/kernel/qvariant.h:353:23: error: non-member function 'bool canConvert()' cannot have cv-qualifier
bool canConvert() const
^
../../include/QtCore/../../src/corelib/kernel/qvariant.h:356:2: error: expected unqualified-id before 'public'
public:
^
In file included from ../../include/QtGui/qwindow.h:1:0,
from ../../include/QtGui/5.6.0/QtGui/qpa/../../../../../src/gui/kernel/qplatformwindow.h:50,
from ../../include/QtGui/5.6.0/QtGui/qpa/qplatformwindow.h:1,
from ../../include/QtPlatformSupport/5.6.0/QtPlatformSupport/private/../../../../../src/platformsupport/eglconvenience/qeglplatformcontext_p.h:49,
from ../../include/QtPlatformSupport/5.6.0/QtPlatformSupport/private/qeglplatformcontext_p.h:1,
from eglconvenience/qeglpbuffer_p.h:50,
from eglconvenience/qeglpbuffer.cpp:35:
../../include/QtGui/../../src/gui/kernel/qwindow.h:87:20: error: expected declaration before end of line
Q_OBJECT
^
In file included from ../../include/QtCore/qvariant.h:1:0,
from ../../include/QtCore/../../src/corelib/tools/qlocale.h:37,
from ../../include/QtCore/qlocale.h:1,
from ../../include/QtCore/../../src/corelib/io/qtextstream.h:40,
from ../../include/QtCore/qtextstream.h:1,
from ../../include/QtPlatformSupport/5.6.0/QtPlatformSupport/private/../../../../../src/platformsupport/eglconvenience/qeglplatformcontext_p.h:48,
from ../../include/QtPlatformSupport/5.6.0/QtPlatformSupport/private/qeglplatformcontext_p.h:1,
from eglconvenience/qeglpbuffer_p.h:50,
from eglconvenience/qeglpbuffer.cpp:35:
../../include/QtCore/../../src/corelib/kernel/qvariant.h:334:24: warning: 'const char* typeToName(int)' declared 'static' but never defined [-Wunused-function]
static const char *typeToName(int typeId);
^
make[2]: *** [.obj/qeglpbuffer.o] Error 1
make[2]: Leaving directory `/home/rbhagwat/sources/temp/qt5-git/3rdparty/qt/qtbase/src/platformsupport'
make[1]: *** [sub-platformsupport-make_first] Error 2
make[1]: Leaving directory `/home/rbhagwat/sources/temp/qt5-git/3rdparty/qt/qtbase/src'
make: *** [sub-src-make_first] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment