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

installing qt 6.7, 6.8 webassembly version fails #258

Open
adam-ce opened this issue Oct 21, 2024 · 1 comment
Open

installing qt 6.7, 6.8 webassembly version fails #258

adam-ce opened this issue Oct 21, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@adam-ce
Copy link

adam-ce commented Oct 21, 2024

Currently the webassembly version is broken as Qt changed the location of the binaries in Qt 6.7 and 6.8.

This needs changes in aqt first, tracked upstream: miurahr/aqtinstall#779

But it also needs changes in install-qt-action. @timangus implmented a workaround here: https://github.com/timangus/install-qt-action

For anybody looking, this workaround works only for Qt 6.7 via:

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        qtarch: [wasm_singlethread, android_arm64_v8a]
        qtversion: ['6.7.0']
        include:
          - qtarch: wasm_singlethread
            qttarget: 'wasm'
            qthost: 'all_os'
            qtmodules: ''
            additional_build_flags: '--target install'
            aqtsource: 'git+https://github.com/timangus/aqtinstall.git'
          - qtarch: android_arm64_v8a
            qttarget: 'android'
            qthost: 'linux'
            aqtsource: 'git+https://github.com/miurahr/aqtinstall.git'
          
    steps:
    - name: Install dependencies
      run: |
        sudo apt-get update
        sudo apt-get install -y build-essential ninja-build
        
    - uses: actions/checkout@v4
      with:
        fetch-depth: 0
        fetch-tags: true
    
    - uses: mymindstorm/setup-emsdk@v13
      if: matrix.qttarget == 'wasm'
      with:
        version: 3.1.50
        
    - name: Install Qt native version (required by android version)
      uses: timangus/install-qt-action@deployed
      with:
        aqtsource: ${{ matrix.aqtsource }}
        version: ${{ matrix.qtversion }}
        host: linux
        target: 'desktop'
        arch: linux_gcc_64
        dir: '${{github.workspace}}/qt'
        install-deps: 'true'
@adam-ce adam-ce changed the title installing qt 6.7, 6.8 webassembly version installing qt 6.7, 6.8 webassembly version fails Oct 21, 2024
@jurplel jurplel added the enhancement New feature or request label Oct 25, 2024
@Kidev
Copy link

Kidev commented Nov 26, 2024

Should be fixed once this PR is merged miurahr/aqtinstall#846

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants