PDA

View Full Version : Qt-4.6.2 cross compilation with DBus



grsandeep85
26th July 2010, 07:46
Hi,

I am cross compiling the qt-everywhere-opensource-src-4.6.2 for ARM on Ubuntu-10.04 desktop using the configuration as

qt-everywhere-opensource-src-4.6.2$ export PATH=$PATH:/opt/freescale/usr/local/gcc-4.3.3-glibc-2.8-cs2009q1-203/arm-none-linux-gnueabi/bin/
qt-everywhere-opensource-src-4.6.2$ ./configure -embedded arm -xplatform qws/linux-arm-g++ -prefix /usr/local/qt-4.6.2 -shared -no-qt3support -no-cups -no-phonon -nomake examples -nomake demos -no-opengl -little-endian -dbus

but when i enable the -dbus option it will log the error as

The QtDBus module cannot be enabled because libdbus-1 version 0.93 was not found.
Turn on verbose messaging (-v) to ./configure to see the final report.
If you believe this message is in error you may use the continue
switch (-continue) to ./configure to continue.

But without -dbus i am able to compile successfully.

How to resolve this issue Please help me asap.

to_guliang
11th August 2010, 09:59
up!!
same problem!

sxie
18th August 2010, 22:39
You can try append your dbus library when run configure. for example -ldbus-1.

to_guliang
20th August 2010, 07:52
i have solved the problem. First of all, you mush make sure you have cross-complied the dbus.
the following thread may be help for you.
http://www.qtcentre.org/threads/33379-dbus.cpp-(.text-0x8)-undefined-reference-to-dbus_shutdown?