Skip to content

Commit

Permalink
removed -CPP in project, deploy only necessary plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
Odizinne committed Aug 11, 2024
1 parent d9db517 commit 5c3bae3
Show file tree
Hide file tree
Showing 5 changed files with 711 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/qt-msvc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ jobs:
run: |
mkdir build
cd build
qmake ..\BigPictureTV-CPP.pro CONFIG+=release
qmake ..\BigPictureTV.pro CONFIG+=release
D:\a\BigPictureTV\Qt\Tools\QtCreator\bin\jom\jom.exe
- name: Remove source and object files
shell: pwsh
run: |
# Define the directory
$buildDir = "build/release"
# Check if the directory exists
if (Test-Path $buildDir) {
# Remove .cpp, .h, .obj, and .res files
Expand All @@ -67,10 +67,11 @@ jobs:
& $windeployqtPath `
--exclude-plugins qmodernwindowsstyle,qsvgicon,qsvg,qico,qjpeg,qgif,qnetworklistmanager,qtuiotouchplugin `
--no-opengl-sw `
--no-system-dxc-compiler `
--no-compiler-runtime `
--no-translations `
--no-system-d3d-compiler `
D:\a\BigPictureTV\BigPictureTV\build\release\BigPictureTV-CPP.exe
D:\a\BigPictureTV\BigPictureTV\build\release\BigPictureTV.exe
} else {
Write-Error "windeployqt not found at the expected path!"
exit 1
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
build/
BigPictureTV-CPP.pro.user
BigPictureTV.pro.user
Loading

0 comments on commit 5c3bae3

Please sign in to comment.