From 70d131e1da2d38e467315837531df9d1f54205dd Mon Sep 17 00:00:00 2001 From: Tim Hughes Date: Wed, 23 Apr 2014 19:44:20 +0100 Subject: [PATCH] Walleth a little close to working (compiled qrc). --- walleth/MainWin.cpp | 4 ++++ windows/Walleth.vcxproj | 22 ++++++++++++++++++++++ windows/Walleth.vcxproj.filters | 4 ++++ 3 files changed, 30 insertions(+) diff --git a/walleth/MainWin.cpp b/walleth/MainWin.cpp index 6b36099e2..4df4bf0d1 100644 --- a/walleth/MainWin.cpp +++ b/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" diff --git a/windows/Walleth.vcxproj b/windows/Walleth.vcxproj index 3eed8091f..251d1c277 100644 --- a/windows/Walleth.vcxproj +++ b/windows/Walleth.vcxproj @@ -298,6 +298,28 @@ xcopy /D ..\..\Qt\$(Platform)\qtbase\lib\Qt5Widgets$(DebugSuffix).dll $(OutDir) {df3c5b07-a1a2-4f16-b37f-a27333622cdd} + + + Document + "$(QtBin)/rcc" -o "$(IntDir)qrc_%(FileName).cpp" "%(FullPath)" + "$(QtBin)/rcc" -o "$(IntDir)qrc_%(FileName).cpp" "%(FullPath)" + "$(QtBin)/rcc" -o "$(IntDir)qrc_%(FileName).cpp" "%(FullPath)" + "$(QtBin)/rcc" -o "$(IntDir)qrc_%(FileName).cpp" "%(FullPath)" + "$(QtBin)/rcc" -o "$(IntDir)qrc_%(FileName).cpp" "%(FullPath)" + "$(QtBin)/rcc" -o "$(IntDir)qrc_%(FileName).cpp" "%(FullPath)" + "$(QtBin)/rcc" -o "$(IntDir)qrc_%(FileName).cpp" "%(FullPath)" + "$(QtBin)/rcc" -o "$(IntDir)qrc_%(FileName).cpp" "%(FullPath)" + $(IntDir)qrc_%(FileName).cpp + $(IntDir)qrc_%(FileName).cpp + $(IntDir)qrc_%(FileName).cpp + $(IntDir)qrc_%(FileName).cpp + ../Walleth/Simple.qml + ../Walleth/Simple.qml + ../Walleth/Simple.qml + ../Walleth/Simple.qml + + + diff --git a/windows/Walleth.vcxproj.filters b/windows/Walleth.vcxproj.filters index cc783ee27..ba43a3244 100644 --- a/windows/Walleth.vcxproj.filters +++ b/windows/Walleth.vcxproj.filters @@ -27,4 +27,8 @@ Windows + + + + \ No newline at end of file