Unsolved Where the path is libQt5DBus.so.5 ?
-
@The-most-recent-future see YOUR_QT_SOURCE/qtbase/src
Or just search for it in your Qt source code directory:find . -name dbus
-
thanks thanks ,
how to build it. ?
thanks again! -
@The-most-recent-future If you execute
./configure -release -opensource -qt-libpng -qt-zlib -qt-libjpeg -plugin-sql-sqlite -widgets -qt-sql-sqlite -make libs -no-cups -no-nis -no-iconv -no-qml-debug -no-egl -no-opengl -no-icu -no-xcb -no-accessibility -no-javascript-jit -silent -xplatform linux-arm-gnueabi-g++ -arch
and check what it says about DBus - does it activate DBus?
-
@jsulm
if add -dbus option,
occurs error. -
@The-most-recent-future Why don't you post the error?
Most probably you're missing the DBus header files and libs for your target device. -
@jsulm
like this ??
-dbus -dbus-linked -I/usr/local/arm/dbus-1.9.2/include/dbus-1.0
-I/usr/local/arm/dbus-1.9.2/lib/dbus-1.0/include
-L/usr/local/arm/dbus-1.9.2/lib -ldbus-1 -lpthread -lrt -
@The-most-recent-future configure should actually find the headers/libs by itself if they are installed.
Did you install DBUS headers/libs FOR YOUR TARGET DEVICE? -
@jsulm
install DBUS headers/libs FOR YOUR TARGET DEVICEI do not known how to do it. please help me.
make
iling ../3rdparty/double-conversion/bignum-dtoa.cc
compiling ../3rdparty/double-conversion/bignum.cc
compiling ../3rdparty/double-conversion/cached-powers.cc
compiling ../3rdparty/double-conversion/diy-fp.cc
compiling ../3rdparty/double-conversion/double-conversion.cc
compiling ../3rdparty/double-conversion/fast-dtoa.cc
compiling ../3rdparty/double-conversion/fixed-dtoa.cc
compiling ../3rdparty/double-conversion/strtod.cc
compiling qml/qqmlinstruction.cpp
compiling qml/qqmlopenmetaobject.cpp
compiling qml/qqmlvmemetaobject.cpp
compiling qml/qqmlengine.cpp
moc qml/qqmlexpression.h
compiling qml/qqmlproperty.cpp
compiling qml/qqmlcomponent.cpp
compiling qml/qqmlincubator.cpp
compiling qml/qqmlcontext.cppso : those file in dbus folder has no built
-
@The-most-recent-future It depends on your target device and sysroot. I already asked you about your sysroot - you did not provide an answer. So, what is your sysroot?
-
i do not known what is sysroot.
is this ??
http://blog.csdn.net/yanzi1225627/article/details/7855124 -
@The-most-recent-future I cannot read Chinese.
I explained yesterday what a sysroot is. -
@jsulm
how to do , how to do
crying cryying crying.......... -
@The-most-recent-future Crying will not help.
If you want to do something learn how to do it first.
If you want to cross compile then learn how it works.
For cross compilation you need a sysroot.
Here is a description for Raspberry PI: https://wiki.qt.io/RaspberryPi_Beginners_Guide
Does the manufacturer of your device provide something for development? -
@jsulm
thanks . -
@jsulm
now , i used dbus-1.2.tar.gz package.
in configure file :
-dbus is success. -
@jsulm
libQt5Core.so.5.2.0 libQt5Network.so.5.2.0 libQt5ScriptTools.so.5.2.0 libQt5XmlPatterns.prl
libQt5DBus.la libQt5Nfc.la libQt5Sensors.la libQt5XmlPatterns.so
libQt5DBus.prl libQt5Nfc.prl libQt5Sensors.prl libQt5XmlPatterns.so.5
libQt5DBus.so libQt5Nfc.so libQt5Sensors.so libQt5XmlPatterns.so.5.2
libQt5DBus.so.5 libQt5Nfc.so.5 libQt5Sensors.so.5 libQt5XmlPatterns.so.5.2.0
libQt5DBus.so.5.2 libQt5Nfc.so.5.2 libQt5Sensors.so.5.2 libQt5Xml.prl
libQt5DBus.so.5.2.0 -
@jsulm
used this function , the libQtDBus.so can be built by Qt -
-
what is sysroot, i want to know it, now i built qt
-
@The-most-recent-future You can ask Google: http://stackoverflow.com/questions/39920712/what-is-a-sysroot-exactly-and-how-do-i-create-one
A sysroot is the file-system (or part of it) of your target device. You need it if you want to cross-compile for that device: it contains headers and libraries for the target device.