[Bug 266491] devel/cmake-doc building issue - no Qt platform plugin could be initialized

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 6 18:20:56 GMT 2022


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266491

--- Comment #8 from Adriaan de Groot <adridg at freebsd.org> ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=934e8c6541b2c9233e2df5901d466ce8fc23e668

commit 934e8c6541b2c9233e2df5901d466ce8fc23e668
Author:     Adriaan de Groot <adridg at FreeBSD.org>
AuthorDate: 2022-12-06 14:08:19 +0000
Commit:     Adriaan de Groot <adridg at FreeBSD.org>
CommitDate: 2022-12-06 18:12:10 +0000

    x11-toolkits/qt5-gui: minimal plugin independent of option X11

    The "minimal" plugin is always needed (or just **one** of
    the plugins, but this will do) to allow QtGui applications
    to function. Turning off X11 turned them all off (I supposed
    "if you're not using X11, you must install the Wayland bits
    instead" would work, but that's hard to express in ports).

    So remove the plist-sub from the minimal plugin -- there is
    enough X11 pulled in regardless of the X11 option, that
    the plugin builds (and links against X11 libraries, so
    the option is a lie).

    The linked PR is not for this port, but demonstrates a problem:
    if X11 is turned off, there is no platform plugins at all,
    and then there is no way to run Qt-Gui applications (even with
    minimal / no graphics). For "command-line" Qt-Gui applications
    like qhelpgenerator, that is a problem.

    PR:             266491

 x11-toolkits/qt5-gui/Makefile  | 1 +
 x11-toolkits/qt5-gui/pkg-plist | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list