Skip to content

libQt6WebKitWidgets.so linking issue #46

@FabioLolix

Description

@FabioLolix

Hi, building from Arch Linux from the latest commit give:

[100%] Linking CXX shared library ../../lib/libQt6WebKitWidgets.so
/usr/bin/ld: CMakeFiles/WebKitWidgets.dir/qt/WidgetSupport/InitWebKitQt.cpp.o: in function `WebKit::initializeWebKitWidgets()':
/home/fabio/Dev/Github/PKGBUILD-AUR_fix/q/qt5-webkit-movableink-git/src/movableink-webkit/Source/WebKitLegacy/qt/WidgetSupport/InitWebKitQt.cpp:39:(.text._ZN6WebKit23initializeWebKitWidgetsEv+0x7a): undefined reference to `WebKit::setWebKitWidgetsInitCallback(WebCore::QStyleFacade* (*)())'
/usr/bin/ld: /home/fabio/Dev/Github/PKGBUILD-AUR_fix/q/qt5-webkit-movableink-git/src/movableink-webkit/Source/WebKitLegacy/qt/WidgetSupport/InitWebKitQt.cpp:40:(.text._ZN6WebKit23initializeWebKitWidgetsEv+0x7f): undefined reference to `WebKit::initializeWebKitQt()'
/usr/bin/ld: /home/fabio/Dev/Github/PKGBUILD-AUR_fix/q/qt5-webkit-movableink-git/src/movableink-webkit/Source/WebKitLegacy/qt/WidgetSupport/InitWebKitQt.cpp:44:(.text._ZN6WebKit23initializeWebKitWidgetsEv+0xad): undefined reference to `WebKit::setImagePlatformResource(char const*, QPixmap const&)'
/usr/bin/ld: /home/fabio/Dev/Github/PKGBUILD-AUR_fix/q/qt5-webkit-movableink-git/src/movableink-webkit/Source/WebKitLegacy/qt/WidgetSupport/InitWebKitQt.cpp:46:(.text._ZN6WebKit23initializeWebKitWidgetsEv+0xe4): undefined reference to `WebKit::setImagePlatformResource(char const*, QPixmap const&)'
/usr/bin/ld: ../../lib/libQt6WebKitWidgets.so.6.212.0: protected symbol `_ZN6WebKit18initializeWebKitQtEv' isn't defined
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[2]: *** [Source/WebKitLegacy/CMakeFiles/WebKitWidgets.dir/build.make:363: lib/libQt6WebKitWidgets.so.6.212.0] Error 1
make[1]: *** [CMakeFiles/Makefile2:1533: Source/WebKitLegacy/CMakeFiles/WebKitWidgets.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().

This superseed #39

Don't mind where it says qt5, this is a qt6 build

Qt6 is at v6.8.2

It is a while that it is failing to build and wasn't reported yet for this error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions