尝试为Arm配置Qt时尚未设置PKG_CONFIG_PATH

时间:2012-08-17 14:49:20

标签: linux cross-compiling

我用它来设置PKG_CONFIG_PATH

export PKG_CONFIG_PATH=/usr/local/dbus/lib/pkgconfig

之后我尝试使用以下命令运行qt的配置

./configure -prefix /home/navani/Qt-4.6.3/qt-everywhere-opensource-src-4.6.3 \
-opensource -embedded arm -platform qws/linux-x86-g++ -confirm-license -release \
-no-rpath -no-fast -no-accessibility -no-sql-ibase -no-sql-mysql -no-sql-odbc \
-no-sql-psql -no-sql-sqlite2 -no-qt3support -no-mmx -no-3dnow -no-sse -no-sse2 \
-no-neon -no-optimized-qmake -no-nis -no-cups -pch -reduce-relocations \
-force-pkg-config -prefix /usr -no-armfpa -make libs -nomake docs -iconv \
-largefile -embedded arm -qt-decoration-styled -depths all \
-xplatform qws/linux-mx35pdk-g++ -make examples -make demos \
-examplesdir /usr/bin/qt4-examples -qt-gfx-directfb -qt-gfx-linuxfb \
-qt-gfx-transformed -no-gfx-qvfb -qt-gfx-vnc -qt-gfx-multiscreen -qt-kbd-tty \
-qt-kbd-linuxinput -no-kbd-qvfb -qt-mouse-pc -qt-mouse-linuxinput \
-no-mouse-linuxtp -no-mouse-qvfb -qt-libpng -no-libmng -no-libtiff -no-gif \
-no-libjpeg -qt-zlib -qt-freetype -little-endian -stl -no-glib -no-openssl \ 
-no-dbus -no-opengl -shared -xmlpatterns -exceptions -no-multimedia \
-no-audio-backend -no-phonon -no-phonon-backend -no-webkit -no-scripttools \
-no-sql-sqlite -nomake tools -svg -script

但是我收到错误的说法

  

尚未设置PKG_CONFIG_PATH。这可能意味着主机编译器   将使用.pc文件。这可能不是你想要的。

我做错了什么?我该怎么办?

0 个答案:

没有答案