[Mrtrix-discussion] MRTrix3 MacOSX installation: QT moc not found

Daan Christiaens Daan.Christiaens at esat.kuleuven.be
Fri Jun 13 05:04:51 PDT 2014


Dear Helen,

I’m not quite sure what’s going on here, but I have definitely not had this issue and I’m not using macports.

Some troubleshooting tips:

  1.  Make sure the QT tools are in your path, i.e., run “echo $PATH” and check that it contains something like “.../…/Qt5/5.2.0/clang_64/bin”.
     *   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 "export PATH=/path/to/Qt5/5.2.0/clang_64/bin:$PATH”, if you use csh/tcsh, that’s “setenv PATH /path/to/Qt5/5.2.0/clang_64/bin:$PATH”. (You can check which shell you’re using by running “echo $0”). Also don’t forget to reload the config file (“source ~/.profile” or just restart the terminal).
     *   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).
  2.  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.

I hope that helps.

Best regards,
Daan


ir. Daan Christiaens
Ph.D. Researcher

<mailto:daan.christiaens at uzleuven.be>daan.christiaens at esat.kuleuven.be<mailto:daan.christiaens at esat.kuleuven.be>
tel +32 16 34 90 35
fax +32 16 34 90 01

Medical Image Computing – ESAT/PSI – Department of Electrical Engineering

Medical Imaging Research Center<http://www.medicalimagingcenter.be/> | Katholieke Universiteit Leuven<http://www.kuleuven.be/> | campus Gasthuisberg<http://www.uzleuven.be/> | Herestraat 49 bus 7003 | B - 3000 Leuven

From: Helen Carlson <Helen.Carlson at albertahealthservices.ca<mailto:Helen.Carlson at albertahealthservices.ca>>
Date: Thursday 12 June 2014 23:45
To: "'mrtrix-discussion at www.nitrc.org<mailto:'mrtrix-discussion at www.nitrc.org>'" <mrtrix-discussion at www.nitrc.org<mailto:mrtrix-discussion at www.nitrc.org>>
Subject: [Mrtrix-discussion] MRTrix3 MacOSX installation: QT moc not found

Hello all
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:

Checking for Qt moc:
ERROR: Qt moc not found!
Use the MOC environment variable to specify the Qt meta-object compiler, or set PATH to include its location

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.

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.

Thanks in advance for your help
Helen


________________________________
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.nitrc.org/pipermail/mrtrix-discussion/attachments/20140613/5a9c8302/attachment.html>


More information about the Mrtrix-discussion mailing list