Skip to content

[qt5base] Fix --qpa option handling when linuxfb plugin is deselected #73

Open

Description

@titobrasolin

I encountered a compilation error for qt5base on the main branch when the qt5base-plugin-platforms-linuxfb package is not selected:

ERROR: No value supplied to command line option 'qpa'.

This stems from the line in package/feed/video/qt5/qt5base/Makefile:

--qpa=$(if $(CONFIG_PACKAGE_qt5base-plugin-platforms-linuxfb),linuxfb,) \

When CONFIG_PACKAGE_qt5base-plugin-platforms-linuxfb is unset, this results in --qpa= being passed, which is an invalid argument.

The fix is to condition the entire option, so it's only included when the plugin is enabled:

$(if $(CONFIG_PACKAGE_qt5base-plugin-platforms-linuxfb),--qpa=linuxfb,) \

This ensures --qpa=linuxfb is only added when necessary.

@mirko, I'm bringing this to your attention as you're familiar with the Qt5 packages.

Activity

  1. added 5 commits that reference this issue on Apr 11, 2026
    3285b02
    1edd2dc
    0057bc3
    19faac4
    7ce891b
  2. added a commit that references this issue on Jul 22, 2026
    11422ab
  3. added 3 commits that reference this issue on Aug 13, 2026
    2844ef1
    00865f7
    e87fced
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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