<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
Dear Helen,</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
I’m not quite sure what’s going on here, but I have definitely not had this issue and I’m not using macports.</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
Some troubleshooting tips:</div>
<ol>
<li><font face="Calibri,sans-serif">Make sure the QT tools are in your path, i.e., run “echo $PATH” and check that it contains something like</font> “.../…/<font color="#333333"><span style="line-height: inherit;">Qt5/5.2.0/clang_64/bin</span>”<span style="font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; line-height: inherit;">.</span></font>
<ul>
<li>If it doesn’t, add it permanently to the configuration file of your shell (~/.bashrc, ~/.tcshrc, ~/.profile, or …). If you use bash/zsh, that’s &quot;<font color="#333333"><span style="font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; line-height: inherit;">export
 PATH=/path/to/Qt5/5.2.0/clang_64/bin:$PATH</span><span style="font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px;">”</span>, if you use csh/tcsh, that’s&nbsp;“<span style="font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; line-height: inherit;">setenv
 PATH /path/to/Qt5/5.2.0/clang_64/bin:$PATH</span>”. (You can check which shell you’re using by running&nbsp;“echo $0”). Also&nbsp;don’t forget to reload the config file (“source ~/.profile” or just restart the terminal).</font></li><li><font color="#333333">If it does, then check if maybe it’s conflicting with your macports installation. Try to make sure the path to your own QT installation is at the front of the $PATH variable, or at least before the path to your macports installation
 (/opt/local/bin).</font></li></ul>
</li><li>If your path is correct, navigate to that directory (“cd”) and check if moc is actually there (“ls”). If it’s not, your QT install is broken and you should run the installer again. If it is, then ./configure should be able to find it.</li></ol>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
I hope that helps.</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
Best regards,</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
Daan</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<div><br>
</div>
<div><br>
</div>
<div>
<p class="MsoNormal" style="font-size: 11pt;"></p>
<p class="MsoNormal" style="font-size: 11pt;"><b><span lang="FR-BE" style="font-size: 10.5pt; font-family: Arial, sans-serif; color: rgb(0, 161, 214);">ir. Daan Christiaens</span></b><span lang="FR-BE" style="color: rgb(31, 73, 125); "><br>
</span><span lang="FR-BE" style="color: rgb(102, 102, 102); font-size: 10.5pt; font-family: Arial, sans-serif;">Ph.D. Researcher</span><span lang="FR-BE" style="color: rgb(31, 73, 125); "><br>
<br>
</span><b><span lang="FR-BE" style="font-size: 9pt; font-family: Arial, sans-serif;"><a href="mailto:daan.christiaens@uzleuven.be"></a><a href="mailto:daan.christiaens@esat.kuleuven.be"><font color="#5e5e5e">daan.christiaens@esat.kuleuven.be</font></a></span></b></p>
<p class="MsoNormal" style="font-size: 11pt;"><span lang="FR-BE" style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(102, 102, 102);">tel &#43;32 16 34 90 35<o:p></o:p></span></p>
<p class="MsoNormal" style="font-size: 11pt;"><span lang="FR-BE" style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(102, 102, 102);">fax &#43;32 16 34 90 01</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="font-size: 11pt;"><span lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(102, 102, 102);">&nbsp;</span></p>
<p class="MsoNormal" style="font-size: 11pt;"><b><span lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"><font color="#5e5e5e">Medical Image Computing – ESAT/PSI&nbsp;</font></span><span lang="EN-US" style="color: rgb(102, 102, 102); font-size: 8pt; font-family: Arial, sans-serif;">–
 Department of Electrical Engineering<o:p></o:p></span></b></p>
<p class="MsoNormal" style="font-size: 11pt;"><span lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(102, 102, 102);">&nbsp;</span></p>
<p class="MsoNormal" style="font-size: 11pt;"><span lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif; color: rgb(102, 102, 102);"><a href="http://www.medicalimagingcenter.be/"><span lang="NL-BE" style="color: rgb(102, 102, 102); ">Medical
 Imaging Research Center</span></a>&nbsp;|&nbsp;<a href="http://www.kuleuven.be/"><b><span lang="NL-BE" style="color: rgb(0, 161, 214); ">Katholieke Universiteit Leuven</span></b></a>&nbsp;|&nbsp;<a href="http://www.uzleuven.be/"><span lang="NL-BE" style="color: rgb(102, 102, 102); ">campus
 Gasthuisberg</span></a>&nbsp;| Herestraat 49 bus 7003 | B - 3000 Leuven</span></p>
<p></p>
</div>
</div>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<span id="OLK_SRC_BODY_SECTION" style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Helen Carlson &lt;<a href="mailto:Helen.Carlson@albertahealthservices.ca">Helen.Carlson@albertahealthservices.ca</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Thursday 12 June 2014 23:45<br>
<span style="font-weight:bold">To: </span>&quot;<a href="mailto:'mrtrix-discussion@www.nitrc.org">'mrtrix-discussion@www.nitrc.org</a>'&quot; &lt;<a href="mailto:mrtrix-discussion@www.nitrc.org">mrtrix-discussion@www.nitrc.org</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>[Mrtrix-discussion] MRTrix3 MacOSX installation: QT moc not found<br>
</div>
<div><br>
</div>
<div xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div lang="EN-CA" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Hello all<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">I am attempting to install MRTrix3 and have successfully installed all the dependencies on my MacOSX 10.9 Mavericks machine (MacPorts, XCode, GSL,
 QT5.2.0). However when I get to the mrtrix3 ./configure stage, I get the following error:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Checking for Qt moc:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">ERROR: Qt moc not found!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Use the MOC environment variable to specify the Qt meta-object compiler, or set PATH to include its location<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">I have spent quite a bit of time on various forums that document these sorts of issues and it seems that if you install QT directly (and not through
 MacPorts), you get this issue. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">My question is, how do I fix this? I have tried updating my PATH and also the MOC environmental variable but am obviously missing an important step.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Thanks in advance for your help<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Helen<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><o:p></o:p></span></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">This message and any attached documents are only for the use of the intended recipient(s), are confidential and may contain privileged information. Any unauthorized review, use, retransmission, or other disclosure is
 strictly prohibited. If you have received this message in error, please notify the sender immediately, and then delete the original message. Thank you.<br>
</font></div>
</div>
</span>
</body>
</html>