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:
16
cmake/QtDeployHelper.cmake
Normal file
16
cmake/QtDeployHelper.cmake
Normal 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()
|
||||
Reference in New Issue
Block a user