[Webkit-unassigned] [Bug 231369] New: [WPE] QtWPE API has undeclared dependency on qpa/qplatformnativeinterface.h

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 7 09:44:13 PDT 2021


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

            Bug ID: 231369
           Summary: [WPE] QtWPE API has undeclared dependency on
                    qpa/qplatformnativeinterface.h
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WPE WebKit
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at gnome.org
                CC: bugs-noreply at webkitgtk.org

I've failed to figure out how to build the QtWPE API:

/home/mcatanzaro/Projects/WebKit/Source/WebKit/UIProcess/API/wpe/qt/WPEQtView.cpp:33:10: fatal error: qpa/qplatformnativeinterface.h: No such file or directory
   33 | #include <qpa/qplatformnativeinterface.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Not sure which Qt devel package on Fedora provides this. It appears to be a private header that's not part of the public API?

Anyway, there is a WebKit bug here: OptionsWPE.cmake should detect all requirements and fail during the cmake stage if something is missing, rather than waiting until later to fail during compilation. Currently OptionsWPE.cmake does this:

if (ENABLE_WPE_QT_API)
    find_package(Qt5 REQUIRED COMPONENTS Core Quick Gui)
    find_package(Qt5Test REQUIRED)
endif ()

Something must be missing from here. Not sure what.

-- 
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/20211007/7a8456ec/attachment.htm>


More information about the webkit-unassigned mailing list