From 69c31b995f88a6aa3375ccbcd6760be564d8480e 2017-09-27 13:46:27 From: perrinel Date: 2017-09-27 13:46:27 Subject: [PATCH] Merge pull request #295 from SCIQLOP-Initialisation-fork nico fix meson build --- diff --git a/build_cfg/mac/install_script.sh b/build_cfg/mac/install_script.sh index cdd2cbc..ecbc9d9 100755 --- a/build_cfg/mac/install_script.sh +++ b/build_cfg/mac/install_script.sh @@ -8,4 +8,5 @@ install_name_tool -change @rpath/QtPrintSupport.framework/Versions/5/QtPrintSupp install_name_tool -change @rpath/QtGui.framework/Versions/5/QtGui @executable_path/../Frameworks/QtGui.framework/Versions/5/QtGui /tmp/SciQLOP.app/Contents/MacOS/sciqlop install_name_tool -change @rpath/QtWidgets.framework/Versions/5/QtWidgets @executable_path/../Frameworks/QtWidgets.framework/Versions/5/QtWidgets /tmp/SciQLOP.app/Contents/MacOS/sciqlop install_name_tool -change @rpath/QtNetwork.framework/Versions/5/QtNetwork @executable_path/../Frameworks/QtNetwork.framework/Versions/5/QtNetwork /tmp/SciQLOP.app/Contents/MacOS/sciqlop +install_name_tool -change @rpath/QtSvg.framework/Versions/5/QtSvg @executable_path/../Frameworks/QtSvg.framework/Versions/5/QtSvg /tmp/SciQLOP.app/Contents/MacOS/sciqlop diff --git a/gui/include/Variable/RenameVariableDialog.h b/gui/include/Variable/RenameVariableDialog.h index e3f503c..5098cd6 100644 --- a/gui/include/Variable/RenameVariableDialog.h +++ b/gui/include/Variable/RenameVariableDialog.h @@ -11,6 +11,7 @@ class RenameVariableDialog; * @brief The RenameVariableDialog class represents the dialog to rename a variable */ class RenameVariableDialog : public QDialog { + Q_OBJECT public: explicit RenameVariableDialog(const QString &defaultName, const QVector &forbiddenNames, diff --git a/gui/meson.build b/gui/meson.build index 903a518..2b1b4b2 100644 --- a/gui/meson.build +++ b/gui/meson.build @@ -7,6 +7,7 @@ gui_moc_headers = [ 'include/SqpApplication.h', 'include/TimeWidget/TimeWidget.h', 'include/Variable/VariableInspectorWidget.h', + 'include/Variable/RenameVariableDialog.h', 'include/Visualization/qcustomplot.h', 'include/Visualization/VisualizationGraphWidget.h', 'include/Visualization/VisualizationTabWidget.h', @@ -21,6 +22,7 @@ gui_ui_files = [ 'ui/SidePane/SqpSidePane.ui', 'ui/TimeWidget/TimeWidget.ui', 'ui/Variable/VariableInspectorWidget.ui', + 'ui/Variable/RenameVariableDialog.ui', 'ui/Variable/VariableMenuHeaderWidget.ui', 'ui/Visualization/VisualizationGraphWidget.ui', 'ui/Visualization/VisualizationTabWidget.ui', @@ -46,6 +48,7 @@ gui_sources = [ 'src/TimeWidget/TimeWidget.cpp', 'src/Variable/VariableInspectorWidget.cpp', 'src/Variable/VariableMenuHeaderWidget.cpp', + 'src/Variable/RenameVariableDialog.cpp', 'src/Visualization/VisualizationGraphHelper.cpp', 'src/Visualization/VisualizationGraphRenderingDelegate.cpp', 'src/Visualization/VisualizationGraphWidget.cpp',