언어 설정

Menu
Sites
Language
Build issue with qtwayland

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.git

Thanks 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
 

Edited by: Brock Boland on 17 3월, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

2 댓글
Raghavendra Reddy Shiva
Please post your query in "General Support" section for response on native build issues. thanks !!
Bhushan Jahagirdar
Because of the above problem. Now, I used the tooling reference from Tizen community to checkout the qtwayland. Now I don't see the above problem but a new build issue: -----------------------log::Snippet of the error part------------------------------------------------- bash-4.1# qmake Info: creating cache file /mnt/qtwayland/.qmake.cache Checking for xkbcommon... yes Checking for brcm_egl... no Checking for egl... yes Checking for glx... yes Checking for wayland_egl... no Checking for xcomposite... no ......compilation follows here..... g++ -m32 -Wl,--no-undefined -Wl,-O1 -Wl,-rpath,/usr/local/Qt-5.0.0/lib -shared -Wl,-Bsymbolic-functions -Wl,-soname,libQt5Compositor.so.5 -o libQt5Compositor.so.5.0.0 .obj/release-shared/waylandresourcecollection.o .obj/release-shared/wlcompositor.o .obj/release-shared/wldisplay.o .obj/release-shared/wloutput.o .obj/release-shared/wlsurface.o .obj/release-shared/wlshellsurface.o .obj/release-shared/wlinputdevice.o .obj/release-shared/wldatadevicemanager.o .obj/release-shared/wldatadevice.o .obj/release-shared/wldataoffer.o .obj/release-shared/wldatasource.o .obj/release-shared/wlextendedsurface.o .obj/release-shared/wlextendedoutput.o .obj/release-shared/wlsubsurface.o .obj/release-shared/wltouch.o .obj/release-shared/wlqtkey.o .obj/release-shared/qwaylandmimehelper.o .obj/release-shared/wlsurfacebuffer.o .obj/release-shared/wlregion.o .obj/release-shared/graphicshardwareintegration.o .obj/release-shared/waylandcompositor.o .obj/release-shared/waylandsurface.o .obj/release-shared/waylandinput.o .obj/release-shared/waylandsurfaceitem.o .obj/release-shared/waylandsurfacenode.o .obj/release-shared/waylandsurfacetexturematerial.o .obj/release-shared/waylandwindowmanagerintegration.o .obj/release-shared/moc_wlcompositor.o .obj/release-shared/moc_wldatadevicemanager.o .obj/release-shared/moc_waylandsurface.o .obj/release-shared/moc_waylandsurfaceitem.o .obj/release-shared/moc_waylandwindowmanagerintegration.o .obj/release-shared/wayland-surface-extension-protocol.o .obj/release-shared/wayland-sub-surface-extension-protocol.o .obj/release-shared/wayland-output-extension-protocol.o .obj/release-shared/wayland-touch-extension-protocol.o .obj/release-shared/wayland-qtkey-extension-protocol.o .obj/release-shared/wayland-windowmanager-protocol.o -L/usr/local/lib -lwayland-server -lxkbcommon -L/usr/local/Qt-5.0.0/lib -lQt5Quick -lQt5Qml -lQt5Network -lQt5Gui -lQt5Core -lpthread -lGLESv2 .obj/release-shared/wlcompositor.o: In function `Wayland::Compositor::Compositor(WaylandCompositor*)': wlcompositor.cpp:(.text+0x46c): undefined reference to `GraphicsHardwareIntegration::createGraphicsHardwareIntegration(WaylandCompositor*)' collect2: ld returned 1 exit status make[2]: *** [../../lib/libQt5Compositor.so.5.0.0] Error 1 make[2]: Leaving directory `/mnt/qtwayland/src/compositor' make[1]: *** [sub-compositor-make_first] Error 2 make[1]: Leaving directory `/mnt/qtwayland/src' make: *** [sub-src-make_first] Error 2 ------------------------------------------------------------------------------------------- Please help me to solve the problem. Thanks...!