| Summary: | [WPE][Qt] Deprecation warnings | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Philippe Normand <pnormand> | ||||||
| Component: | WPE WebKit | Assignee: | Philippe Normand <pnormand> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | bugs-noreply, cgarcia | ||||||
| Priority: | P2 | ||||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
Created attachment 403767 [details]
Patch
Created attachment 403768 [details]
Patch
Committed r264095: <https://trac.webkit.org/changeset/264095> All reviewed patches have been landed. Closing bug and clearing flags on attachment 403768 [details]. |
../../Source/WebKit/UIProcess/API/wpe/qt/WPEQtViewBackend.cpp:303:41: warning: 'y' is deprecated: Use position() [-Wdeprecated-declarations] uint32_t axis = delta.y() == event->y(); ^ /usr/include/QtGui/qevent.h:230:21: note: 'y' has been explicitly marked deprecated here __attribute__ ((__deprecated__("Use position()"))) ^ ../../Source/WebKit/UIProcess/API/wpe/qt/WPEQtViewBackend.cpp:309:16: warning: 'x' is deprecated: Use position() [-Wdeprecated-declarations] event->x(), event->y(), axis, length, modifiers() }; ^ /usr/include/QtGui/qevent.h:228:21: note: 'x' has been explicitly marked deprecated here __attribute__ ((__deprecated__("Use position()"))) ^ ../../Source/WebKit/UIProcess/API/wpe/qt/WPEQtViewBackend.cpp:309:28: warning: 'y' is deprecated: Use position() [-Wdeprecated-declarations] event->x(), event->y(), axis, length, modifiers() }; ^ /usr/include/QtGui/qevent.h:230:21: note: 'y' has been explicitly marked deprecated here __attribute__ ((__deprecated__("Use position()"))) ^ 3 warnings generated. [9/24] Building CXX object Source/WebKit/CMakeFiles/qtwpe.dir/UIProcess/API/wpe/qt/WPEQtView.cpp.o ../../Source/WebKit/UIProcess/API/wpe/qt/WPEQtView.cpp:187:39: warning: 'createTextureFromId' is deprecated: Use createTextureFromNativeObject() instead [-Wdeprecated-declarations] textureNode->setTexture(window()->createTextureFromId(textureId, m_size.toSize(), QQuickWindow::TextureHasAlphaChannel)); ^ /usr/include/QtQuick/qquickwindow.h:162:21: note: 'createTextureFromId' has been explicitly marked deprecated here __attribute__ ((__deprecated__("Use createTextureFromNativeObject() instead"))) ^ 1 warning generated.