/usr/local/Cellar/qt@5/5.15.2_1/lib/QtGui.framework/Headers/qpixmap.h:134:31: error: unknown type name 'QMatrix' QPixmap transformed(const QMatrix &, Qt::TransformationMode mode = Qt::FastTransformation) const; ^ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtGui.framework/Headers/qpixmap.h:136:12: error: unknown type name 'QMatrix' static QMatrix trueMatrix(const QMatrix &m, int w, int h); ^ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtGui.framework/Headers/qpixmap.h:136:37: error: unknown type name 'QMatrix' static QMatrix trueMatrix(const QMatrix &m, int w, int h); ^ In file included from /Users/nibir/Physics/Software/geant4-v11.0.0/source/visualization/OpenGL/src/G4OpenGLImmediateQt.cc:36: In file included from /Users/nibir/Physics/Software/geant4-v11.0.0/source/visualization/OpenGL/include/G4OpenGLImmediateQtViewer.hh:36: In file included from /Users/nibir/Physics/Software/geant4-v11.0.0/source/visualization/OpenGL/include/G4OpenGLQtViewer.hh:45: /usr/local/Cellar/qt@5/5.15.2_1/lib/QtGui.framework/Headers/qpixmap.h:134:31: error: unknown type name 'QMatrix' QPixmap transformed(const QMatrix &, Qt::TransformationMode mode = Qt::FastTransformation) const; ^ [ 97%] Building CXX object source/CMakeFiles/G4OpenGL.dir/visualization/OpenGL/src/G4OpenGLVboDrawer.cc.o /usr/local/Cellar/qt@5/5.15.2_1/lib/QtGui.framework/Headers/qpixmap.h:136:12: error: unknown type name 'QMatrix' static QMatrix trueMatrix(const QMatrix &m, int w, int h); ^ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtGui.framework/Headers/qpixmap.h:136:37: error: unknown type name 'QMatrix' static QMatrix trueMatrix(const QMatrix &m, int w, int h); ^ In file included from /Users/nibir/Physics/Software/geant4-v11.0.0/source/visualization/OpenGL/src/G4OpenGLQt.cc:33: /Users/nibir/Physics/Software/geant4-v11.0.0/source/interfaces/basic/include/G4UIQt.hh:54:7: error: definition of type 'QStringList' conflicts with type alias of the same name class QStringList; ^ /usr/local/include/QtCore/qcontainerfwd.h:64:7: note: 'QStringList' declared here using QStringList = QList; ^ In file included from /Users/nibir/Physics/Software/geant4-v11.0.0/source/visualization/OpenGL/src/G4OpenGLQtExportDialog.cc:32: /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:77:7: error: definition of type 'QStringList' conflicts with type alias of the same name class QStringList; ^ /usr/local/include/QtCore/qcontainerfwd.h:64:7: note: 'QStringList' declared here using QStringList = QList; ^ In file included from /Users/nibir/Physics/Software/geant4-v11.0.0/source/visualization/OpenGL/src/G4OpenGLQtExportDialog.cc:32: /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:164:29: error: no member named 'QRegExp' in 'QMetaType' RegExp = QMetaType::QRegExp, ~~~~~~~~~~~^ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:191:29: error: no member named 'QMatrix' in 'QMetaType' Matrix = QMetaType::QMatrix, ~~~~~~~~~~~^ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:625:5: error: no type named 'QSequentialIterableImpl' in namespace 'QtMetaTypePrivate'; did you mean 'QSequentialIterable'? QtMetaTypePrivate::QSequentialIterableImpl m_impl; ^~~~~~~~~~~~~~~~~~~ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:623:21: note: 'QSequentialIterable' declared here class Q_CORE_EXPORT QSequentialIterable ^ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:630:9: error: no type named 'QSequentialIterableImpl' in namespace 'QtMetaTypePrivate'; did you mean 'QSequentialIterable'? QtMetaTypePrivate::QSequentialIterableImpl m_impl; ^~~~~~~~~~~~~~~~~~~ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:623:21: note: 'QSequentialIterable' declared here class Q_CORE_EXPORT QSequentialIterable ^ 1 error generated. /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:635:39: error: no type named 'QSequentialIterableImpl' in namespace 'QtMetaTypePrivate'; did you mean 'QSequentialIterable'? explicit const_iterator(const QtMetaTypePrivate::QSequentialIterableImpl &impl, QAtomicInt *ref_); ^~~~~~~~~~~~~~~~~~~ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:623:21: note: 'QSequentialIterable' declared here class Q_CORE_EXPORT QSequentialIterable ^ make[2]: *** [source/CMakeFiles/G4OpenGL.dir/visualization/OpenGL/src/G4OpenGLQt.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... 3 errors generated. /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:665:40: error: no type named 'QSequentialIterableImpl' in namespace 'QtMetaTypePrivate'; did you mean 'QSequentialIterable'? explicit QSequentialIterable(const QtMetaTypePrivate::QSequentialIterableImpl &impl); ^~~~~~~~~~~~~~~~~~~ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:623:21: note: 'QSequentialIterable' declared here class Q_CORE_EXPORT QSequentialIterable ^ make[2]: *** [source/CMakeFiles/G4OpenGL.dir/visualization/OpenGL/src/G4OpenGLImmediateQt.cc.o] Error 1 /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:679:5: error: no type named 'QAssociativeIterableImpl' in namespace 'QtMetaTypePrivate'; did you mean 'QAssociativeIterable'? QtMetaTypePrivate::QAssociativeIterableImpl m_impl; ^~~~~~~~~~~~~~~~~~~ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:677:21: note: 'QAssociativeIterable' declared here class Q_CORE_EXPORT QAssociativeIterable ^ [ 97%] Building CXX object source/CMakeFiles/G4physicslists.dir/physics_lists/constructors/hadron_elastic/src/G4HadronElasticPhysicsHP.cc.o /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:684:9: error: no type named 'QAssociativeIterableImpl' in namespace 'QtMetaTypePrivate'; did you mean 'QAssociativeIterable'? QtMetaTypePrivate::QAssociativeIterableImpl m_impl; ^~~~~~~~~~~~~~~~~~~ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:677:21: note: 'QAssociativeIterable' declared here class Q_CORE_EXPORT QAssociativeIterable ^ [ 97%] Building CXX object source/CMakeFiles/G4physicslists.dir/physics_lists/constructors/hadron_elastic/src/G4HadronElasticPhysicsLEND.cc.o /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:689:39: error: no type named 'QAssociativeIterableImpl' in namespace 'QtMetaTypePrivate'; did you mean 'QAssociativeIterable'? explicit const_iterator(const QtMetaTypePrivate::QAssociativeIterableImpl &impl, QAtomicInt *ref_); ^~~~~~~~~~~~~~~~~~~ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:677:21: note: 'QAssociativeIterable' declared here class Q_CORE_EXPORT QAssociativeIterable ^ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:723:41: error: no type named 'QAssociativeIterableImpl' in namespace 'QtMetaTypePrivate'; did you mean 'QAssociativeIterable'? explicit QAssociativeIterable(const QtMetaTypePrivate::QAssociativeIterableImpl &impl); ^~~~~~~~~~~~~~~~~~~ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:677:21: note: 'QAssociativeIterable' declared here class Q_CORE_EXPORT QAssociativeIterable ^ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:772:63: error: no member named 'QSequentialIterableImpl' in namespace 'QtMetaTypePrivate' return QSequentialIterable(QtMetaTypePrivate::QSequentialIterableImpl(reinterpret_cast(v.constData()))); ~~~~~~~~~~~~~~~~~~~^ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:775:63: error: no member named 'QSequentialIterableImpl' in namespace 'QtMetaTypePrivate' return QSequentialIterable(QtMetaTypePrivate::QSequentialIterableImpl(reinterpret_cast(v.constData()))); ~~~~~~~~~~~~~~~~~~~^ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:779:63: error: no member named 'QSequentialIterableImpl' in namespace 'QtMetaTypePrivate' return QSequentialIterable(QtMetaTypePrivate::QSequentialIterableImpl(reinterpret_cast(v.constData()))); ~~~~~~~~~~~~~~~~~~~^ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:782:73: error: no member named 'QSequentialIterableImpl' in namespace 'QtMetaTypePrivate' return QSequentialIterable(qvariant_cast(v)); ~~~~~~~~~~~~~~~~~~~^ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:792:64: error: no member named 'QAssociativeIterableImpl' in namespace 'QtMetaTypePrivate' return QAssociativeIterable(QtMetaTypePrivate::QAssociativeIterableImpl(reinterpret_cast(v.constData()))); ~~~~~~~~~~~~~~~~~~~^ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:795:64: error: no member named 'QAssociativeIterableImpl' in namespace 'QtMetaTypePrivate' return QAssociativeIterable(QtMetaTypePrivate::QAssociativeIterableImpl(reinterpret_cast(v.constData()))); ~~~~~~~~~~~~~~~~~~~^ 3 errors generated. /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:797:74: error: no member named 'QAssociativeIterableImpl' in namespace 'QtMetaTypePrivate' return QAssociativeIterable(qvariant_cast(v)); ~~~~~~~~~~~~~~~~~~~^ make[2]: *** [source/CMakeFiles/G4OpenGL.dir/visualization/OpenGL/src/G4OpenGLImmediateQtViewer.cc.o] Error 1 /usr/local/Cellar/qt@5/5.15.2_1/lib/QtCore.framework/Headers/qvariant.h:807:99: error: no member named 'QSequentialIterableImpl' in namespace 'QtMetaTypePrivate' (QMetaType::hasRegisteredConverterFunction(typeId, qMetaTypeId()) && !QMetaType::hasRegisteredConverterFunction(typeId, qMetaTypeId()))) { ~~~~~~~~~~~~~~~~~~~^ fatal error: too many errors emitted, stopping now [-ferror-limit=] [ 97%] Building CXX object source/CMakeFiles/G4physicslists.dir/physics_lists/constructors/hadron_elastic/src/G4HadronElasticPhysicsXS.cc.o 20 errors generated. make[2]: *** [source/CMakeFiles/G4OpenGL.dir/visualization/OpenGL/src/G4OpenGLQtExportDialog.cc.o] Error 1 [ 97%] Building CXX object source/CMakeFiles/G4physicslists.dir/physics_lists/constructors/hadron_elastic/src/G4HadronHElasticPhysics.cc.o In file included from /Users/nibir/Physics/Software/geant4-v11.0.0/source/visualization/OpenGL/src/G4OpenGLQtMovieDialog.cc:30: In file included from /Users/nibir/Physics/Software/geant4-v11.0.0/source/visualization/OpenGL/include/G4OpenGLQtViewer.hh:45: /usr/local/Cellar/qt@5/5.15.2_1/lib/QtGui.framework/Headers/qpixmap.h:134:31: error: unknown type name 'QMatrix' QPixmap transformed(const QMatrix &, Qt::TransformationMode mode = Qt::FastTransformation) const; ^ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtGui.framework/Headers/qpixmap.h:136:12: error: unknown type name 'QMatrix' static QMatrix trueMatrix(const QMatrix &m, int w, int h); ^ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtGui.framework/Headers/qpixmap.h:136:37: error: unknown type name 'QMatrix' static QMatrix trueMatrix(const QMatrix &m, int w, int h); ^ In file included from /Users/nibir/Physics/Software/geant4-v11.0.0/source/visualization/OpenGL/src/G4OpenGLQtMovieDialog.cc:38: /usr/local/Cellar/qt@5/5.15.2_1/lib/QtWidgets.framework/Headers/qlayout.h:129:5: error: unknown type name 'QT6_VIRTUAL' QT6_VIRTUAL int indexOf(QLayoutItem *) const; ^ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtWidgets.framework/Headers/qlayout.h:134:5: error: unknown type name 'QT6_VIRTUAL' QT6_VIRTUAL QLayoutItem *replaceWidget(QWidget *from, QWidget *to, ^ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtWidgets.framework/Headers/qlayout.h:134:28: error: expected ';' at end of declaration list QT6_VIRTUAL QLayoutItem *replaceWidget(QWidget *from, QWidget *to, ^ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtWidgets.framework/Headers/qlayout.h:163:41: error: must use 'class' tag to refer to type 'QLayoutItem' in this scope static void activateRecursiveHelper(QLayoutItem *item); ^ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtWidgets.framework/Headers/qlayout.h:134:17: note: class 'QLayoutItem' is hidden by a non-type declaration of 'QLayoutItem' here QT6_VIRTUAL QLayoutItem *replaceWidget(QWidget *from, QWidget *to, ^ In file included from /Users/nibir/Physics/Software/geant4-v11.0.0/source/visualization/OpenGL/src/G4OpenGLQtMovieDialog.cc:38: In file included from /usr/local/Cellar/qt@5/5.15.2_1/lib/QtWidgets.framework/Headers/qlayout.h:173: /usr/local/include/QtWidgets/qboxlayout.h:77:18: error: must use 'class' tag to refer to type 'QLayoutItem' in this scope void addItem(QLayoutItem *) override; ^ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtWidgets.framework/Headers/qlayout.h:134:17: note: class 'QLayoutItem' is hidden by a non-type declaration of 'QLayoutItem' here QT6_VIRTUAL QLayoutItem *replaceWidget(QWidget *from, QWidget *to, ^ In file included from /Users/nibir/Physics/Software/geant4-v11.0.0/source/visualization/OpenGL/src/G4OpenGLQtMovieDialog.cc:38: In file included from /usr/local/Cellar/qt@5/5.15.2_1/lib/QtWidgets.framework/Headers/qlayout.h:173: /usr/local/include/QtWidgets/qboxlayout.h:84:32: error: must use 'class' tag to refer to type 'QLayoutItem' in this scope void insertItem(int index, QLayoutItem *); ^ /usr/local/Cellar/qt@5/5.15.2_1/lib/QtWidgets.framework/Headers/qlayout.h:134:17: note: class 'QLayoutItem' is hidden by a non-type declaration of 'QLayoutItem' here QT6_VIRTUAL QLayoutItem *replaceWidget(QWidget *from, QWidget *to, ^ In file included from /Users/nibir/Physics/Software/geant4-v11.0.0/source/visualization/OpenGL/src/G4OpenGLQtMovieDialog.cc:38: In file included from /usr/local/Cellar/qt@5/5.15.2_1/lib/QtWidgets.framework/Headers/qlayout.h:173: /usr/local/include/QtWidgets/qboxlayout.h:86:25: