Actions
This commit is contained in:
parent
d1752f61d6
commit
628dfe35fc
1 changed files with 24 additions and 1 deletions
|
@ -19,4 +19,27 @@ Invoke-WebRequest -Uri $qt_link -OutFile $qt_output
|
||||||
$qt_path = (Resolve-Path $qt_stub).Path
|
$qt_path = (Resolve-Path $qt_stub).Path
|
||||||
$qt_qmake = "$qt_path\bin\qmake.exe"
|
$qt_qmake = "$qt_path\bin\qmake.exe"
|
||||||
|
|
||||||
$env:PATH = "$qt_path\bin\;" + $env:PATH
|
$env:PATH = "$qt_path\bin\;" + $env:PATH
|
||||||
|
|
||||||
|
mkdir "rssguard-build"
|
||||||
|
cd "rssguard-build"
|
||||||
|
& "$qt_qmake" "..\build.pro" "-r" "USE_WEBENGINE=$webengine" "CONFIG-=debug" "CONFIG-=debug_and_release" "CONFIG*=release"
|
||||||
|
nmake.exe
|
||||||
|
|
||||||
|
cd "src\rssguard"
|
||||||
|
nmake.exe install
|
||||||
|
|
||||||
|
cd "app"
|
||||||
|
windeployqt.exe --verbose 1 --compiler-runtime --no-translations --release rssguard.exe librssguard.dll
|
||||||
|
|
||||||
|
cd ".."
|
||||||
|
|
||||||
|
# Copy OpenSSL.
|
||||||
|
Copy-Item -Path "$qt_path\bin\libcrypto*.dll" -Destination ".\app\"
|
||||||
|
Copy-Item -Path "$qt_path\bin\libssl*.dll" -Destination ".\app\"
|
||||||
|
|
||||||
|
# Copy MySQL Qt plugin.
|
||||||
|
Copy-Item -Path "$qt_path\bin\libmariadb.dll" -Destination ".\app\"
|
||||||
|
|
||||||
|
nmake.exe windows_all
|
||||||
|
ls
|
Loading…
Add table
Reference in a new issue