Skip to content

qt.conf in Ubuntu is being ignored #179

Description

@amaillo

This issue is related to #177

This time I was using Ubuntu 22.04.3 Jammy , but when modified qt.conf as in issue #177 to run my app, was not working.

After that, I used

sudo QT_DEBUG_PLUGINS=1 ./AppRun

And then got

qt.core.plugin.factoryloader: checking directory path "/home/User/MyApp/deploy/linux/build/MyApp/platforms" ...

qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""

qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""

This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

I had to use the following command to run my app:

sudo QT_PLUGIN_PATH=~/MyApp/node_modules/@nodegui/nodegui/miniqt/6.4.1/gcc_64/plugins ./AppRun

I leave it here since it can be useful for anyone else.

Activity

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