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 <se...@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 _______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel