Skip to content

Commit

Permalink
corrected qt version
Browse files Browse the repository at this point in the history
  • Loading branch information
Odizinne committed Aug 11, 2024
1 parent f5090ee commit 60d7be7
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/qt-msvc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,22 @@ jobs:
vs-version: 'latest' # Use the latest Visual Studio version

- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: '6.7.2'
add-tools-to-path: true
tools: 'tools_qtcreator,qt.tools.qtcreator'

- name: Set up environment for jom
run: |
choco install qt --version=latest --params '/QtAddToPath'
# Ensure the PATH is updated
echo "##vso[task.setvariable variable=PATH]$($env:PATH);C:\Qt\$(Get-Item C:\Qt\*\msvc*\bin).Name"
# Add jom directory to PATH
$env:PATH += ";C:\Qt\Tools\QtCreator\bin\jom"
[System.Environment]::SetEnvironmentVariable('PATH', $env:PATH, [System.EnvironmentVariableTarget]::Machine)
- name: Build with qmake
- name: Build with qmake and jom
shell: pwsh
run: |
mkdir build
cd build
qmake ..\yourproject.pro
nmake
# Optionally, you can add steps for packaging or deploying the application
qmake ..\BigPictureTV-CPP.pro
jom

0 comments on commit 60d7be7

Please sign in to comment.