Topic: fix deprecated warning int QWheelEvent::delta() break macOS build

2 errors generated.
make: *** [release/diagramview.o] Error 1
make: *** Waiting for unfinished jobs....
sources/createdxf.cpp:1041:15: warning: unused function 'scaleRect'
      [-Wunused-function]
static QRectF scaleRect(QRectF rect)
              ^
In file included from sources/qetapp.cpp:33:
sources/projectview.h:46:21: error: no member named 'delta' in 'QWheelEvent'
                                        delta = event->delta() * scale_fa...
                                                ~~~~~  ^
sources/projectview.h:51:83: error: no member named 'delta' in 'QWheelEvent'
  ...<< index << "temp_index" << temp_index << "  " << event->delta() << delta;
                                                       ~~~~~  ^
In file included from sources/qetmainwindow.cpp:29:
sources/projectview.h:46:21: error: no member named 'delta' in 'QWheelEvent'
                                        delta = event->delta() * scale_fa...
                                                ~~~~~  ^
sources/projectview.h:51:83: error: no member named 'delta' in 'QWheelEvent'
  ...<< index << "temp_index" << temp_index << "  " << event->delta() << delta;
                                                       ~~~~~  ^
In file included from sources/qetdiagrameditor.cpp:29:
In file included from sources/autoNum/ui/autonumberingdockwidget.h:22:
sources/projectview.h:46:21: error: no member named 'delta' in 'QWheelEvent'
                                        delta = event->delta() * scale_fa...
                                                ~~~~~  ^
sources/projectview.h:51:83: error: no member named 'delta' in 'QWheelEvent'
  ...<< index << "temp_index" << temp_index << "  " << event->delta() << delta;
                                                       ~~~~~  ^
sources/qetapp.cpp:1497:9: warning: @TODO Segmentation fault when closing program
      before loading elements is finished [-W#pragma-messages]
#pragma message("@TODO Segmentation fault when closing program before loa...
        ^
2 errors generated.
make: *** [release/projectview.o] Error 1

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: fix deprecated warning int QWheelEvent::delta() break macOS build

Can't build on Debian Buster chroot : https://packages.debian.org/buster/qt5-default
qt5-default (5.11.3+dfsg1-1+deb10u3)

In file included from sources/main.cpp:18:
sources/qetapp.h:202:3: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
   QSignalMapper signal_map;
   ^~~~~~~~~~~~~
   QWidgetMapper
In file included from sources/diagramposition.cpp:19:
sources/qetapp.h:202:3: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
   QSignalMapper signal_map;
   ^~~~~~~~~~~~~
   QWidgetMapper
sources/elementscollectioncache.cpp: In constructor 'ElementsCollectionCache::ElementsCollectionCache(const QString&, QObject*)':
sources/elementscollectioncache.cpp:56:62: note: #pragma message: @TODO remove this code for qet 0.6 or later
#pragma message("@TODO remove this code for qet 0.6 or later")
                                                              ^
In file included from sources/elementtextpattern.cpp:19:
sources/qetapp.h:202:3: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
   QSignalMapper signal_map;
   ^~~~~~~~~~~~~
   QWidgetMapper
In file included from sources/qetapp.cpp:18:
sources/qetapp.h:202:3: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
   QSignalMapper signal_map;
   ^~~~~~~~~~~~~
   QWidgetMapper
In file included from sources/elementdialog.cpp:26:
sources/qetapp.h:202:3: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
   QSignalMapper signal_map;
   ^~~~~~~~~~~~~
   QWidgetMapper
make[2]: *** [Makefile.Release:4336: release/diagramposition.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile.Release:4820: release/main.o] Error 1
In file included from sources/elementspanel.cpp:19:
sources/qetapp.h:202:3: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
   QSignalMapper signal_map;
   ^~~~~~~~~~~~~
   QWidgetMapper
In file included from sources/qetdiagrameditor.cpp:18:
sources/qetdiagrameditor.h:211:3: error: 'QSignalMapper' does not name a type; did you mean 'QSignalBlocker'?
   QSignalMapper windowMapper;
   ^~~~~~~~~~~~~
   QSignalBlocker
In file included from sources/conductorautonumerotation.cpp:20:
sources/qetdiagrameditor.h:211:3: error: 'QSignalMapper' does not name a type; did you mean 'QSignalBlocker'?
   QSignalMapper windowMapper;
   ^~~~~~~~~~~~~
   QSignalBlocker
In file included from sources/qetdiagrameditor.cpp:21:
sources/recentfiles.h:66:2: error: 'QSignalMapper' does not name a type; did you mean 'QSignalBlocker'?
  QSignalMapper *mapper_;
  ^~~~~~~~~~~~~
  QSignalBlocker
make[2]: *** [Makefile.Release:4472: release/elementdialog.o] Error 1
In file included from sources/qetapp.cpp:21:
sources/qetdiagrameditor.h:211:3: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
   QSignalMapper windowMapper;
   ^~~~~~~~~~~~~
   QWidgetMapper
In file included from sources/qetapp.cpp:28:
sources/recentfiles.h:66:2: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
  QSignalMapper *mapper_;
  ^~~~~~~~~~~~~
  QWidgetMapper
sources/qetapp.cpp: In constructor 'QETApp::QETApp()':
sources/qetapp.cpp:89:11: error: 'signal_map' was not declared in this scope
  connect(&signal_map, SIGNAL(mapped(QWidget *)),
           ^~~~~~~~~~
sources/qetapp.cpp:89:11: note: suggested alternative: 'signals'
  connect(&signal_map, SIGNAL(mapped(QWidget *)),
           ^~~~~~~~~~
           signals
sources/qetapp.cpp: In member function 'void QETApp::quitQET()':
sources/qetapp.cpp:1497:100: note: #pragma message: @TODO Segmentation fault when closing program before loading elements is finished
#pragma message("@TODO Segmentation fault when closing program before loading elements is finished")
                                                                                                    ^
sources/qetapp.cpp: In member function 'void QETApp::addWindowsListToMenu(QMenu*, const QList<T*>&)':
sources/qetapp.cpp:2092:47: error: 'signal_map' was not declared in this scope
   connect(current_menu, SIGNAL(triggered()), &signal_map, SLOT(map()));
                                               ^~~~~~~~~~
sources/qetapp.cpp:2092:47: note: suggested alternative: 'signals'
   connect(current_menu, SIGNAL(triggered()), &signal_map, SLOT(map()));
                                               ^~~~~~~~~~
                                               signals
In file included from sources/genericpanel.cpp:25:
sources/qetapp.h:202:3: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
   QSignalMapper signal_map;
   ^~~~~~~~~~~~~
   QWidgetMapper
In file included from sources/qetgraphicsitem/ViewItem/qetgraphicstableitem.h:24,
                 from sources/elementprovider.cpp:22:
sources/qetapp.h:202:3: error: 'QSignalMapper' does not name a type; did you mean 'QSignalBlocker'?
   QSignalMapper signal_map;
   ^~~~~~~~~~~~~
   QSignalBlocker
In file included from sources/configpages.cpp:35:
sources/qetapp.h:202:3: error: 'QSignalMapper' does not name a type; did you mean 'QSignalBlocker'?
   QSignalMapper signal_map;
   ^~~~~~~~~~~~~
   QSignalBlocker
In file included from sources/configdialog.cpp:21:
sources/qetapp.h:202:3: error: 'QSignalMapper' does not name a type; did you mean 'QSignalBlocker'?
   QSignalMapper signal_map;
   ^~~~~~~~~~~~~
   QSignalBlocker
In file included from sources/bordertitleblock.cpp:26:
sources/qetapp.h:202:3: error: 'QSignalMapper' does not name a type; did you mean 'QSignalBlocker'?
   QSignalMapper signal_map;
   ^~~~~~~~~~~~~
   QSignalBlocker
In file included from sources/diagramview.cpp:31:
sources/qetdiagrameditor.h:211:3: error: 'QSignalMapper' does not name a type; did you mean 'QSignalBlocker'?
   QSignalMapper windowMapper;
   ^~~~~~~~~~~~~
   QSignalBlocker
In file included from sources/createdxf.cpp:23:
sources/exportdialog.h:75:2: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
  QSignalMapper *preview_mapper_;
  ^~~~~~~~~~~~~
  QWidgetMapper
In file included from sources/qetgraphicsitem/ViewItem/qetgraphicstableitem.h:24,
                 from sources/diagramcontent.cpp:30:
sources/qetapp.h:202:3: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
   QSignalMapper signal_map;
   ^~~~~~~~~~~~~
   QWidgetMapper
sources/exportdialog.h:76:2: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
  QSignalMapper *width_mapper_;
  ^~~~~~~~~~~~~
  QWidgetMapper
In file included from sources/projectview.cpp:23:
sources/exportdialog.h:75:2: error: 'QSignalMapper' does not name a type; did you mean 'QSignalBlocker'?
  QSignalMapper *preview_mapper_;
  ^~~~~~~~~~~~~
  QSignalBlocker
sources/exportdialog.h:77:2: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
  QSignalMapper *height_mapper_;
  ^~~~~~~~~~~~~
  QWidgetMapper
In file included from sources/elementspanelwidget.cpp:21:
sources/qetapp.h:202:3: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
   QSignalMapper signal_map;
   ^~~~~~~~~~~~~
   QWidgetMapper
sources/exportdialog.h:76:2: error: 'QSignalMapper' does not name a type; did you mean 'QSignalBlocker'?
  QSignalMapper *width_mapper_;
  ^~~~~~~~~~~~~
  QSignalBlocker
sources/exportdialog.h:78:2: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
  QSignalMapper *ratio_mapper_;
  ^~~~~~~~~~~~~
  QWidgetMapper
sources/exportdialog.h:77:2: error: 'QSignalMapper' does not name a type; did you mean 'QSignalBlocker'?
  QSignalMapper *height_mapper_;
  ^~~~~~~~~~~~~
  QSignalBlocker
sources/exportdialog.h:79:2: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
  QSignalMapper *reset_mapper_;
  ^~~~~~~~~~~~~
  QWidgetMapper
sources/exportdialog.h:80:2: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
  QSignalMapper *clipboard_mapper_;
  ^~~~~~~~~~~~~
  QWidgetMapper
sources/exportdialog.h:78:2: error: 'QSignalMapper' does not name a type; did you mean 'QSignalBlocker'?
  QSignalMapper *ratio_mapper_;
  ^~~~~~~~~~~~~
  QSignalBlocker
In file included from sources/exportdialog.cpp:18:
sources/exportdialog.h:75:2: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
  QSignalMapper *preview_mapper_;
  ^~~~~~~~~~~~~
  QWidgetMapper
sources/exportdialog.h:79:2: error: 'QSignalMapper' does not name a type; did you mean 'QSignalBlocker'?
  QSignalMapper *reset_mapper_;
  ^~~~~~~~~~~~~
  QSignalBlocker
sources/exportdialog.h:76:2: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
  QSignalMapper *width_mapper_;
  ^~~~~~~~~~~~~
  QWidgetMapper
sources/exportdialog.h:80:2: error: 'QSignalMapper' does not name a type; did you mean 'QSignalBlocker'?
  QSignalMapper *clipboard_mapper_;
  ^~~~~~~~~~~~~
  QSignalBlocker
sources/exportdialog.h:77:2: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
  QSignalMapper *height_mapper_;
  ^~~~~~~~~~~~~
  QWidgetMapper
In file included from sources/projectview.cpp:24:
sources/qetapp.h:202:3: error: 'QSignalMapper' does not name a type; did you mean 'QSignalBlocker'?
   QSignalMapper signal_map;
   ^~~~~~~~~~~~~
   QSignalBlocker
sources/exportdialog.h:78:2: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
  QSignalMapper *ratio_mapper_;
  ^~~~~~~~~~~~~
  QWidgetMapper
sources/exportdialog.h:79:2: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
  QSignalMapper *reset_mapper_;
  ^~~~~~~~~~~~~
  QWidgetMapper
sources/exportdialog.h:80:2: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
  QSignalMapper *clipboard_mapper_;
  ^~~~~~~~~~~~~
  QWidgetMapper
In file included from sources/qetgraphicsitem/ViewItem/qetgraphicstableitem.h:24,
                 from sources/qetdiagrameditor.cpp:38:
sources/qetapp.h:202:3: error: 'QSignalMapper' does not name a type; did you mean 'QSignalBlocker'?
   QSignalMapper signal_map;
   ^~~~~~~~~~~~~
   QSignalBlocker
sources/qetdiagrameditor.cpp: In constructor 'QETDiagramEditor::QETDiagramEditor(const QStringList&, QWidget*)':
sources/qetdiagrameditor.cpp:87:11: error: 'windowMapper' was not declared in this scope
  connect(&windowMapper, SIGNAL(mapped(QWidget *)), this, SLOT(activateWidget(QWidget *)));
           ^~~~~~~~~~~~
make[2]: *** [Makefile.Release:4682: release/elementtextpattern.o] Error 1
In file included from sources/qetgraphicsitem/ViewItem/qetgraphicstableitem.h:24,
                 from sources/exportdialog.cpp:34:
sources/qetapp.h:202:3: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
   QSignalMapper signal_map;
   ^~~~~~~~~~~~~
   QWidgetMapper
sources/qetdiagrameditor.cpp:87:11: note: suggested alternative: 'windowType'
  connect(&windowMapper, SIGNAL(mapped(QWidget *)), this, SLOT(activateWidget(QWidget *)));
           ^~~~~~~~~~~~
           windowType
In file included from sources/diagram.cpp:27:
sources/exportdialog.h:75:2: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
  QSignalMapper *preview_mapper_;
  ^~~~~~~~~~~~~
  QWidgetMapper
sources/exportdialog.h:76:2: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
  QSignalMapper *width_mapper_;
  ^~~~~~~~~~~~~
  QWidgetMapper
sources/exportdialog.cpp: In member function 'QWidget* ExportDialog::initDiagramsListPart()':
sources/exportdialog.cpp:134:2: error: 'preview_mapper_' was not declared in this scope
  preview_mapper_   = new QSignalMapper(this);
  ^~~~~~~~~~~~~~~
sources/exportdialog.h:77:2: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
  QSignalMapper *height_mapper_;
  ^~~~~~~~~~~~~
  QWidgetMapper
sources/exportdialog.h:78:2: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
  QSignalMapper *ratio_mapper_;
  ^~~~~~~~~~~~~
  QWidgetMapper
sources/exportdialog.cpp:134:26: error: expected type-specifier before 'QSignalMapper'
  preview_mapper_   = new QSignalMapper(this);
                          ^~~~~~~~~~~~~
sources/exportdialog.cpp:135:2: error: 'width_mapper_' was not declared in this scope
  width_mapper_     = new QSignalMapper(this);
  ^~~~~~~~~~~~~
sources/exportdialog.h:79:2: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
  QSignalMapper *reset_mapper_;
  ^~~~~~~~~~~~~
  QWidgetMapper
sources/exportdialog.cpp:135:26: error: expected type-specifier before 'QSignalMapper'
  width_mapper_     = new QSignalMapper(this);
                          ^~~~~~~~~~~~~
sources/exportdialog.cpp:136:2: error: 'height_mapper_' was not declared in this scope
  height_mapper_    = new QSignalMapper(this);
  ^~~~~~~~~~~~~~
sources/exportdialog.h:80:2: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
  QSignalMapper *clipboard_mapper_;
  ^~~~~~~~~~~~~
  QWidgetMapper
sources/exportdialog.cpp:136:2: note: suggested alternative: 'QWidgetMapper'
  height_mapper_    = new QSignalMapper(this);
  ^~~~~~~~~~~~~~
  QWidgetMapper
sources/exportdialog.cpp:136:26: error: expected type-specifier before 'QSignalMapper'
  height_mapper_    = new QSignalMapper(this);
                          ^~~~~~~~~~~~~
sources/exportdialog.cpp:137:2: error: 'ratio_mapper_' was not declared in this scope
  ratio_mapper_     = new QSignalMapper(this);
  ^~~~~~~~~~~~~
In file included from sources/diagram.cpp:33:
sources/qetapp.h:202:3: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
   QSignalMapper signal_map;
   ^~~~~~~~~~~~~
   QWidgetMapper
In file included from sources/qetmainwindow.cpp:27:
sources/qetapp.h:202:3: error: 'QSignalMapper' does not name a type; did you mean 'QSignalBlocker'?
   QSignalMapper signal_map;
   ^~~~~~~~~~~~~
   QSignalBlocker
sources/exportdialog.cpp:137:26: error: expected type-specifier before 'QSignalMapper'
  ratio_mapper_     = new QSignalMapper(this);
                          ^~~~~~~~~~~~~
sources/exportdialog.cpp:138:2: error: 'reset_mapper_' was not declared in this scope
  reset_mapper_     = new QSignalMapper(this);
  ^~~~~~~~~~~~~
make[2]: *** [Makefile.Release:4606: release/elementspanel.o] Error 1
sources/exportdialog.cpp:138:26: error: expected type-specifier before 'QSignalMapper'
  reset_mapper_     = new QSignalMapper(this);
                          ^~~~~~~~~~~~~
sources/exportdialog.cpp:139:2: error: 'clipboard_mapper_' was not declared in this scope
  clipboard_mapper_ = new QSignalMapper(this);
  ^~~~~~~~~~~~~~~~~
sources/qetdiagrameditor.cpp: In member function 'void QETDiagramEditor::slot_updateWindowsMenu()':
sources/qetdiagrameditor.cpp:1905:41: error: 'windowMapper' was not declared in this scope
   connect(action, SIGNAL(triggered()), &windowMapper, SLOT(map()));
                                         ^~~~~~~~~~~~
make[2]: *** [Makefile.Release:4506: release/elementprovider.o] Error 1
sources/diagram.cpp: In member function 'virtual void Diagram::keyPressEvent(QKeyEvent*)':
sources/diagram.cpp:357:50: note: #pragma message: @TODO move code to new function
#pragma message("@TODO move code to new function")
                                                  ^
sources/qetdiagrameditor.cpp:1905:41: note: suggested alternative: 'windowType'
   connect(action, SIGNAL(triggered()), &windowMapper, SLOT(map()));
                                         ^~~~~~~~~~~~
                                         windowType
make[2]: *** [Makefile.Release:4802: release/genericpanel.o] Error 1
sources/exportdialog.cpp:139:26: error: expected type-specifier before 'QSignalMapper'
  clipboard_mapper_ = new QSignalMapper(this);
                          ^~~~~~~~~~~~~
In file included from sources/qetmainwindow.cpp:28:
sources/qetdiagrameditor.h:211:3: error: 'QSignalMapper' does not name a type; did you mean 'QSignalBlocker'?
   QSignalMapper windowMapper;
   ^~~~~~~~~~~~~
   QSignalBlocker
make[2]: *** [Makefile.Release:4154: release/configpages.o] Error 1
make[2]: *** [Makefile.Release:4986: release/qetapp.o] Error 1
make[2]: *** [Makefile.Release:4120: release/configdialog.o] Error 1
make[2]: *** [Makefile.Release:4457: release/diagramview.o] Error 1
make[2]: *** [Makefile.Release:4319: release/diagramcontent.o] Error 1
make[2]: *** [Makefile.Release:4644: release/elementspanelwidget.o] Error 1
make[2]: *** [Makefile.Release:3995: release/bordertitleblock.o] Error 1
make[2]: *** [Makefile.Release:4036: release/conductorautonumerotation.o] Error 1
sources/createdxf.cpp:1041:15: warning: 'QRectF scaleRect(QRectF)' defined but not used [-Wunused-function]
static QRectF scaleRect(QRectF rect)
               ^~~~~~~~~
make[2]: *** [Makefile.Release:4182: release/createdxf.o] Error 1
make[2]: *** [Makefile.Release:4924: release/projectview.o] Error 1
make[2]: *** [Makefile.Release:5063: release/qetdiagrameditor.o] Error 1
make[2]: *** [Makefile.Release:4763: release/exportdialog.o] Error 1
make[2]: *** [Makefile.Release:4237: release/diagram.o] Error 1
In file included from sources/qetproject.cpp:27:
sources/qetapp.h:202:3: error: 'QSignalMapper' does not name a type; did you mean 'QWidgetMapper'?
   QSignalMapper signal_map;
   ^~~~~~~~~~~~~
   QWidgetMapper
sources/qetproject.cpp: In member function 'void QETProject::readProjectXml(QDomDocument&)':
sources/qetproject.cpp:1276:47: note: #pragma message: @TODO use of version convert
#pragma message("@TODO use of version convert")
                                               ^
sources/qetproject.cpp: In member function 'void QETProject::readDiagramsXml(QDomDocument&)':
sources/qetproject.cpp:1331:108: note: #pragma message: @TODO try to solve a weird bug (dialog is black) since port to Qt5 with the DialogWaiting
#pragma message("@TODO try to solve a weird bug (dialog is black) since port to Qt5 with the DialogWaiting")
                                                                                                            ^
make[2]: *** [Makefile.Release:5096: release/qetmainwindow.o] Error 1
make[2]: *** [Makefile.Release:5147: release/qetproject.o] Error 1
make[2]: Leaving directory '/build/qelectrotech-0.80.r6764'
make[1]: *** [Makefile:40: release] Error 2

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: fix deprecated warning int QWheelEvent::delta() break macOS build

Humm, strange build fine on Ubuntu Bionic and focal ..
https://launchpadlibrarian.net/49868991 … ING.txt.gz

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: fix deprecated warning int QWheelEvent::delta() break macOS build

set # in pro file

DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000

Re: fix deprecated warning int QWheelEvent::delta() break macOS build

De-Backer wrote:

set # in pro file

DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000

Strange but it compile now on Debian Buster chroot and I don't understand why it's compile without this comment on Ubuntu with Qt 5.9..
Thanks.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: fix deprecated warning int QWheelEvent::delta() break macOS build

If I dont want to see #pragma messages warnings when I compile for packaging?

QMAKE_CXXFLAGS_WARN_ON += -Wunknown-pragmas
or
QMAKE_CXXFLAGS_WARN_ON += -Wno-unknown-pragmas

not help...

It irritates me to see them, or remove this #prama and keep @TODO?

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: fix deprecated warning int QWheelEvent::delta() break macOS build

i will look for a solution

Re: fix deprecated warning int QWheelEvent::delta() break macOS build

These messages are useful during development while compiling, but are not useful to be seen when making packages, they pollute real GCC warnings.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: fix deprecated warning int QWheelEvent::delta() break macOS build

https://git.tuxfamily.org/qet/qet.git/c … 27d13444bc

Re: fix deprecated warning int QWheelEvent::delta() break macOS build

Great, thanks Simon. ;-)

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."