Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.6.0
-
None
Description
wget -qO- http://download.qt.io/official_releases/qt/5.6/5.6.0/single/qt-everywhere-opensource-src-5.6.0.tar.xz | tar -xJ ; cd qt-everywhere-opensource-src-5.6.0/qtbase/ ; ./configure --opensource --confirm-license --no-feature-PROPERTIES ; gmake In file included from ../../include/QtCore/qglobal.h:1:0, from global/qt_pch.h:50: ../../include/QtCore/5.6.0/QtCore/private/../../../../../src/corelib/statemachine/qabstractstate_p.h:58:22: error: ‘QAbstractState’ does not name a type Q_DECLARE_PUBLIC(QAbstractState) ^ ../../include/QtCore/../../src/corelib/global/qglobal.h:1028:12: note: in definition of macro ‘Q_DECLARE_PUBLIC’ inline Class* q_func() { return static_cast<Class *>(q_ptr); } \ ^ ../../include/QtCore/5.6.0/QtCore/private/../../../../../src/corelib/statemachine/qabstractstate_p.h:58:22: error: ‘QAbstractState’ does not name a type Q_DECLARE_PUBLIC(QAbstractState) ^ ../../include/QtCore/../../src/corelib/global/qglobal.h:1029:18: note: in definition of macro ‘Q_DECLARE_PUBLIC’ inline const Class* q_func() const { return static_cast<const Class *>(q_ptr); } \ ^ In file included from ../../include/QtCore/5.6.0/QtCore/private/qabstractstate_p.h:1:0, from statemachine/qstate_p.h:49, from statemachine/qstate.cpp:34: ../../include/QtCore/5.6.0/QtCore/private/../../../../../src/corelib/statemachine/qabstractstate_p.h:70:35: error: expected ‘;’ at end of member declaration static QAbstractStatePrivate *get(QAbstractState *q) ^ ../../include/QtCore/5.6.0/QtCore/private/../../../../../src/corelib/statemachine/qabstractstate_p.h:70:54: error: expected ‘)’ before ‘*’ token static QAbstractStatePrivate *get(QAbstractState *q) ^ ../../include/QtCore/5.6.0/QtCore/private/../../../../../src/corelib/statemachine/qabstractstate_p.h:72:51: error: ‘QAbstractState’ does not name a type static const QAbstractStatePrivate *get(const QAbstractState *q) ^ ../../include/QtCore/5.6.0/QtCore/private/../../../../../src/corelib/statemachine/qabstractstate_p.h:73:27: error: ‘static const QAbstractStatePrivate* QAbstractStatePrivate::get(const int*)’ conflicts with a previous declaration { return q->d_func(); } ^ ../../include/QtCore/5.6.0/QtCore/private/../../../../../src/corelib/statemachine/qabstractstate_p.h:70:35: note: previous declaration ‘QAbstractStatePrivate* QAbstractStatePrivate::get’ static QAbstractStatePrivate *get(QAbstractState *q) ^ ../../include/QtCore/5.6.0/QtCore/private/../../../../../src/corelib/statemachine/qabstractstate_p.h: In static member function ‘static const QAbstractStatePrivate* QAbstractStatePrivate::get(const int*)’: ../../include/QtCore/5.6.0/QtCore/private/../../../../../src/corelib/statemachine/qabstractstate_p.h:73:17: error: request for member ‘d_func’ in ‘* q’, which is of non-class type ‘const int’ { return q->d_func(); } ^ g++ -c -include .pch/Qt5Core -pipe -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O3 -std=c++1y -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_NO_TSLIB -DQT_NO_USING_NAMESPACE -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DELF_INTERPRETER=\"/lib64/ld-linux-x86-64.so.2\" -DQT_USE_ICU -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -I. -I../../include -I../../include/QtCore -I../../include/QtCore/5.6.0 -I../../include/QtCore/5.6.0/QtCore -Iglobal -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I../3rdparty/forkfd -I.moc -I../../mkspecs/linux-g++ -o .obj/qfinalstate.o statemachine/qfinalstate.cpp g++ -c -include .pch/Qt5Core -pipe -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O3 -std=c++1y -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_NO_TSLIB -DQT_NO_USING_NAMESPACE -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DELF_INTERPRETER=\"/lib64/ld-linux-x86-64.so.2\" -DQT_USE_ICU -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -I. -I../../include -I../../include/QtCore -I../../include/QtCore/5.6.0 -I../../include/QtCore/5.6.0/QtCore -Iglobal -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I../3rdparty/forkfd -I.moc -I../../mkspecs/linux-g++ -o .obj/qhistorystate.o statemachine/qhistorystate.cpp In file included from ../../include/QtCore/qglobal.h:1:0, from global/qt_pch.h:50: ../../include/QtCore/5.6.0/QtCore/private/../../../../../src/corelib/statemachine/qabstractstate_p.h:58:22: error: ‘QAbstractState’ does not name a type Q_DECLARE_PUBLIC(QAbstractState) ^ ../../include/QtCore/../../src/corelib/global/qglobal.h:1028:12: note: in definition of macro ‘Q_DECLARE_PUBLIC’ inline Class* q_func() { return static_cast<Class *>(q_ptr); } \ ^ ../../include/QtCore/5.6.0/QtCore/private/../../../../../src/corelib/statemachine/qabstractstate_p.h:58:22: error: ‘QAbstractState’ does not name a type Q_DECLARE_PUBLIC(QAbstractState) ^ ../../include/QtCore/../../src/corelib/global/qglobal.h:1029:18: note: in definition of macro ‘Q_DECLARE_PUBLIC’ inline const Class* q_func() const { return static_cast<const Class *>(q_ptr); } \ ^ In file included from ../../include/QtCore/5.6.0/QtCore/private/qabstractstate_p.h:1:0, from statemachine/qfinalstate_p.h:49, from statemachine/qfinalstate.cpp:34: ../../include/QtCore/5.6.0/QtCore/private/../../../../../src/corelib/statemachine/qabstractstate_p.h:70:35: error: expected ‘;’ at end of member declaration static QAbstractStatePrivate *get(QAbstractState *q) ^ ../../include/QtCore/5.6.0/QtCore/private/../../../../../src/corelib/statemachine/qabstractstate_p.h:70:54: error: expected ‘)’ before ‘*’ token static QAbstractStatePrivate *get(QAbstractState *q) ^ ../../include/QtCore/5.6.0/QtCore/private/../../../../../src/corelib/statemachine/qabstractstate_p.h:72:51: error: ‘QAbstractState’ does not name a type static const QAbstractStatePrivate *get(const QAbstractState *q) ^ ../../include/QtCore/5.6.0/QtCore/private/../../../../../src/corelib/statemachine/qabstractstate_p.h:73:27: error: ‘static const QAbstractStatePrivate* QAbstractStatePrivate::get(const int*)’ conflicts with a previous declaration { return q->d_func(); } ^ ../../include/QtCore/5.6.0/QtCore/private/../../../../../src/corelib/statemachine/qabstractstate_p.h:70:35: note: previous declaration ‘QAbstractStatePrivate* QAbstractStatePrivate::get’ static QAbstractStatePrivate *get(QAbstractState *q) ^ ../../include/QtCore/5.6.0/QtCore/private/../../../../../src/corelib/statemachine/qabstractstate_p.h: In static member function ‘static const QAbstractStatePrivate* QAbstractStatePrivate::get(const int*)’: ../../include/QtCore/5.6.0/QtCore/private/../../../../../src/corelib/statemachine/qabstractstate_p.h:73:17: error: request for member ‘d_func’ in ‘* q’, which is of non-class type ‘const int’ { return q->d_func(); } ^