From 120185d783d4ebc2fb0c9a98acb78eaafb22b283 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 1 Jul 2015 18:39:42 +0200 Subject: Add note on to INSTALL on Qt5's -fPIC requirement --- INSTALL | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/INSTALL b/INSTALL index 2117d18..9f6368d 100644 --- a/INSTALL +++ b/INSTALL @@ -46,6 +46,12 @@ and without debug information: ./configure --disable-static CXX=g++-4.5 CXXFLAGS=-O3 +Note that if you are using Qt5 and building a static library, then you +may have to manually add the -fPIC C++ compiler flag to satisfy the Qt5 +requirements, for example: + +./configure CXXFLAGS="-fPIC -O3" + Once configuration is complete, run make to build libodb-qt: make -- cgit v1.1