1

GIT から最新の QT5-Alpha(http://qt-project.org/wiki/Qt-5-Alpha http://qt-project.org/wiki/Building_Qt_5_from_Git ) をビルドする手順を試しましたが、ウェイランドでのコンパイルに直面しています。ファイル

Ubuntu リナックス 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

qwaylandshmwindow.h:45:0 からインクルードされたファイルで、qwaylandintegration.cpp:46 から: qwaylandwindow.h:112:18: エラー: 'wl_callback_listener' に型の名前がありません

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

これを克服するための指針はありますか?

4

1 に答える 1

1

http://releases.qt-project.org/qt5.0/alpha/からアルファソースパッケージをダウンロードし、READMEファイルの手順を使用します。

gitのマスターは、アルファとしてリリースされたものではありません。ビルドスクリプトは異なります。彼らがアルファタグを追加してgitからプルするのを待つ必要があります。しかし、なぜgzファイルを取得しないのですか?

于 2012-04-05T04:11:16.290 に答える