[Kde-hardware-devel] libnm-qt Qt5 port: -fPIC or fPIE needed?
Sebastian Kügler
sebas at kde.org
Wed Oct 9 22:11:45 UTC 2013
On Wednesday, October 09, 2013 18:14:10 Daniel Nicoletti wrote:
> I have added this to some of my qt5 projects and it worked:
>
> add_definitions(-fPIC)
Thanks Daniel, that helps. :)
> 2013/10/9 Sebastian Kügler <sebas at kde.org>:
> > /home/sebas/kf5/qt5/qtbase/include/QtCore/../../src/corelib/global/qglobal
> > .h:991:4: error: #error "You must build your code with position
> > independent code if Qt was built with -reduce-relocations. " "Compile
> > your code with -fPIC or -fPIE." make[2]: ***
--
sebas
http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
More information about the Kde-hardware-devel
mailing list