mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Only build qt.conf on windows, it breaks linux platform plugin search :(
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<RCC>
|
||||
<qresource prefix="/qt/etc">
|
||||
<file>qt.conf</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
@@ -68,7 +68,4 @@
|
||||
<file>action.png</file>
|
||||
<file>action_hover.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="/qt/etc">
|
||||
<file>qt.conf</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
@@ -61,6 +61,9 @@ win32 {
|
||||
silent:swig.commands = @echo SWIG ${QMAKE_FILE_IN} && $$swig.commands
|
||||
QMAKE_EXTRA_COMPILERS += swig
|
||||
|
||||
# windows only qrc file with qt.conf
|
||||
RESOURCES += Resources/qtconf.qrc
|
||||
|
||||
SWIGSOURCES += Code/pyrenderdoc/renderdoc.i
|
||||
SWIGSOURCES += Code/pyrenderdoc/qrenderdoc.i
|
||||
|
||||
|
||||
@@ -638,6 +638,7 @@
|
||||
<ClCompile Include="$(IntDir)generated\moc_VirtualFileDialog.cpp" />
|
||||
<ClCompile Include="$(IntDir)generated\moc_VulkanPipelineStateViewer.cpp" />
|
||||
<ClCompile Include="$(IntDir)generated\qrc_resources.cpp" />
|
||||
<ClCompile Include="$(IntDir)generated\qrc_qtconf.cpp" />
|
||||
<ClCompile Include="$(IntDir)generated\renderdoc_python.cxx">
|
||||
<DisableSpecificWarnings>4101;4456;4459;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
</ClCompile>
|
||||
@@ -1434,6 +1435,12 @@
|
||||
<Message>RCC resources.qrc</Message>
|
||||
<Outputs>$(IntDir)generated\qrc_resources.cpp</Outputs>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="Resources\qtconf.qrc">
|
||||
<AdditionalInputs>Resources\qtconf.qrc;$(ProjectDir)3rdparty\qt\$(Platform)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||
<Command>$(ProjectDir)3rdparty\qt\$(Platform)\bin\rcc.exe -name qtconf Resources\qtconf.qrc -o $(IntDir)generated\qrc_qtconf.cpp</Command>
|
||||
<Message>RCC qtconf.qrc</Message>
|
||||
<Outputs>$(IntDir)generated\qrc_qtconf.cpp</Outputs>
|
||||
</CustomBuild>
|
||||
<None Include="Resources\runback.png" />
|
||||
<None Include="Resources\runcursor.png" />
|
||||
<None Include="Resources\runfwd.png" />
|
||||
|
||||
@@ -618,6 +618,9 @@
|
||||
<ClCompile Include="Widgets\Extended\RDHeaderView.cpp">
|
||||
<Filter>Widgets\Extended</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(IntDir)generated\qrc_qtconf.cpp">
|
||||
<Filter>Generated Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="3rdparty\flowlayout\FlowLayout.h">
|
||||
@@ -1397,5 +1400,8 @@
|
||||
<CustomBuild Include="Widgets\Extended\RDHeaderView.h">
|
||||
<Filter>Widgets\Extended</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="Resources\qtconf.qrc">
|
||||
<Filter>Resources</Filter>
|
||||
</CustomBuild>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user