Qtwayland build fails
-
Hi Friends,
I am not able to build qtwayland for i586 target.
Below are the logs.
Can somebody give me hints??
I have already compiled QT5.0.0 for my target and checked out qtwayland sources from here: git clone https://git.gitorious.org/qt/qtwayland.gitThanks in advance.!
------------------------Logs------------------------
Info: creating cache file /mnt/qt-qtwayland/.qmake.cache
Checking for wayland... yes
Checking for xkbcommon... yes
Checking for wayland_scanner... yes
Checking for wayland_egl... no
Checking for egl... yes
Checking for brcm_egl... no
Checking for glx... yes
Checking for xcomposite... no
Project MESSAGE: no wayland-egl support detected, cross-toolkit compatibility disabled
bash-4.1# make
cd src/ && ( test -f Makefile || /usr/local/Qt-5.0.0/bin/qmake /mnt/qt-qtwayland/src/src.pro -o Makefile ) && make -f Makefile
make[1]: Entering directory/mnt/qt-qtwayland/src' cd qtwaylandscanner/ && ( test -f Makefile || /usr/local/Qt-5.0.0/bin/qmake /mnt/qt-qtwayland/src/qtwaylandscanner/qtwaylandscanner.pro -o Makefile ) && make -f Makefile make[2]: Entering directory
/mnt/qt-qtwayland/src/qtwaylandscanner'
g++ -c -m32 -pipe -O2 -Wall -W -D_REENTRANT -fno-exceptions -fPIE -DQT_NO_DEBUG -DQT_BOOTSTRAP_LIB -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED -DQT_NO_TRANSLATION -DQT_QMAKE_LOCATION="/mnt/qt-everywhere-opensource-src-5.0.0/qtbase/bin/qmake" -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/usr/local/Qt-5.0.0/mkspecs/linux-g++-32 -I. -I/usr/local/Qt-5.0.0/include -I/usr/local/Qt-5.0.0/include/QtCore -I/usr/local/Qt-5.0.0/include/QtCore/5.0.0 -I/usr/local/Qt-5.0.0/include/QtCore/5.0.0/QtCore -I/usr/local/Qt-5.0.0/include/QtXml -I/usr/local/Qt-5.0.0/include/QtXml/5.0.0 -I/usr/local/Qt-5.0.0/include/QtXml/5.0.0/QtXml -o .obj/release-shared/qtwaylandscanner.o qtwaylandscanner.cpp
In file included from /usr/local/Qt-5.0.0/include/QtCore/qcoreapplication.h:47:0,
from /usr/local/Qt-5.0.0/include/QtCore/QCoreApplication:1,
from qtwaylandscanner.cpp:42:
/usr/local/Qt-5.0.0/include/QtCore/qeventloop.h:55:1: error: invalid use of incomplete type ‘struct QObject’
/usr/local/Qt-5.0.0/include/QtCore/qobjectdefs.h:235:7: error: forward declaration of ‘struct QObject’
/usr/local/Qt-5.0.0/include/QtCore/qeventloop.h: In member function ‘QEventLoopPrivate* QEventLoop::d_func()’:
/usr/local/Qt-5.0.0/include/QtCore/qeventloop.h:57:5: error: ‘d_ptr’ was not declared in this scope
/usr/local/Qt-5.0.0/include/QtCore/qeventloop.h: In member function ‘const QEventLoopPrivate* QEventLoop::d_func() const’:
/usr/local/Qt-5.0.0/include/QtCore/qeventloop.h:57:5: error: ‘d_ptr’ was not declared in this scope
/usr/local/Qt-5.0.0/include/QtCore/qeventloop.h: At global scope:
/usr/local/Qt-5.0.0/include/QtCore/qeventloop.h:99:39: error: expected ‘)’ before ‘’ token
In file included from /usr/local/Qt-5.0.0/include/QtCore/QCoreApplication:1:0,
from qtwaylandscanner.cpp:42:
/usr/local/Qt-5.0.0/include/QtCore/qcoreapplication.h:69:1: error: invalid use of incomplete type ‘struct QObject’
/usr/local/Qt-5.0.0/include/QtCore/qobjectdefs.h:235:7: error: forward declaration of ‘struct QObject’
/usr/local/Qt-5.0.0/include/QtCore/qcoreapplication.h: In member function ‘QCoreApplicationPrivate QCoreApplication::d_func()’:
/usr/local/Qt-5.0.0/include/QtCore/qcoreapplication.h:77:5: error: ‘d_ptr’ was not declared in this scope
/usr/local/Qt-5.0.0/include/QtCore/qcoreapplication.h: In member function ‘const QCoreApplicationPrivate* QCoreApplication::d_func() const’:
/usr/local/Qt-5.0.0/include/QtCore/qcoreapplication.h:77:5: error: ‘d_ptr’ was not declared in this scope
/usr/local/Qt-5.0.0/include/QtCore/qcoreapplication.h: In static member function ‘static QString QCoreApplication::translate(const char*, const char*, const char*, int)’:
/usr/local/Qt-5.0.0/include/QtCore/qcoreapplication.h:209:99: error: return type ‘struct QString’ is incomplete
/usr/local/Qt-5.0.0/include/QtCore/qcoreapplication.h:211:12: error: incomplete type ‘QString’ used in nested name specifier
make[2]: *** [.obj/release-shared/qtwaylandscanner.o] Error 1
make[2]: Leaving directory/mnt/qt-qtwayland/src/qtwaylandscanner' make[1]: *** [sub-qtwaylandscanner-make_first-ordered] Error 2 make[1]: Leaving directory
/mnt/qt-qtwayland/src'
make: *** [sub-src-make_first] Error 2