Skip to content

The plugins path in qt.conf (linux mint) points to a non-existent folder (Bug) #177

@amaillo

Description

@amaillo

Hello, i was testing my app in linux mint (linuxmint-21.1-cinnamon-64bit) with a Virtual machine, after the installation in the console wrote:

sudo apt install -y git
sudo apt-get install -y nodejs
sudo apt install -y cmake
sudo cd my-app
sudo npm install
sudo npm start

sudo npx nodegui-packer --init my-app
sudo npx nodegui-packer --pack dist

Then i tried to run the .AppImage with ./AppRun, but the console print:
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""

I used QT_DEBUG_PLUGINS=1 ./AppRun and got:
qt.core.plugin.factoryloader: checking directory path "/usr/lib/node_modules/my-app/deploy/linux/build/my-app/platforms"

The "platforms" folder does not exist, so i changed the path for plugins on qt.conf for /usr/lib/node_modules/@nodegui/nodegui/miniqt/6.4.1/gcc_64/plugins

All is working now, but since seems to be a bug, i wanted to make a post about it, have a good day/night.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions