Hi, Qt 5.11-12 will probably work. Qt 5.13 is not yet supported. Best, Stefan
From: Alice Little [mailto:alicemarylit...@gmail.com] Sent: Friday, September 27, 2019 12:37 AM To: mitk-users@lists.sourceforge.net Subject: [mitk-users] MITK superbuild fails - Error related to AppUtil Hello, Im attempting to build MITK on my system, but am encountering errors during the superbuild process that i do not know how to resolve. Any advice would be appreciated! System and error info included below OS: Ubuntu 18.04 Compiler: gcc 7.4.0 Qt version: 5.13.1 Superbuild, using cmake 3.15.3 Source code clone from git repository - https://github.com/MITK/MITK Followed build instructions set out in documentation - http://docs.mitk.org/2018.04/BuildInstructionsPage.html Error Output: In file included from /home/alice/Documents/MITK/Modules/AppUtil/src/QmitkSafeApplication.cpp:19:0: /home/alice/Documents/MITK/Modules/AppUtil/src/QmitkSafeNotify.h: In instantiation of ‘bool QmitkSafeNotify(A*, QObject*, QEvent*) [with A = QApplication]’: /home/alice/Documents/MITK/Modules/AppUtil/src/QmitkSafeApplication.cpp:35:61: required from here /home/alice/Documents/MITK/Modules/AppUtil/src/QmitkSafeNotify.h:53:3: error: ‘static QString QApplication::trUtf8(const char*, const char*, int)’ is deprecated [-Werror=deprecated-declarations] msgBox.addButton(app->trUtf8("Exit immediately"), QMessageBox::YesRole); ^~~~~~ In file included from /opt/Qt/5.13.1/gcc_64/include/QtCore/qobject.h:46:0, from /opt/Qt/5.13.1/gcc_64/include/QtCore/qcoreapplication.h:46, from /opt/Qt/5.13.1/gcc_64/include/QtWidgets/qapplication.h:44, from /opt/Qt/5.13.1/gcc_64/include/QtWidgets/QApplication:1, from /home/alice/Documents/MITK/Modules/AppUtil/include/QmitkSafeApplication.h:22, from /home/alice/Documents/MITK/Modules/AppUtil/src/QmitkSafeApplication.cpp:17: /opt/Qt/5.13.1/gcc_64/include/QtWidgets/qapplication.h:74:5: note: declared here Q_OBJECT ^ In file included from /home/alice/Documents/MITK/Modules/AppUtil/src/QmitkSafeApplication.cpp:19:0: /home/alice/Documents/MITK/Modules/AppUtil/src/QmitkSafeNotify.h:54:3: error: ‘static QString QApplication::trUtf8(const char*, const char*, int)’ is deprecated [-Werror=deprecated-declarations] msgBox.addButton(app->trUtf8("Ignore"), QMessageBox::NoRole); ^~~~~~ In file included from /opt/Qt/5.13.1/gcc_64/include/QtCore/qobject.h:46:0, from /opt/Qt/5.13.1/gcc_64/include/QtCore/qcoreapplication.h:46, from /opt/Qt/5.13.1/gcc_64/include/QtWidgets/qapplication.h:44, from /opt/Qt/5.13.1/gcc_64/include/QtWidgets/QApplication:1, from /home/alice/Documents/MITK/Modules/AppUtil/include/QmitkSafeApplication.h:22, from /home/alice/Documents/MITK/Modules/AppUtil/src/QmitkSafeApplication.cpp:17: /opt/Qt/5.13.1/gcc_64/include/QtWidgets/qapplication.h:74:5: note: declared here Q_OBJECT ^ cc1plus: all warnings being treated as errors Modules/AppUtil/CMakeFiles/MitkAppUtil.dir/build.make:101: recipe for target 'Modules/AppUtil/CMakeFiles/MitkAppUtil.dir/src/QmitkSafeApplication.cpp.o' failed make[5]: *** [Modules/AppUtil/CMakeFiles/MitkAppUtil.dir/src/QmitkSafeApplication.cpp.o] Error 1 CMakeFiles/Makefile2:3473: recipe for target 'Modules/AppUtil/CMakeFiles/MitkAppUtil.dir/all' failed make[4]: *** [Modules/AppUtil/CMakeFiles/MitkAppUtil.dir/all] Error 2 Makefile:162: recipe for target 'all' failed make[3]: *** [all] Error 2 CMakeFiles/MITK-build.dir/build.make:57: recipe for target 'CMakeFiles/MITK-build' failed make[2]: *** [CMakeFiles/MITK-build] Error 2 CMakeFiles/Makefile2:114: recipe for target 'CMakeFiles/MITK-build.dir/all' failed make[1]: *** [CMakeFiles/MITK-build.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2
_______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users