<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">
<div dir="auto">Hi Michael, 
<div dir="auto">I had similar issues. What worked for me was installing QT using conda. (<a href="https://anaconda.org">https://anaconda.org</a>) So you would do something like</div>
<div dir="auto"><br /></div>
<div dir="auto">$ conda install qt<br /></div>
<div dir="auto"><br /></div>
<div dir="auto">My ccmake configuration then is: </div>
<div dir="auto">
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(255, 255, 255);"><span style="color: #000000;"><br /></span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(255, 255, 255);"><span style="color: #000000;"> Qt5Core_DIR                     </span> <span style="background-color: #000000;">/Users/nkrah/anaconda2/lib/cmake/Qt5Core                                                                             </span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(255, 255, 255);"><span style="color: #000000;"> Qt5Gui_DIR                      </span> <span style="background-color: #000000;">/Users/nkrah/anaconda2/lib/cmake/Qt5Gui                                                                              </span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(255, 255, 255);"><span style="color: #000000;"> Qt5OpenGL_DIR                   </span> <span style="background-color: #000000;">/Users/nkrah/anaconda2/lib/cmake/Qt5OpenGL                                                                           </span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(255, 255, 255);"><span style="color: #000000;"> Qt5PrintSupport_DIR             </span> <span style="background-color: #000000;">/Users/nkrah/anaconda2/lib/cmake/Qt5PrintSupport                                                                     </span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(255, 255, 255);"><span style="color: #000000;"> Qt5Widgets_DIR                  </span> <span style="background-color: #000000;">/Users/nkrah/anaconda2/lib/cmake/Qt5Widgets  </span></p>
</div>
<div dir="auto"><br /></div>
<div dir="auto">The same for the Geant4 compilation. On the other hand, using QT installed with brew did not work for me because of some dynamic library issues which I was unable to figure out. </div>
<div dir="auto"><br /></div>
<div dir="auto">I also installed XQuartz (<a href="https://www.xquartz.org">https://www.xquartz.org</a>) to have X11 on the MacOS system. This appears to be used by Geant4: </div>
<div dir="auto">
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);"> OPENGL_X11_INCLUDE_DIR           <span style="color: #ffffff;background-color: #000000;">/usr/X11R6/include</span></p>
</div>
<div dir="auto"><br /></div>
<div dir="auto">Let me know. We can also try to fiddle around together. I cannot really recall all the details - it was a bit of trial and error. Maybe other Gate on MacOS users have a technically more sound explanation than mine. <br /></div>
<div dir="auto"><br /></div>
<div dir="auto">Hope it helps, </div>
<div dir="auto">Nils</div>
</div>
</div>
<div name="messageReplySection">On 17 Jun 2019 at 16:21 -0400, Michael Ljungberg <michael.ljungberg@med.lu.se>, wrote:<br />
<blockquote type="cite" class="spark_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt" xml:lang="EN-US">Hi</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt" xml:lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt" xml:lang="EN-US">I wonder what selection I should do on the ccmake of geant4 and gate in order to be able to visualize the geometry? I know one can use QT but how should I install this? I have the latest MacOS.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt" xml:lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black" xml:lang="EN-US">Hälsningar / Best Regards<br />
 <br />
Michael<br />
________________________</span><span lang="EN-US" style="font-size:11.0pt;color:black" xml:lang="EN-US"><br /></span> <b><span lang="EN-US" style="font-size:10.0pt;color:black" xml:lang="EN-US">Michael Ljungberg,</span></b><span lang="EN-US" style="font-size:10.0pt;color:black" xml:lang="EN-US"> PhD, professor<br />
Department of Medical Radiation Physics<br />
Lund University<br />
Barngatan 4<br />
SE-221 85 Lund<br />
Phone: +46 46 173565<br />
Cellular: +46 708 173115<br /></span> <span lang="EN-GB" style="font-size:10.0pt;color:black" xml:lang="EN-GB"><a href="http://www.msf.lu.se/"><span lang="EN-US" style="color:#954F72" xml:lang="EN-US">http://www.msf.lu.se</span></a></span><span lang="EN-US" xml:lang="EN-US"></span></p>
</div>
_______________________________________________<br />
Gate-users mailing list<br />
Gate-users@lists.opengatecollaboration.org<br />
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users<br /></blockquote>
</div>
</body>
</html>