I also tried specifying the path of QT in .bash_profile
like this:
export PATH=“/usr/local/opt/qt5/bin:$PATH”
and setting the path in the terminal like suggested here:
export PATH=
brew --prefix
/opt/qt5/bin:$PATH
when I run ./configure
, it looks like it’s able to locate qt, but there is some other error:
…
Checking for Qt moc: moc (version 5.15.1)
Checking for Qt qmake: qmake (version 5.15.1)
Checking for Qt rcc: rcc (version 5.15.1)
Checking for Qt:
ERROR: unexpected exception of type NameError: name ‘filetext’ is not definedSee the file ‘configure.log’ for details. If this doesn’t help and you need
further assistance, please post on the MRtrix3 community forum
(http://community.mrtrix.org/), and make sure to include the full contents of
the ‘configure.log’ file.
The output of configure.log
is the following:
REPORT: Checking for Qt:
source file "qt.h":
---
#include <QObject>
class Foo: public QObject {
Q_OBJECT;
public:
Foo();
~Foo();
public slots:
void setValue(int value);
signals:
void valueChanged (int newValue);
private:
int value_;
};
---
source file "qt.cpp":
---
#include <iostream>
#include "qt.h"
Foo::Foo() : value_ (42) { connect (this, SIGNAL(valueChanged(int)), this, SLOT(setValue(int))); }
Foo::~Foo() { std::cout << qVersion() << "\n"; }
void Foo::setValue (int value) { value_ = value; }
int main() { Foo f; }
---
ERROR: unexpected exception of type NameError: name 'filetext' is not defined
See the file 'configure.log' for details. If this doesn't help and you need
further assistance, please post on the MRtrix3 community forum
(http://community.mrtrix.org/), and make sure to include the full contents of
the 'configure.log' file.
Thank you!