Closed trufae closed 1 year ago
-clang -F/usr/local/Cellar/qt/6.0.2/lib -o RichTextPainter.o ../src/common/RichTextPainter.cpp ../src/widgets/OverviewView.cpp:95:38: warning: 'localPos' is deprecated: Use position() [-Wdeprecated-declarations] initialDiff = QPointF(event->localPos().x() - rangeRect.x(), event->localPos().y() - rangeRect.y()); ^ /usr/local/Cellar/qt/6.0.2/lib/QtGui.framework/Headers/qevent.h:268:5: note: 'localPos' has been explicitly marked deprecated here QT_DEPRECATED_VERSION_X_6_0("Use position()") ^ /usr/local/Cellar/qt/6.0.2/lib/QtCore.framework/Headers/qglobal.h:362:44: note: expanded from macro 'QT_DEPRECATED_VERSION_X_6_0' # define QT_DEPRECATED_VERSION_X_6_0(text) QT_DEPRECATED_X(text) ^ /usr/local/Cellar/qt/6.0.2/lib/QtCore.framework/Headers/qglobal.h:274:33: note: expanded from macro 'QT_DEPRECATED_X' # define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text) ^ /usr/local/Cellar/qt/6.0.2/lib/QtCore.framework/Headers/qcompilerdetection.h:1153:36: note: expanded from macro 'Q_DECL_DEPRECATED_X' # define Q_DECL_DEPRECATED_X(x) [[deprecated(x)]] ^ ../src/widgets/OverviewView.cpp:95:77: warning: 'localPos' is deprecated: Use position() [-Wdeprecated-declarations] initialDiff = QPointF(event->localPos().x() - rangeRect.x(), event->localPos().y() - rangeRect.y()); ^ /usr/local/Cellar/qt/6.0.2/lib/QtGui.framework/Headers/qevent.h:268:5: note: 'localPos' has been explicitly marked deprecated here QT_DEPRECATED_VERSION_X_6_0("Use position()") ^ /usr/local/Cellar/qt/6.0.2/lib/QtCore.framework/Headers/qglobal.h:362:44: note: expanded from macro 'QT_DEPRECATED_VERSION_X_6_0' # define QT_DEPRECATED_VERSION_X_6_0(text) QT_DEPRECATED_X(text) ^ /usr/local/Cellar/qt/6.0.2/lib/QtCore.framework/Headers/qglobal.h:274:33: note: expanded from macro 'QT_DEPRECATED_X' # define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text) ^ /usr/local/Cellar/qt/6.0.2/lib/QtCore.framework/Headers/qcompilerdetection.h:1153:36: note: expanded from macro 'Q_DECL_DEPRECATED_X' # define Q_DECL_DEPRECATED_X(x) [[deprecated(x)]] ^ ../src/widgets/OverviewView.cpp:99:26: warning: 'localPos' is deprecated: Use position() [-Wdeprecated-declarations] qreal x = event->localPos().x() - w / 2; ^ /usr/local/Cellar/qt/6.0.2/lib/QtGui.framework/Headers/qevent.h:268:5: note: 'localPos' has been explicitly marked deprecated here QT_DEPRECATED_VERSION_X_6_0("Use position()") ^ /usr/local/Cellar/qt/6.0.2/lib/QtCore.framework/Headers/qglobal.h:362:44: note: expanded from macro 'QT_DEPRECATED_VERSION_X_6_0' # define QT_DEPRECATED_VERSION_X_6_0(text) QT_DEPRECATED_X(text) ^ /usr/local/Cellar/qt/6.0.2/lib/QtCore.framework/Headers/qglobal.h:274:33: note: expanded from macro 'QT_DEPRECATED_X' # define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text) ^ /usr/local/Cellar/qt/6.0.2/lib/QtCore.framework/Headers/qcompilerdetection.h:1153:36: note: expanded from macro 'Q_DECL_DEPRECATED_X' # define Q_DECL_DEPRECATED_X(x) [[deprecated(x)]] ^ ../src/widgets/OverviewView.cpp:100:26: warning: 'localPos' is deprecated: Use position() [-Wdeprecated-declarations] qreal y = event->localPos().y() - h / 2; ^ /usr/local/Cellar/qt/6.0.2/lib/QtGui.framework/Headers/qevent.h:268:5: note: 'localPos' has been explicitly marked deprecated here QT_DEPRECATED_VERSION_X_6_0("Use position()") ^ /usr/local/Cellar/qt/6.0.2/lib/QtCore.framework/Headers/qglobal.h:362:44: note: expanded from macro 'QT_DEPRECATED_VERSION_X_6_0' # define QT_DEPRECATED_VERSION_X_6_0(text) QT_DEPRECATED_X(text) ^ /usr/local/Cellar/qt/6.0.2/lib/QtCore.framework/Headers/qglobal.h:274:33: note: expanded from macro 'QT_DEPRECATED_X' # define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text) ^ /usr/local/Cellar/qt/6.0.2/lib/QtCore.framework/Headers/qcompilerdetection.h:1153:36: note: expanded from macro 'Q_DECL_DEPRECATED_X' # define Q_DECL_DEPRECATED_X(x) [[deprecated(x)]] ^ ../src/widgets/OverviewView.cpp:119:22: warning: 'localPos' is deprecated: Use position() [-Wdeprecated-declarations] qreal x = event->localPos().x() - initialDiff.x(); ^ /usr/local/Cellar/qt/6.0.2/lib/QtGui.framework/Headers/qevent.h:268:5: note: 'localPos' has been explicitly marked deprecated here QT_DEPRECATED_VERSION_X_6_0("Use position()") ^ /usr/local/Cellar/qt/6.0.2/lib/QtCore.framework/Headers/qglobal.h:362:44: note: expanded from macro 'QT_DEPRECATED_VERSION_X_6_0' # define QT_DEPRECATED_VERSION_X_6_0(text) QT_DEPRECATED_X(text) ^ /usr/local/Cellar/qt/6.0.2/lib/QtCore.framework/Headers/qglobal.h:274:33: note: expanded from macro 'QT_DEPRECATED_X' # define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text) ^ /usr/local/Cellar/qt/6.0.2/lib/QtCore.framework/Headers/qcompilerdetection.h:1153:36: note: expanded from macro 'Q_DECL_DEPRECATED_X' # define Q_DECL_DEPRECATED_X(x) [[deprecated(x)]] ^ ../src/widgets/OverviewView.cpp:120:22: warning: 'localPos' is deprecated: Use position() [-Wdeprecated-declarations] qreal y = event->localPos().y() - initialDiff.y(); ^ /usr/local/Cellar/qt/6.0.2/lib/QtGui.framework/Headers/qevent.h:268:5: note: 'localPos' has been explicitly marked deprecated here QT_DEPRECATED_VERSION_X_6_0("Use position()") ^ /usr/local/Cellar/qt/6.0.2/lib/QtCore.framework/Headers/qglobal.h:362:44: note: expanded from macro 'QT_DEPRECATED_VERSION_X_6_0' # define QT_DEPRECATED_VERSION_X_6_0(text) QT_DEPRECATED_X(text) ^ /usr/local/Cellar/qt/6.0.2/lib/QtCore.framework/Headers/qglobal.h:274:33: note: expanded from macro 'QT_DEPRECATED_X' # define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text) ^ /usr/local/Cellar/qt/6.0.2/lib/QtCore.framework/Headers/qcompilerdetection.h:1153:36: note: expanded from macro 'Q_DECL_DEPRECATED_X' # define Q_DECL_DEPRECATED_X(x) [[deprecated(x)]] ^ 6 warnings generated.
All solved