From 1e2ee51b19f021f2ffbf5ea86111fc099d899af1 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sat, 29 Aug 2026 23:22:06 +1000 Subject: [PATCH] MSBuild: Track Qt resource outputs Record QRC inputs and RCC outputs in native build tlogs so editing a .qrc file schedules and performs resource regeneration. --- dep/vsprops/QtCompile.props | 34 +++++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/dep/vsprops/QtCompile.props b/dep/vsprops/QtCompile.props index faa77efbc..f78e6f0c5 100644 --- a/dep/vsprops/QtCompile.props +++ b/dep/vsprops/QtCompile.props @@ -38,22 +38,38 @@ - - - - + Condition="'@(QtResource)'!=''"> + + + %(QtResource.FullPath) + "$(QtHostBinDir)rcc.exe" -binary -no-compress "%(QtResource.FullPath)" -o "$(QtRccOutDir)%(QtResource.Filename).rcc" + $(QtRccOutDir)%(QtResource.Filename).rcc + + - + + + + + + + + <_QtResourceOutOfDate Remove="@(_QtResourceOutOfDate)" /> + - +