Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.gentoo.dev > #70425

Re: [gentoo-dev] Qt question: GNU_PROPERTY_1_NEEDED_INDIRECT_EXTERN_ACCESS

From Sam James <sam@gentoo.org>
Newsgroups linux.gentoo.dev
Subject Re: [gentoo-dev] Qt question: GNU_PROPERTY_1_NEEDED_INDIRECT_EXTERN_ACCESS
Date 2026-04-19 18:20 +0200
Message-ID <MLD2h-gq2c-7@gated-at.bofh.it> (permalink)
References <MLwat-glgE-1@gated-at.bofh.it>
Organization Gentoo

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Andrey Grozin <grozin@gentoo.org> writes:

> Hello *,
>
> I'm trying to resurrect master-pdf-editor (this is a proprietary
> binary program, non-commercial use is allowed for free). The newest
> version 5.9.98 uses Qt6, not Qt5 like older versions. I've prepared an
> ebuild for this version (it RDEPENDS on very many libraries). But I
> get
>
> grozin@localhost ~/H4/corr4/yaf $ mpe5 lb0.pdf
> 13:09:47 19.04.26  Main:  Open one window: 1
> warning: direct reference to protected function
> `_ZN7QWidget11changeEventEP6QEvent' in `/usr/lib64/libQt6Widgets.so.6'
> may break pointer equality
> /opt/master-pdf-editor-5/masterpdfeditor5:
> _ZN7QWidget11changeEventEP6QEvent: /usr/lib64/libQt6Widgets.so.6:
> error due to GNU_PROPERTY_1_NEEDED_INDIRECT_EXTERN_ACCESS
>
> Googling GNU_PROPERTY_1_NEEDED_INDIRECT_EXTERN_ACCESS I see that many
> users have this problem, mostly on arch, e.g.
>
> https://github.com/slint-ui/slint/issues/7174
> https://github.com/PrismLauncher/PrismLauncher/issues/991
> https://qt-project.atlassian.net/browse/QTBUG-115261
> https://github.com/juzzlin/Heimer/issues/255
>
> It seems qtbase in Gentoo (and arch) is compiled in a way that makes
> it incompatible with binary programs compiled for other distros.

Qt upstream recommends we use this and I think they plan to make it the
default for Qt 7. It improves load time.

> Is there any way to overcome this problem? After a long struggle for a
> Qt6 version of master-pdf-editor we at last have it, but it does not
> run...
>

I don't have any ideas for a workaround other than using a Flatpak.

> Andrey

Back to linux.gentoo.dev | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

[gentoo-dev] Qt question: GNU_PROPERTY_1_NEEDED_INDIRECT_EXTERN_ACCESS Andrey Grozin <grozin@gentoo.org> - 2026-04-19 11:00 +0200
  Re: [gentoo-dev] Qt question:  GNU_PROPERTY_1_NEEDED_INDIRECT_EXTERN_ACCESS Sam James <sam@gentoo.org> - 2026-04-19 18:20 +0200
    Re: [gentoo-dev] Qt question:  GNU_PROPERTY_1_NEEDED_INDIRECT_EXTERN_ACCESS Ionen Wolkens <ionen@gentoo.org> - 2026-04-19 18:40 +0200
      Re: [gentoo-dev] Qt question:  GNU_PROPERTY_1_NEEDED_INDIRECT_EXTERN_ACCESS Ionen Wolkens <ionen@gentoo.org> - 2026-04-19 18:50 +0200
      Re: [gentoo-dev] Qt question:  GNU_PROPERTY_1_NEEDED_INDIRECT_EXTERN_ACCESS Andrey Grozin <grozin@gentoo.org> - 2026-04-22 06:00 +0200
        Re: [gentoo-dev] Qt question:  GNU_PROPERTY_1_NEEDED_INDIRECT_EXTERN_ACCESS Ionen Wolkens <ionen@gentoo.org> - 2026-04-22 07:00 +0200

csiph-web