本人刚接触QT,很多东西还不是很明白,下面是我遇到的一个问题。
我使用的是ubuntu10.04,arm-linux-gcc-4.4.3,tslib-1.4,qt-everywhere-opensource-src-4.7.2
但是我在安装qt-everywhere-opensource-src-4.7.2-arm过程中,执行
./configure -prefix /usr/local/Trolltech/QtEmbedded-4.7.2-arm -opensource -confirm-license -release -shared -embedded arm -xplatform qws/linux-arm-g++ -depths 16,18,24 -fast -optimized-qmake -pch -qt-sql-sqlite -qt-libjpeg -qt-zlib -qt-libpng -qt-freetype -little-endian -host-little-endian -no-qt3support -no-libtiff -no-libmng -no-opengl -no-mmx -no-sse -no-sse2 -no-3dnow -no-openssl -no-qvfb -no-nis -no-opengl -no-cups -no-glib -no-xcursor -no-xfixes -no-xrandr -no-xrender -no-separate-debug-info -nomake examples -nomake tools -nomake docs -qt-mouse-tslib -I/usr/local/tslib/include -L/usr/local/tslib/lib
出现了以下错误:
You have not explicitly asked to use pkg-config and are cross-compiling.
pkg-config will not be used to automatically query cflag/lib parameters for
dependencies
本人菜鸟一只,希望各位大侠出手相救!!