i have solved the problem. the cross-compile dbus has some problem result in the error.
1.download dbus-1.2.4.6.tar.gz and expat-2.0.1.tar.gz
2. cross-compile expat
tar zxvf expat-2.0.1.tar.gz
cd expat-2.0.1/
./configure --host=arm-linux --prefix=/usr/local/expat/ CC=arm-linux-gcc
make; make install
tar zxvf expat-2.0.1.tar.gz
cd expat-2.0.1/
./configure --host=arm-linux --prefix=/usr/local/expat/ CC=arm-linux-gcc
make; make install
To copy to clipboard, switch view to plain text mode
3. cross-compile dbus
tar zxvf dbus-1.2.24.tar.gz
cd dbus-1.2.24
./configure --prefix=/usr/local/dbus/ --host=arm-linux --with-x=no ac_cv_have_abstract_sockets=yes "CC=arm-linux-gcc -I/usr/local/expat/include -L/usr/local/expat/lib"
make;make install;
tar zxvf dbus-1.2.24.tar.gz
cd dbus-1.2.24
./configure --prefix=/usr/local/dbus/ --host=arm-linux --with-x=no ac_cv_have_abstract_sockets=yes "CC=arm-linux-gcc -I/usr/local/expat/include -L/usr/local/expat/lib"
make;make install;
To copy to clipboard, switch view to plain text mode
4. cross-compile Qt with dbus
a.export PKG_CONFIG_PATH=/usr/local/dbus/lib/pkgconfig
b.configure with " -dbus " and " -force-pkg-config "
a.export PKG_CONFIG_PATH=/usr/local/dbus/lib/pkgconfig
b.configure with " -dbus " and " -force-pkg-config "
To copy to clipboard, switch view to plain text mode
Bookmarks