From 7a1913ee398f0fa0f1c55b86a1e3a190615a44a5 Mon Sep 17 00:00:00 2001 From: Xian Nox Date: Wed, 18 Dec 2013 00:10:21 +0100 Subject: [PATCH 1/2] Updated .desktop path --- qcma.pro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcma.pro b/qcma.pro index 39554d9..4d6b305 100644 --- a/qcma.pro +++ b/qcma.pro @@ -101,10 +101,10 @@ unix { DATADIR = $$PREFIX/share desktop.path = $$DATADIR/applications/$${TARGET} - desktop.files += $${TARGET}.desktop + desktop.files += resources/$${TARGET}.desktop icon64.path = $$DATADIR/icons/hicolor/64x64/apps - icon64.files += resources/$${TARGET}.png + icon64.files += resources/images/$${TARGET}.png target.path = $$BINDIR INSTALLS += target desktop icon64 From a4eba80804ead9f56675f5f74480656dafafef33 Mon Sep 17 00:00:00 2001 From: Xian Nox Date: Wed, 18 Dec 2013 00:14:29 +0100 Subject: [PATCH 2/2] Changed lrelease parameter --- rpmbuild/qcma.spec | 2 +- rpmbuild/qcma64.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rpmbuild/qcma.spec b/rpmbuild/qcma.spec index 0e10df4..8ee0aea 100644 --- a/rpmbuild/qcma.spec +++ b/rpmbuild/qcma.spec @@ -28,7 +28,7 @@ cp -r $RPM_SOURCE_DIR/qcma $RPM_BUILD_DIR/qcma %setup -n qcma -DT %build -lrelease qcma.pro +lrelease resources/translations/*.ts qmake PREFIX=/usr make diff --git a/rpmbuild/qcma64.spec b/rpmbuild/qcma64.spec index 0e10df4..8ee0aea 100644 --- a/rpmbuild/qcma64.spec +++ b/rpmbuild/qcma64.spec @@ -28,7 +28,7 @@ cp -r $RPM_SOURCE_DIR/qcma $RPM_BUILD_DIR/qcma %setup -n qcma -DT %build -lrelease qcma.pro +lrelease resources/translations/*.ts qmake PREFIX=/usr make