I’m having trouble installing MRtrix3, I’ve installed Qt and enabled qmake -v but I’m still getting an error when I run ./congfiure, please help me. The following is the error code
ubuntu22@ghq:~$ qmake -v
QMake version 3.1
Using Qt version 5.14.2 in /opt/Qt5.14.2/5.14.2/gcc_64/lib
ERROR: Qt moc not found!
MRtrix3 was unable to locate the Qt meta-object compiler ‘moc’.
Make sure your PATH environment variable includes the location of the correct
version of this command, for example:
$ export PATH=/opt/qt5/bin:PATH
./configure
(amend with the actual path to the Qt executables on your system)
2 weeks ago, when I installed it on another computer, I copied the contents of the share/ lib/ folder in the mrtrix3 directory directly to bin/, and then executed mrview and it succeeded. I don’t know why this happened. I haven’t tried it on this computer yet, so I don’t know if it will work.