jurplel / install-qt-action

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

Update aqt #139

Closed igormironchik closed 2 years ago

igormironchik commented 2 years ago

Please update aqt to support Qt 6.2.3 and qtmultimedia module. Thanks.

pzhlkj6612 commented 2 years ago

Hi. The author had tried to use aqt v2 since c8cab3fd89458585e9bd16f7cf8b07a7476d710c but didn't make any releases (make built action), you may need to build it by yourself:

jobs:
  ...
    steps:
      - uses: actions/checkout@v2
        with:
          repository: 'jurplel/install-qt-action'
          ref: '7933445fc5670b1ef4eeedb981cf8f14647f2e1a'
          path: './iqta'
      - uses: actions/setup-node@v1
        with:
          node-version: 10.x
      - run: npm ci
        working-directory: './iqta'
      - run: npm run build-setup-python
        working-directory: './iqta'
      - run: npm run build
        working-directory: './iqta'
      - uses: ./iqta
        with:
          # your parameters go here
igormironchik commented 2 years ago

Thanks. It helped. So I will close this issue, as fix already in the repository, just wasn't released.

jurplel commented 2 years ago

Or you can just use the v3 branch where it is built.

pzhlkj6612 commented 2 years ago

Or you can just use the v3 branch where it is built.

ah-huh, totally missed the v3 branch! I just now installed Qt 6.2.3 with the qtmultimedia module by v3 and it seems to work fine:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: jurplel/install-qt-action@v3
        with:
          version: '6.2.3'
          modules: 'qtmultimedia'
      - run: find ../
      - name: checkout the code from 'https://code.qt.io/cgit/qt/qtmultimedia.git/tree/examples/multimedia/audiodevices/?h=6.2.3'
        run: |
          wget \
            --mirror \
            --no-parent \
            --no-host-directories \
            --cut-dirs=6 \
            --content-disposition \
            'https://code.qt.io/cgit/qt/qtmultimedia.git/plain/examples/multimedia/audiodevices/?h=6.2.3'
      - name: deps
        run: sudo apt install -y libgstreamer-gl1.0-0
      - name: build
        run: |
          set -e
          mkdir build/
          pushd build/
          cmake ../audiodevices
          make
          popd