2012-04-05 40 views
1

我尝试了从GIT构建最新的QT5-Alpha(http://qt-project.org/wiki/Qt-5-Alpha http://qt-project.org/wiki/Building_Qt_5_from_Git) 的指示,但面对汇编韦兰文件Ubuntu-Linux中的QT5-alpha构建错误11.10

Ubuntu Linux操作系统的11.10

__make[4]: Entering directory `/home/xyz/build/newqt5/qt5/qtwayland/src/plugins/platforms/wayland' 
g++ -c -pipe -g -fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -Wall -W -fPIC -DQT_NO_LIBUDEV -DQ_PLATFORM_WAYLAND -DQT_NO_WAYLAND_XKB -DQT_WAYLAND_GL_SUPPORT -DQT_WAYLAND_WINDOWMANAGER_SUPPORT -DQ_FONTCONFIGDATABASE -DQT_COMPILES_IN_HARFBUZZ -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -I/home/xyz/build/newqt5/qt5/qtbase/mkspecs/linux-g++ -I. -I/home/xyz/build/newqt5/qt5/qtbase/include/QtCore/5.0.0 -I/home/xyz/build/newqt5/qt5/qtbase/include/QtCore/5.0.0/QtCore -I/home/xyz/build/newqt5/qt5/qtbase/include/QtCore -I/home/xyz/build/newqt5/qt5/qtbase/include/QtGui/5.0.0 -I/home/xyz/build/newqt5/qt5/qtbase/include/QtGui/5.0.0/QtGui -I/home/xyz/build/newqt5/qt5/qtbase/include/QtGui -I/home/xyz/build/newqt5/qt5/qtbase/include/QtPlatformSupport/5.0.0 -I/home/xyz/build/newqt5/qt5/qtbase/include/QtPlatformSupport/5.0.0/QtPlatformSupport -I/home/xyz/build/newqt5/qt5/qtbase/include/QtPlatformSupport -I/home/xyz/build/newqt5/qt5/qtbase/include -I../../../shared -Igl_integration/xcomposite_share -I.moc/debug-shared -o .obj/debug-shared/qwaylandintegration.o qwaylandintegration.cpp 

In file included from qwaylandshmwindow.h:45:0, from qwaylandintegration.cpp:46: qwaylandwindow.h:112:18: error: ‘wl_callback_listener’ does not name a type

make[4]: *** [.obj/debug-shared/qwaylandintegration.o] Error 1_ 

任何指针来克服这个?

回答

1

在此处下载alpha源码包:http://releases.qt-project.org/qt5.0/alpha/并使用README文件中的步骤。

在git中的主不是什么被释放为阿尔法。构建脚本是不同的。你必须等待他们添加alpha标签从git中拉出来。但为什么不只是抓住gz文件呢?

+0

谢谢,我会尝试这个并更新 – subbul 2012-04-05 05:00:02

+0

它确实谢谢..感谢..指出了tar文件的链接,而不是GIT :) – subbul 2012-04-06 03:06:43