Browse Source

Walleth a little close to working (compiled qrc).

cl-refactor
Tim Hughes 11 years ago
parent
commit
70d131e1da
  1. 4
      walleth/MainWin.cpp
  2. 22
      windows/Walleth.vcxproj
  3. 4
      windows/Walleth.vcxproj.filters

4
walleth/MainWin.cpp

@ -296,6 +296,10 @@ void Main::on_create_triggered()
#include\
"moc_MainWin.cpp"
// include qrc content
#include\
"qrc_Resources.cpp"
// specify library dependencies, it's easier to do here than in the project since we can control the "d" debug suffix
#ifdef _DEBUG
#define QTLIB(x) x"d.lib"

22
windows/Walleth.vcxproj

@ -298,6 +298,28 @@ xcopy /D ..\..\Qt\$(Platform)\qtbase\lib\Qt5Widgets$(DebugSuffix).dll $(OutDir)
<Project>{df3c5b07-a1a2-4f16-b37f-a27333622cdd}</Project>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<CustomBuild Include="..\walleth\Resources.qrc">
<FileType>Document</FileType>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(QtBin)/rcc" -o "$(IntDir)qrc_%(FileName).cpp" "%(FullPath)"</Command>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(QtBin)/rcc" -o "$(IntDir)qrc_%(FileName).cpp" "%(FullPath)"</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(QtBin)/rcc" -o "$(IntDir)qrc_%(FileName).cpp" "%(FullPath)"</Command>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(QtBin)/rcc" -o "$(IntDir)qrc_%(FileName).cpp" "%(FullPath)"</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">"$(QtBin)/rcc" -o "$(IntDir)qrc_%(FileName).cpp" "%(FullPath)"</Command>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">"$(QtBin)/rcc" -o "$(IntDir)qrc_%(FileName).cpp" "%(FullPath)"</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QtBin)/rcc" -o "$(IntDir)qrc_%(FileName).cpp" "%(FullPath)"</Command>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QtBin)/rcc" -o "$(IntDir)qrc_%(FileName).cpp" "%(FullPath)"</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)qrc_%(FileName).cpp</Outputs>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)qrc_%(FileName).cpp</Outputs>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)qrc_%(FileName).cpp</Outputs>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)qrc_%(FileName).cpp</Outputs>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">../Walleth/Simple.qml</AdditionalInputs>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">../Walleth/Simple.qml</AdditionalInputs>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">../Walleth/Simple.qml</AdditionalInputs>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">../Walleth/Simple.qml</AdditionalInputs>
</CustomBuild>
<None Include="..\walleth\Simple.qml" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>

4
windows/Walleth.vcxproj.filters

@ -27,4 +27,8 @@
<Filter>Windows</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="..\walleth\Resources.qrc" />
<None Include="..\walleth\Simple.qml" />
</ItemGroup>
</Project>
Loading…
Cancel
Save