[Development] Qt 5.6.0-rc build issues on CentOS 6.7 x86_64 with g++

Walter Stefan Stefan.Walter at lisec.com
Fri Mar 4 05:49:39 CET 2016


Hi,

I am using now the actual sources from git for 5.6.0 and get now the next compilation issue regarding libQt5DBus.so.

This mentioned library get's built and is also available in .../qtbase/lib/libQt5DBus.so

For some reason while building the service framework it can find that library. See the compilation output:
make[4]: Entering directory `/home/walteste/qt-5.6/qt-5.6.0-git/qt-build/qtsystems/src/tools/servicefw'
g++ -Wl,-O1 -Wl,--enable-new-dtags -Wl,-rpath,/home/walteste/qt-5.6/qt-5.6.0-git/qt-install/lib -o ../../../bin/servicefw .obj/servicefw.o .obj/servicemetadata.o   -L/home/walteste/qt-5.6/qt-5.6.0-git/qt-build/qtsystems/lib -lQt5ServiceFramework -L/home/walteste/qt-5.6/qt-5.6.0-git/qt-build/qtbase/lib -lQt5Core -lpthread
/usr/bin/ld: warning: libQt5DBus.so.5, needed by /home/walteste/qt-5.6/qt-5.6.0-git/qt-build/qtsystems/lib/libQt5ServiceFramework.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libQt5Network.so.5, needed by /home/walteste/qt-5.6/qt-5.6.0-git/qt-build/qtsystems/lib/libQt5ServiceFramework.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libQt5Sql.so.5, needed by /home/walteste/qt-5.6/qt-5.6.0-git/qt-build/qtsystems/lib/libQt5ServiceFramework.so, not found (try using -rpath or -rpath-link)
/home/walteste/qt-5.6/qt-5.6.0-git/qt-build/qtsystems/lib/libQt5ServiceFramework.so: undefined reference to `QDBusAbstractInterface::isValid() const at Qt_5'
/home/walteste/qt-5.6/qt-5.6.0-git/qt-build/qtsystems/lib/libQt5ServiceFramework.so: undefined reference to `QDBusAbstractInterface::connection() const at Qt_5'
/home/walteste/qt-5.6/qt-5.6.0-git/qt-build/qtsystems/lib/libQt5ServiceFramework.so: undefined reference to `QDBusMetaType::registerMarshallOperators(int, void (*)(QDBusArgument&, void const*), void (*)(QDBusArgument const&, void*))@Qt_5'

Thanks and Regards,
Stefan

________________________________________
Von: Development <development-bounces+stefan.walter=lisec.com at qt-project.org> im Auftrag von Thiago Macieira <thiago.macieira at intel.com>
Gesendet: Donnerstag, 03. März 2016 22:22
An: development at qt-project.org
Betreff: Re: [Development] Qt 5.6.0-rc build issues on CentOS 6.7 x86_64        with g++

On quinta-feira, 3 de março de 2016 17:32:25 PST Walter Stefan wrote:
> Hi Thiago,
>
> thanks, but unfortunately I am a subversion user and my git knowledge is
> very little. Is there a guide or some quick steps of how to check out this
> git 5.6.0 branch on my linux system?

git clone -b 5.6.0 git://code.qt.io/qt/qt5.git
less README.git

The README tells you to run:
 ./init-repository

I've never run that script and I have no idea what it does. I'd do instead:
 git submodule init
 git submodule update

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Development mailing list
Development at qt-project.org
http://lists.qt-project.org/mailman/listinfo/development



More information about the Development mailing list