jurplel / install-qt-action

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

When installing qt wasm_32, install corresponding qmake with them. #181

Closed jingkaimori closed 1 year ago

jingkaimori commented 1 year ago

qmake exectable in wasm_32 is replaced by a script targeting to qmake program in gcc_64 or mingw installation of qmake.

ddalcino commented 1 year ago

I can confirm this; this is a new behavior as of Qt 6. Android and WASM builds now require that you install a standard desktop version of Qt alongside them. See docs for aqtinstall's new --autodesktop flag.

The --autodesktop flag is new as of aqtinstall 3.0.0, and it is designed specifically to handle this problem.

Ideally, I think the action should account for this, but as a workaround you can try using the extra input:

  aqtversion: '3.1.*'
  py7zrversion: '0.20.*'
  extra: '--autodesktop'

Until #176 is fixed, don't forget to specify py7zrversion; you will have trouble installing aqtinstall 3 without it.