diff options
| author | kellygod <[email protected]> | 2024-05-13 15:14:16 +0800 |
|---|---|---|
| committer | kellygod <[email protected]> | 2024-05-13 15:16:57 +0800 |
| commit | 9a26b404d6b77fd11e8b0fb25939fb0e0b62f9b2 (patch) | |
| tree | 28f34223be2c1e1fd06c1cca4f9ef34849371fce /xmake/scripts | |
| parent | 619079e952be45e1f61077cf7fb035ba0ef45e5e (diff) | |
fix vs project not found *.qrc(QT) files
Diffstat (limited to 'xmake/scripts')
4 files changed, 6 insertions, 0 deletions
diff --git a/xmake/scripts/vsxmake/vsproj/templates/vcxproj.filters/#target#.vcxproj.filters b/xmake/scripts/vsxmake/vsproj/templates/vcxproj.filters/#target#.vcxproj.filters index eee3d1a12..217e32ed5 100644 --- a/xmake/scripts/vsxmake/vsproj/templates/vcxproj.filters/#target#.vcxproj.filters +++ b/xmake/scripts/vsxmake/vsproj/templates/vcxproj.filters/#target#.vcxproj.filters @@ -47,6 +47,7 @@ <ItemGroup> #Import(File.rc)# #Import(File.ui)# +#Import(File.qrc)# </ItemGroup> <Import Condition="Exists('$(MSBuildThisFileDirectory)\Xmake.Custom.files.filters')" Project="$(MSBuildThisFileDirectory)\Xmake.Custom.files.filters" /> diff --git a/xmake/scripts/vsxmake/vsproj/templates/vcxproj.filters/File.qrc(fileqrc) b/xmake/scripts/vsxmake/vsproj/templates/vcxproj.filters/File.qrc(fileqrc) new file mode 100644 index 000000000..9aee25191 --- /dev/null +++ b/xmake/scripts/vsxmake/vsproj/templates/vcxproj.filters/File.qrc(fileqrc) @@ -0,0 +1,3 @@ + <None Include="#path#"> + <Filter>#dir#</Filter> + </None> diff --git a/xmake/scripts/vsxmake/vsproj/templates/vcxproj/#target#.vcxproj b/xmake/scripts/vsxmake/vsproj/templates/vcxproj/#target#.vcxproj index b194ce86c..40b594b18 100644 --- a/xmake/scripts/vsxmake/vsproj/templates/vcxproj/#target#.vcxproj +++ b/xmake/scripts/vsxmake/vsproj/templates/vcxproj/#target#.vcxproj @@ -47,6 +47,7 @@ <ItemGroup> #Import(File.rc)# #Import(File.ui)# +#Import(File.qrc)# </ItemGroup> <!-- <ItemGroup> #Import(ProjectRef)# diff --git a/xmake/scripts/vsxmake/vsproj/templates/vcxproj/File.qrc(fileqrc) b/xmake/scripts/vsxmake/vsproj/templates/vcxproj/File.qrc(fileqrc) new file mode 100644 index 000000000..6429fe3e9 --- /dev/null +++ b/xmake/scripts/vsxmake/vsproj/templates/vcxproj/File.qrc(fileqrc) @@ -0,0 +1 @@ + <None Include="#path#" /> |
