[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 08:40:20 CET 2016


​Hi Helio,


I use the GIT 5.6.0 version from qt as suggested by Thiago.


The link provided by you does not work for me.


Regards,

Stefan


________________________________
Von: Helio Chissini de Castro <helio at kde.org>
Gesendet: Freitag, 04. März 2016 10:07
An: Walter Stefan; Thiago Macieira; development at qt-project.org
Betreff: Re: [Development] Qt 5.6.0-rc build issues on CentOS 6.7 x86_64 with g++

Hello all

Just a question, did you tried the copr Qt repository that Fedora KDE Sig maintains ?

https://copr.fedorainfracloud.org/coprs/g/kdesig

We have everything compiled for Fedora 22, 23, rawhide, epel 7 and epel 6, meaning Centos 6

We're unable to dependency reasons have qtserialport, qtwayland, qt3d and Qt creator 5.6.o not ready yet, but for the rest is all ok

Even the compiler we used the original, and not the SCL collection.

Regards, Helio



On Fri, Mar 4, 2016, 05:50 Walter Stefan <Stefan.Walter at lisec.com<mailto:Stefan.Walter at lisec.com>> wrote:
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<mailto:lisec.com at qt-project.org>> im Auftrag von Thiago Macieira <thiago.macieira at intel.com<mailto:thiago.macieira at intel.com>>
Gesendet: Donnerstag, 03. März 2016 22:22
An: development at qt-project.org<mailto: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<http://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<http://intel.com>
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Development mailing list
Development at qt-project.org<mailto:Development at qt-project.org>
http://lists.qt-project.org/mailman/listinfo/development
_______________________________________________
Development mailing list
Development at qt-project.org<mailto:Development at qt-project.org>
http://lists.qt-project.org/mailman/listinfo/development
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20160304/8c4dd2d0/attachment.html>


More information about the Development mailing list