Mac Installation

Thomas Friedrichsmeier thomas.friedrichsmeier at kdemail.net
Sat Jan 24 08:27:15 GMT 2026


Am Fri, 23 Jan 2026 12:20:54 -0600
schrieb DES Alfonso Cano Robles <alfonsociologo at gmail.com>:

> *If there is anything I can do to help, let me know.*
> *Regards*
> *Alfonso*

thanks for offering! Whether you can help, depends on how far you want to dig
in. A rough outline of the steps involved:

1. To build rkward from sources on Mac, you'll need to setup "craft":
   https://community.kde.org/Get_Involved/development/Mac
   craft rkward && craft --package rkward
2. What I believe to be at the heart of the current problem is that we force
   QWebEngine to run inside the main process on Mac (rkward/main.cpp, the "#if
   defined(Q_OS_MACOS)"-section near line 140. Those lines would simply have to
   be removed.
3. However, that would currently break after packaging, and installing, due
   a bug in the craft packaging. This tries to convert absolute references to
   library locations to relative ones, essentially by a large number of calls
   to install_name_tools from a python script
   (craft/bin/Packager/MacOSBasPackager.py). This incorrectly makes references
   using "@executable_path/...", which breaks for the auxiliary qwebengine
   process (forgot, where exactly), as this is installed in a different
   directory. It should be adapted to use @loader_path, instead (see e.g.
   https://wincent.dev/wiki/%40executable_path%2C_%40load_path_and_%40rpath for
   some technical background).
4. Then that would need a solid round of testing, and finally a merge request
   to https://invent.kde.org/packaging/craft .

I can probably help with step 3, so if you can get as far as step 2, that's
helpful, already. We'd probably need a couple of rounds of trial-and-patch,
though.

Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://mail.kde.org/pipermail/rkward/attachments/20260124/1bd9e24c/attachment.sig>


More information about the RKWard mailing list