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

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

Open
amaillo opened this issue Mar 25, 2023 · 2 comments · May be fixed by #178
Open

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

amaillo opened this issue Mar 25, 2023 · 2 comments · May be fixed by #178

Comments

@amaillo
Copy link

amaillo commented Mar 25, 2023

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.

@heipiao233
Copy link

NodeGUI uses QT 6 now, but the newest version of this only supports QT 5.
you can replace node_modules/@nodegui/packer/deps/linuxdeployqt with https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage

@heipiao233 heipiao233 linked a pull request Aug 5, 2023 that will close this issue
@heipiao233
Copy link

heipiao233 commented Aug 5, 2023

If you need, @dmclmc/packer-fork

@amaillo amaillo changed the title The plugins path in qt.conf (linux) points to a non-existent folder (Bug) The plugins path in qt.conf (linux mint) points to a non-existent folder (Bug) Oct 12, 2023
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

Successfully merging a pull request may close this issue.

2 participants