[Webkit-unassigned] [Bug 282019] New: [WPE][Qt6] Qt6 API compile failed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 23 17:24:03 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=282019

            Bug ID: 282019
           Summary: [WPE][Qt6] Qt6 API compile failed
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WPE WebKit
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Qing-wu.Li at leica-geosystems.com.cn
                CC: bugs-noreply at webkitgtk.org

Source/WebKit/UIProcess/API/wpe/qt6/WPEQtView.cpp:87:5: error: 'wpe_view_resize' was not declared in this scope; did you mean 'wpe_view_resized'?
|    87 |     wpe_view_resize(wpeView, d->m_size.width(), d->m_size.height());
|       |     ^~~~~~~~~~~~~~~
|       |     wpe_view_resized





| Source/WebKit/UIProcess/API/wpe/qt6/WPEToplevelQtQuick.cpp:35:46: error: 'wpe_toplevel_qtquick' has not been declared
|    35 | WEBKIT_DEFINE_FINAL_TYPE(WPEToplevelQtQuick, wpe_toplevel_qtquick, WPE_TYPE_TOPLEVEL, WPEToplevel)
|       |                                              ^~~~~~~~~~~~~~~~~~~~
| In file included from Source/WebKit/WPEPlatform/wpe/WPEView.h:36,
|                  from Source/WebKit/WPEPlatform/wpe/WPEEvent.h:35,
|                  from Source/WebKit/WPEPlatform/wpe/wpe-platform.h:31,
|                  from Source/WebKit/UIProcess/API/wpe/qt6/WPEDisplayQtQuick.h:30,
|                  from Source/WebKit/UIProcess/API/wpe/qt6/WPEToplevelQtQuick.h:29,
|                  from Source/WebKit/UIProcess/API/wpe/qt6/WPEToplevelQtQuick.cpp:27:
| Source/WebKit/WPEPlatform/wpe/WPEToplevel.h:38:27: error: expected identifier before '(' token
|    38 | #define WPE_TYPE_TOPLEVEL (wpe_toplevel_get_type())
|       |                           ^
| Source/WebKit/UIProcess/API/wpe/qt6/WPEToplevelQtQuick.cpp:35:68: note: in expansion of macro 'WPE_TYPE_TOPLEVEL'
|    35 | WEBKIT_DEFINE_FINAL_TYPE(WPEToplevelQtQuick, wpe_toplevel_qtquick, WPE_TYPE_TOPLEVEL, WPEToplevel)
|       |                                                                    ^~~~~~~~~~~~~~~~~
| Source/WebKit/UIProcess/API/wpe/qt6/WPEToplevelQtQuick.cpp:37:1: error: expected constructor, destructor, or type conversion before 'static'
|    37 | static gboolean wpeToplevelQtQuickResize(WPEToplevel* toplevel, int width, int height)
|       | ^~~~~~
| Source/WebKit/UIProcess/API/wpe/qt6/WPEToplevelQtQuick.cpp: In function 'void wpe_toplevel_qtquick_class_init(WPEToplevelQtQuickClass*)':
| Source/WebKit/UIProcess/API/wpe/qt6/WPEToplevelQtQuick.cpp:52:29: error: 'wpeToplevelQtQuickResize' was not declared in this scope; did you mean 'WPEToplevelQtQuickClass'?
|    52 |     toplevelClass->resize = wpeToplevelQtQuickResize;
|       |                             ^~~~~~~~~~~~~~~~~~~~~~~~
|       |                             WPEToplevelQtQuickClass
| Source/WebKit/UIProcess/API/wpe/qt6/WPEToplevelQtQuick.cpp: At global scope:
| Source/WebKit/UIProcess/API/wpe/qt6/WPEToplevelQtQuick.cpp:49:13: warning: 'void wpe_toplevel_qtquick_class_init(WPEToplevelQtQuickClass*)' defined but not used [-Wunused-function]
|    49 | static void wpe_toplevel_qtquick_class_init(WPEToplevelQtQuickClass* toplevelQtQuickClass)
|       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241024/885fd7c4/attachment.htm>


More information about the webkit-unassigned mailing list