Hi! I am getting started with Geant4 for the first time, and I wish to run Geant4 using Qt5. I do however get the error message posted below. I downloaded Qt5 with the Online installer on their website, version 5.1.15. From the information on the website, this should work for arm64. The error did not appear until I set GEANT4_USE_QT=ON. Before this, it worked. How would you get Geant4 to link with Qt5 on Apple Silicon?
The error:
“operator==(QString const&, QString const&)”, referenced from:
G4UIQt::ChangeCursorAction(QString const&) in G4UIQt.cc.o
G4UIQt::ChangeSurfaceStyle(QString const&) in G4UIQt.cc.o
G4UIQt::ChangePerspectiveOrtho(QString const&) in G4UIQt.cc.o
G4UIQt::AddIcon(char const*, char const*, char const*, char const*) in G4UIQt.cc.o
G4UIQt::FindTreeItem(QTreeWidgetItem*, QString const&) in G4UIQt.cc.o
G4UIQt::CreateVisCommandGroupAndToolBox(G4UIcommand*, QWidget*, int, bool) in G4UIQt.cc.o
G4UIQt::CreateCommandWidget(G4UIcommand*, QWidget*, bool) in G4UIQt.cc.o
…
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)