Initial project scaffold for Setec Partition Wizard

C++17/Qt6 application for disk recovery, repair, flashing, formatting,
and USB security key creation on Windows. Includes CMake build system,
tabbed UI shell with 6 main tabs, core type system with Result<T>
monadic error handling, admin elevation, and dark Catppuccin theme.
This commit is contained in:
DigiJ
2026-03-11 19:11:25 -07:00
commit 179bb85c4f
42 changed files with 2399 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
# QtDeployHelper.cmake - Post-build windeployqt integration
function(spw_deploy_qt TARGET)
if(WIN32)
find_program(WINDEPLOYQT windeployqt HINTS "${Qt6_DIR}/../../../bin")
if(WINDEPLOYQT)
add_custom_command(TARGET ${TARGET} POST_BUILD
COMMAND "${WINDEPLOYQT}"
--no-translations
--no-system-d3d-compiler
--no-opengl-sw
"$<TARGET_FILE:${TARGET}>"
COMMENT "Running windeployqt on ${TARGET}..."
)
endif()
endif()
endfunction()