Skip to content

corrected qt version #2

corrected qt version

corrected qt version #2

Workflow file for this run

name: Build Qt Project
on:
push:
branches:
- cpp
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup MSVC
uses: microsoft/setup-msbuild@v1
with:
vs-version: '6.7.2'
- name: Install Qt
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"
- name: Build with qmake
run: |
mkdir build
cd build
qmake ..\yourproject.pro
nmake
# Optionally, you can add steps for packaging or deploying the application