Move windows theme to VMisc library.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2015-07-12 18:15:35 +03:00
parent 1aa09c1901
commit 01e1958aa5
73 changed files with 7 additions and 3 deletions

View File

@ -34,6 +34,7 @@
int main(int argc, char *argv[])
{
Q_INIT_RESOURCE(tapeicon);
Q_INIT_RESOURCE(theme);
QT_REQUIRE_VERSION(argc, argv, "5.0.0");

View File

@ -51,7 +51,6 @@ include(valentina.pri)
RESOURCES += \
share/resources/icon.qrc \ # All other icons except cursors and Windows theme.
share/resources/cursor.qrc \ # Tools cursor icons.
share/resources/theme.qrc \ # Windows theme icons.
share/resources/measurements.qrc \ # For measurements files that we save as resource.
share/resources/flags.qrc \
share/resources/toolicon.qrc

View File

@ -28,6 +28,10 @@ DEFINES += QT_MESSAGELOGCONTEXT
include(vmisc.pri)
# Resource files. This files will be included in binary.
RESOURCES += \
share/resources/theme.qrc \ # Windows theme icons.
# This is static library so no need in "make install"
# directory for executable file

View File

@ -17,7 +17,7 @@
<string>Broken formula</string>
</property>
<property name="windowIcon">
<iconset resource="../../../../app/share/resources/icon.qrc">
<iconset resource="../../../../app/valentina/share/resources/icon.qrc">
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
</property>
<property name="modal">
@ -66,7 +66,7 @@
</layout>
</widget>
<resources>
<include location="../../../../app/share/resources/icon.qrc"/>
<include location="../../../../app/valentina/share/resources/icon.qrc"/>
</resources>
<connections/>
</ui>