unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* libexec dir and Qt / qtwebengine fails finding QtWebEngineProcess
@ 2024-10-11 12:53 Hartmut Goebel
  0 siblings, 0 replies; only message in thread
From: Hartmut Goebel @ 2024-10-11 12:53 UTC (permalink / raw)
  To: Guix-devel

[-- Attachment #1: Type: text/plain, Size: 1425 bytes --]

Hi,

I just built XRview https://codeberg.org/openKMU/xrechnung/ a QT viewer 
for German electronic invoices. This uses qtwebengine to display convert 
and the data.

This fails finding the QtWebEngineProcess executable.

The following paths were searched for Qt WebEngine Process:
  /gnu/store/nns96pk4bsyihmw6yksghglm19nimd9r-qtbase-6.6.3/lib/qt6/libexec/QtWebEngineP
rocess
  /gnu/store/nns96pk4bsyihmw6yksghglm19nimd9r-qtbase-6.6.3/bin/QtWebEngineProcess
  /gnu/store/dq55b09vcw4cwgwivlcrsi0yn3nhv48w-xrview-1.0/bin/QtWebEngineProcess
but could not find it.
You may override the default search path by using 
QTWEBENGINEPROCESS_PATH environment v
ariable.

 From Guix POV the cause is that the libexec directory only from qtbase 
is in this search path.

The message also suggests a simple solution: add native search path 
QTWEBENGINEPROCESS_PATH.

Anyhow this is is not a good solution IMHO, since

  * this will create a long path in QTWEBENGINEPROCESS_PATH while only a
    single entry would suffice
  * this will fail for other parts of Qt also searching the libexec
    directory.

A better solution would be to create a native-search-path (e.g. 
GUIX_QT_LIBEXEC_PATH) and make Qt search this path.

Any idea how we could achieve this?

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          |h.goebel@crazy-compilers.com                |
|www.crazy-compilers.com  | compilers which you thought are impossible |

[-- Attachment #2: Type: text/html, Size: 2316 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-10-11 17:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-11 12:53 libexec dir and Qt / qtwebengine fails finding QtWebEngineProcess Hartmut Goebel

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).