From 1d9b0268b81d41e964bbdb950c3a7a547c4f1266 Mon Sep 17 00:00:00 2001 From: Ying He Date: Sun, 7 May 2017 23:03:22 -0400 Subject: [PATCH 1/2] added the instruction of install Qt4 for macOS Sierra 10.12.4 --- doc/manual/manual.tex | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/doc/manual/manual.tex b/doc/manual/manual.tex index a3a41572680..d9492ffde88 100644 --- a/doc/manual/manual.tex +++ b/doc/manual/manual.tex @@ -4192,6 +4192,26 @@ \subsubsection{Installing parameter-GUI} to the directory that contains the parameter-GUI executable (optional). This will allow \aspect{} to automatically enable the GUI during configuration. \end{enumerate} +On a mac machine with recent macOS Sierra 10.12.4, Qt development libraries of version 4.x.x at the libraries' official website \url{https://www.qt.io/download-open-source/} may fail to install. Alternatively, you can install \texttt{qt4} through Homebrew (also see instruction here \url{https://github.com/cartr/homebrew-qt4}) +\begin{verbatim} +brew tap cartr/qt4 +brew tap-pin cartr/qt4 +brew install qt@4 +\end{verbatim} +or install it through Mac Ports (\url{https://www.macports.org/}) +\begin{verbatim} +sudo port install qt4-mac +\end{verbatim} +Then you can follow the Linux user instructions provided previously to download and install dealii parameter-GUI. +Before running \texttt{cmake .}, you many need to either pass the path of \texttt{qt4} and specify the value of variable \texttt{QT\_LIBRARIES} to the directory that contains the libraries of \texttt{qt4} +or add those information into your \texttt{.bash\_profile}. For example, for installation through Mac Ports, you can set the following into your \texttt{.bash\_profile} +\begin{verbatim} +export PATH="$PATH:/opt/local/libexec/qt4" +export QT_LIBRARIES="/opt/local/libexec/qt4" +\end{verbatim} + + + \subsubsection{Using \aspect{}-GUI} From fc1b72f20b3a50544fab83f567ba163a14e3493b Mon Sep 17 00:00:00 2001 From: Ying He Date: Wed, 10 May 2017 21:47:31 -0400 Subject: [PATCH 2/2] fix typo --- doc/manual/manual.tex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/manual/manual.tex b/doc/manual/manual.tex index d9492ffde88..b489cc8f6b6 100644 --- a/doc/manual/manual.tex +++ b/doc/manual/manual.tex @@ -4192,7 +4192,8 @@ \subsubsection{Installing parameter-GUI} to the directory that contains the parameter-GUI executable (optional). This will allow \aspect{} to automatically enable the GUI during configuration. \end{enumerate} -On a mac machine with recent macOS Sierra 10.12.4, Qt development libraries of version 4.x.x at the libraries' official website \url{https://www.qt.io/download-open-source/} may fail to install. Alternatively, you can install \texttt{qt4} through Homebrew (also see instruction here \url{https://github.com/cartr/homebrew-qt4}) + +\paragraph{Installing on macOS} On a mac machine with recent macOS Sierra 10.12.4, Qt development libraries of version 4.x.x at the libraries' official website \url{https://www.qt.io/download-open-source/} may fail to install. Alternatively, you can install \texttt{qt4} through Homebrew (also see instruction here \url{https://github.com/cartr/homebrew-qt4}) \begin{verbatim} brew tap cartr/qt4 brew tap-pin cartr/qt4 @@ -4203,7 +4204,7 @@ \subsubsection{Installing parameter-GUI} sudo port install qt4-mac \end{verbatim} Then you can follow the Linux user instructions provided previously to download and install dealii parameter-GUI. -Before running \texttt{cmake .}, you many need to either pass the path of \texttt{qt4} and specify the value of variable \texttt{QT\_LIBRARIES} to the directory that contains the libraries of \texttt{qt4} +Before running \texttt{cmake .}, you may need to either pass the path of \texttt{qt4} and specify the value of variable \texttt{QT\_LIBRARIES} to the directory that contains the libraries of \texttt{qt4} or add those information into your \texttt{.bash\_profile}. For example, for installation through Mac Ports, you can set the following into your \texttt{.bash\_profile} \begin{verbatim} export PATH="$PATH:/opt/local/libexec/qt4"