jurplel / install-qt-action

Install Qt on your Github Actions workflows with just one simple action
MIT License
446 stars 78 forks source link

Would it be possible to install `linuxdeployqt` as well ? #204

Closed afbjorklund closed 9 months ago

afbjorklund commented 10 months ago

Currently it has macdeployqt and windeployqt, but not linuxdeployqt (for AppImage)

https://github.com/probonopd/linuxdeployqt

curl -LO https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage
sudo install linuxdeployqt-continuous-x86_64.AppImage /usr/local/bin/linuxdeployqt
jurplel commented 10 months ago

linuxdeployqt isn't an official Qt project AFAIK, so I am not sure it would make sense to install this automatically

afbjorklund commented 10 months ago

As a workaround I added it as an extra step, after running the qt-install-action

afbjorklund commented 10 months ago

Turns out that the binary requires fuse and ubuntu:20.04, so I think it will need a special runner set up anyway.

EDIT: Currently I am doing the --appextract-image and copying from squashfs-root, to the system directories

pzhlkj6612 commented 10 months ago

Hi.

Turns out that the binary requires fuse and ubuntu:20.04

Is there no way to run linuxdeployqt on GitHub Actions Runners? IIRC it works on Oct 15, 2021.

afbjorklund commented 10 months ago

You can follow the experiments here: https://github.com/kubernetes-sigs/minikube-gui/pull/95#issuecomment-1715616461

But that is the supported upstream binary: linuxdeployqt-continuous-x86_64.AppImage

pzhlkj6612 commented 10 months ago

Did you try this? Is /dev/fuse useable in github actions? · community · Discussion #26404

afbjorklund commented 10 months ago

It should not be necessary with fuse / squashfuse here, it is enough with unsquashfs...

https://github.com/AppImage/AppImageKit/wiki/FUSE

Also allows for running the program in a container in the future, and not just in a VM.

fuse: failed to open /dev/fuse: Operation not permitted