Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

Commit

Permalink
Update INSTALL-unix doc for C++11 default build.
Browse files Browse the repository at this point in the history
  • Loading branch information
randy-waterhouse committed Apr 23, 2014
1 parent c80ca99 commit d940764
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions doc/INSTALL-unix.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,24 @@ navigate to the ‘project’ folder

run: qmake

(NB :On systems where OT was compiled with C++11 use
#################################
(NB :On older systems where OT was compiled with C++03 you need to uncomment

qmake "QMAKE_CXXFLAGS += -std=c++11"
the line in project/common.pri

QMAKE_CXXFLAGS += -std=c++03 -Dnullptr=NULL -DOT_USE_TR1 ## Ubuntu 12.04

and comment out the line

#QMAKE_CXXFLAGS += -std=c++11

and also in project/moneychanger-qt/moneychanger-qt.pro uncomment the two lines

# only need if no C++11 available (e.g. Ubuntu 12.04)
LIBS += -lboost_system-mt
LIBS += -lboost_thread-mt
)
##################################

then: make (-jx, where x is the number of threads you want).

Expand Down

0 comments on commit d940764

Please sign in to comment.