'wl_display_sync_func_t' has not been declared --about qt on wayland install issues
李海梅
lihaimei880313 at gmail.com
Tue Mar 1 23:16:49 PST 2011
Hi, Everybody,
I need your help.
When I install qt on wayland, I meet some problems.
The steps which I'm taking are as following:
1. git clone git://gitorious.org/+qt-developers/qt/lighthouse.git
2. ./configure -confirm-license -opensource -no-qt3support -no-xmlpatterns
-no-multimedia -no-webkit -no-phonon -developer-build -qpa -egl -opengl es2
3. then build it using make
all of the above run smoothly.
But for the next step:
4. then build the wayland backend by using : make -C
src/plugins/platforms/wayland
I get some errors as following:
In file include from qwaylanddisplay.h:52,
From qwaylandintegration.cpp:44
qwaylandinclude.h:45:28:error:wayland-clients.h:No such file or directory
qwaylandcindlue.h:48:25:error:wyaland-egl.h:No such file or directory In
file included from qwaylandshmsurface.h:45,
From qwaylandintegration.cpp:45,
qwaylandbuffer.h:47:37:error:wayland-client-protocol.h:No such file or
directory In file included from qwaylandintergration.cpp:44
qwaylanddisplay.h:81:error:'wl_display_sync_func_t' has not been declared
qwaylanddisplay.h:82:error:'wl_display_frame_func_t'has not been declared In
file included from ../../../../include/QtGui/qplatformcursor_qpa.h:1,
from ../../../../include/QtGui/QPlatformCursor:1,
from qwaylandintegration.cpp:53:
../../../../include/QtGui/../../src/gui/kernel/qplatformcursor_qpa.h:67:error:expected
identifier before numeric constant
../../../../include/QtGui/../../src/gui/kernel/qplatformcursor_qpa.h:67:error:expected
',' or '...'before numeric constant
make:***[.obj/debug-shared/qwaylandintegration.o] Error 1
make: Leaving directory
'/home/test/lighthouse/src/plugins/platforms/wayland'
And then, I try to fix this problem ,by coping the file, such as
wayland-client-protocol.h
wayland-client.h
wayland-egl.h
wayland-util.h , to the direction: /src/plugins/platforms/wayland
And the number of mistakes reduced.
However, there are still some mistakes, as following:
In file include from ../../../../include/QtGui/qplatformcursor_qpa.h:1
from../../../../include/QtGui/QPlatformCursor:1,
from qwaylandintegration.cpp:53:
../../../../include/QtGui/../../src/gui/kernel/qplatformcursor_qpa.h:67:error:expected
identifier before numeric constant
../../../../include/QtGui/../../src/gui/kernel/qplatformcursor_qpa.h:67:error:expected
',' or '...' before numeric constant make
:***[.obj/debug-shared/qwaylandintegration.o] Error 1
make: Leaving directory 'home/test/lighthouse/src/plugins/platforms/wayland'
The above is the error condition. And I try to fix it, so I enter into
qplatformcursor_qpa.h file. And find the 67 line is : void
set(QT::CursorShape);
But, i don't know how to settle it. I don't think the main wrong point is
here.
Hope you can help me or give me some adivse.
ps: the wayland' install is follow the office building guide . And there is
no problem and it can run the simply demos on wayland.
Thanks a lot.
Regards,
Haimei Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20110302/4553a494/attachment.html>
More information about the wayland-devel
mailing list