../sources/main.cpp: In function ‘int main(int, char**)’: ../sources/main.cpp:220:6: warning: ignoring return value of ‘auto QtConcurrent::run(Function&&, Args&& ...) [with Function = main(int, char**)::; Args = {}]’, declared with attribute ‘nodiscard’ [-Wunused-result] 220 | }); | ^ In file included from ../../Qt/6.2.4/gcc_64/include/QtConcurrent/QtConcurrent:14, from ../sources/main.cpp:26: ../../Qt/6.2.4/gcc_64/include/QtConcurrent/qtconcurrentrun.h:97:6: note: declared here 97 | auto run(Function &&f, Args &&...args) | ^~~ In file included from ../sources/TerminalStrip/ui/terminalstripeditor.h:23, from ../sources/qetdiagrameditor.cpp:45: ../sources/TerminalStrip/ui/terminalstripmodel.h: In function ‘uint qHash(const QColor&, uint)’: ../sources/TerminalStrip/ui/terminalstripmodel.h:33:31: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 33 | return qHash(key.name(), seed); | ^ In file included from ../../Qt/6.2.4/gcc_64/include/QtCore/qlist.h:46, from ../../Qt/6.2.4/gcc_64/include/QtCore/qobject.h:49, from ../../Qt/6.2.4/gcc_64/include/QtCore/qabstractanimation.h:43, from ../../Qt/6.2.4/gcc_64/include/QtCore/qvariantanimation.h:43, from ../../Qt/6.2.4/gcc_64/include/QtCore/qpropertyanimation.h:43, from ../../Qt/6.2.4/gcc_64/include/QtCore/QPropertyAnimation:1, from ../sources/SearchAndReplace/ui/../../QWidgetAnimation/qwidgetanimation.h:21, from ../sources/SearchAndReplace/ui/searchandreplacewidget.h:21, from ../sources/qetdiagrameditor.h:21, from ../sources/qetdiagrameditor.cpp:18: ../../Qt/6.2.4/gcc_64/include/QtCore/qhashfunctions.h:189:36: note: candidate 1: ‘size_t qHash(const QString&, size_t)’ 189 | inline Q_DECL_PURE_FUNCTION size_t qHash(const QString &key, size_t seed = 0) noexcept | ^~~~~ In file included from ../sources/TerminalStrip/ui/terminalstripeditor.h:23, from ../sources/qetdiagrameditor.cpp:45: ../sources/TerminalStrip/ui/terminalstripmodel.h:32:13: note: candidate 2: ‘uint qHash(const QColor&, uint)’ 32 | inline uint qHash(const QColor &key, uint seed) { | ^~~~~ ../sources/qetxml.cpp: In function ‘bool QETXML::validXmlProperty(const QDomElement&)’: ../sources/qetxml.cpp:917:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 917 | if (!e.hasAttribute("value")) | ^~ ../sources/qetxml.cpp:920:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 920 | return true; | ^~~~~~ In file included from ../sources/titleblock/qettemplateeditor.h:23, from ../sources/titleblock/qettemplateeditor.cpp:18: ../sources/titleblock/templateview.h:118:14: error: ‘QGraphicsLayoutItem’ has not been declared 118 | int indexOf(QGraphicsLayoutItem *); | ^~~~~~~~~~~~~~~~~~~ ../sources/titleblock/templateview.h:119:18: error: ‘QGraphicsLayoutItem’ has not been declared 119 | void removeItem(QGraphicsLayoutItem *); | ^~~~~~~~~~~~~~~~~~~ ../sources/titleblock/templateview.h:131:2: error: ‘QGraphicsGridLayout’ does not name a type; did you mean ‘QGraphicsWidget’? 131 | QGraphicsGridLayout *tbgrid_; | ^~~~~~~~~~~~~~~~~~~ | QGraphicsWidget make[1]: *** [Makefile.Release:37245 : release/qettemplateeditor.o] Erreur 1 make[1]: *** Attente des tâches non terminées.... In file included from ../sources/titleblock/templateview.cpp:18: ../sources/titleblock/templateview.h:118:14: error: ‘QGraphicsLayoutItem’ has not been declared 118 | int indexOf(QGraphicsLayoutItem *); | ^~~~~~~~~~~~~~~~~~~ ../sources/titleblock/templateview.h:119:18: error: ‘QGraphicsLayoutItem’ has not been declared 119 | void removeItem(QGraphicsLayoutItem *); | ^~~~~~~~~~~~~~~~~~~ ../sources/titleblock/templateview.h:131:2: error: ‘QGraphicsGridLayout’ does not name a type; did you mean ‘QGraphicsWidget’? 131 | QGraphicsGridLayout *tbgrid_; | ^~~~~~~~~~~~~~~~~~~ | QGraphicsWidget ../sources/titleblock/templateview.cpp: In constructor ‘TitleBlockTemplateView::TitleBlockTemplateView(QWidget*)’: ../sources/titleblock/templateview.cpp:44:2: error: class ‘TitleBlockTemplateView’ does not have any field named ‘tbgrid_’ 44 | tbgrid_(nullptr), | ^~~~~~~ ../sources/titleblock/templateview.cpp: In constructor ‘TitleBlockTemplateView::TitleBlockTemplateView(QGraphicsScene*, QWidget*)’: ../sources/titleblock/templateview.cpp:64:2: error: class ‘TitleBlockTemplateView’ does not have any field named ‘tbgrid_’ 64 | tbgrid_(nullptr), | ^~~~~~~ ../sources/titleblock/templateview.cpp: In member function ‘virtual void TitleBlockTemplateView::applyColumnsWidths(bool)’: ../sources/titleblock/templateview.cpp:610:2: error: ‘tbgrid_’ was not declared in this scope 610 | tbgrid_ -> setColumnFixedWidth(0, DEFAULT_ROWS_HELPER_CELLS_WIDTH); | ^~~~~~~ ../sources/titleblock/templateview.cpp:640:13: error: cannot convert ‘HelperCell*’ to ‘int*’ 640 | removeItem(extra_cells_width_helper_cell_); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | HelperCell* In file included from ../sources/titleblock/templateview.cpp:18: ../sources/titleblock/templateview.h:119:18: note: initializing argument 1 of ‘void TitleBlockTemplateView::removeItem(int*)’ 119 | void removeItem(QGraphicsLayoutItem *); | ^~~~~~~~~~~~~~~~~~~~~ ../sources/titleblock/templateview.cpp: In member function ‘virtual void TitleBlockTemplateView::applyRowsHeights(bool)’: ../sources/titleblock/templateview.cpp:675:2: error: ‘tbgrid_’ was not declared in this scope 675 | tbgrid_ -> setRowFixedHeight(0, DEFAULT_PREVIEW_HELPER_CELL_HEIGHT); | ^~~~~~~ ../sources/titleblock/templateview.cpp: In member function ‘virtual void TitleBlockTemplateView::updateRowsHelperCells()’: ../sources/titleblock/templateview.cpp:711:60: error: ‘tbgrid_’ was not declared in this scope 711 | HelperCell *current_row_cell = static_cast(tbgrid_ -> itemAt(ROW_OFFSET + i, 0)); | ^~~~~~~ ../sources/titleblock/templateview.cpp: In member function ‘virtual void TitleBlockTemplateView::updateColumnsHelperCells()’: ../sources/titleblock/templateview.cpp:727:60: error: ‘tbgrid_’ was not declared in this scope 727 | HelperCell *current_col_cell = static_cast(tbgrid_ -> itemAt(1, COL_OFFSET + i)); | ^~~~~~~ ../sources/titleblock/templateview.cpp: In member function ‘virtual void TitleBlockTemplateView::addCells()’: ../sources/titleblock/templateview.cpp:754:2: error: ‘tbgrid_’ was not declared in this scope 754 | tbgrid_ -> addItem(total_width_helper_cell_, 0, COL_OFFSET, 1, col_count); | ^~~~~~~ ../sources/titleblock/templateview.cpp: In member function ‘void TitleBlockTemplateView::refresh()’: ../sources/titleblock/templateview.cpp:822:36: error: ‘tbgrid_’ was not declared in this scope 822 | if (QGraphicsLayoutItem *item = tbgrid_ -> itemAt(ROW_OFFSET + j, COL_OFFSET + i)) { | ^~~~~~~ ../sources/titleblock/templateview.cpp: In member function ‘virtual void TitleBlockTemplateView::fillWithEmptyCells()’: ../sources/titleblock/templateview.cpp:856:8: error: ‘tbgrid_’ was not declared in this scope 856 | if (tbgrid_ -> itemAt(ROW_OFFSET + j, COL_OFFSET + i)) continue; | ^~~~~~~ ../sources/titleblock/templateview.cpp:862:4: error: ‘tbgrid_’ was not declared in this scope 862 | tbgrid_ -> addItem(cell_item, ROW_OFFSET + j, COL_OFFSET + i); | ^~~~~~~ ../sources/titleblock/templateview.cpp: In member function ‘virtual void TitleBlockTemplateView::loadTemplate(TitleBlockTemplate*)’: ../sources/titleblock/templateview.cpp:911:6: error: ‘tbgrid_’ was not declared in this scope 911 | if (tbgrid_) { | ^~~~~~~ ../sources/titleblock/templateview.cpp:924:2: error: ‘tbgrid_’ was not declared in this scope 924 | tbgrid_ = new QGraphicsGridLayout(); | ^~~~~~~ ../sources/titleblock/templateview.cpp: In member function ‘void TitleBlockTemplateView::setPreviewWidth(int)’: ../sources/titleblock/templateview.cpp:1051:6: error: ‘tbgrid_’ was not declared in this scope 1051 | if (tbgrid_) { | ^~~~~~~ ../sources/titleblock/templateview.cpp: At global scope: ../sources/titleblock/templateview.cpp:1102:5: error: no declaration matches ‘int TitleBlockTemplateView::indexOf(QGraphicsLayoutItem*)’ 1102 | int TitleBlockTemplateView::indexOf(QGraphicsLayoutItem *item) { | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../sources/titleblock/templateview.cpp:18: ../sources/titleblock/templateview.h:118:6: note: candidate is: ‘int TitleBlockTemplateView::indexOf(int*)’ 118 | int indexOf(QGraphicsLayoutItem *); | ^~~~~~~ ../sources/titleblock/templateview.h:33:7: note: ‘class TitleBlockTemplateView’ defined here 33 | class TitleBlockTemplateView : public QGraphicsView { | ^~~~~~~~~~~~~~~~~~~~~~ ../sources/titleblock/templateview.cpp:1113:6: error: no declaration matches ‘void TitleBlockTemplateView::removeItem(QGraphicsLayoutItem*)’ 1113 | void TitleBlockTemplateView::removeItem(QGraphicsLayoutItem *item) { | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../sources/titleblock/templateview.cpp:18: ../sources/titleblock/templateview.h:119:7: note: candidate is: ‘void TitleBlockTemplateView::removeItem(int*)’ 119 | void removeItem(QGraphicsLayoutItem *); | ^~~~~~~~~~ ../sources/titleblock/templateview.h:33:7: note: ‘class TitleBlockTemplateView’ defined here 33 | class TitleBlockTemplateView : public QGraphicsView { | ^~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile.Release:39025 : release/templateview.o] Erreur 1 make: *** [Makefile:42 : release] Erreur 2