-RM-385-MR-[NetworkEditor] Qt5 Migration
When compiled with the pre build Qt5.3.2 Library from Qt the NetworkEditor refuses to compile:
[ 61%] Building CXX object qt5gui/CMakeFiles/openwalnut-qt5.dir/networkEditor/WQtNetworkItemGrid.cpp.o In file included from /opt/Qt5.3.2/5.3/gcc_64/include/QtCore/qnamespace.h:45:0, from /opt/Qt5.3.2/5.3/gcc_64/include/QtGui/qpainter.h:45, from /opt/Qt5.3.2/5.3/gcc_64/include/QtGui/QPainter:1, from /home/math/repos/ow/src/qt5gui/networkEditor/WQtNetworkItemGrid.cpp:29: /opt/Qt5.3.2/5.3/gcc_64/include/QtCore/qglobal.h:1034: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]: *** [qt5gui/CMakeFiles/openwalnut-qt5.dir/networkEditor/WQtNetworkItemGrid.cpp.o] Error 1
(from redmine: created on 2014-11-21, closed on 2015-03-06)