Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qt.conf in Ubuntu is being ignored #179

Open
amaillo opened this issue Oct 12, 2023 · 0 comments
Open

qt.conf in Ubuntu is being ignored #179

amaillo opened this issue Oct 12, 2023 · 0 comments

Comments

@amaillo
Copy link

amaillo commented Oct 12, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant