aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-07-01 18:39:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-07-01 18:39:42 +0200
commit120185d783d4ebc2fb0c9a98acb78eaafb22b283 (patch)
tree32a8c691f86238a29604b423c968dd0b210e3cb9 /INSTALL
parentde1efc8c401418269bdbc28b9e8eeaff5b746c45 (diff)
Add note on to INSTALL on Qt5's -fPIC requirementas
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL6
1 files changed, 6 insertions, 0 deletions
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