On 21.08.2015 15:03, Petr Vytovtov wrote:

 >>> How have you set up your project and what is the exact error you get?

I just opened this project in QtCreator and chose armv7hl build.

It's unclear why it does not work (it should) but nevertheless the attached patch fixes the issue.

diff --git a/rpm/libsocialcache.spec b/rpm/libsocialcache.spec
index 9225f5b..6894cfb 100755
--- a/rpm/libsocialcache.spec
+++ b/rpm/libsocialcache.spec
@@ -1,3 +1,8 @@
+%{!?qtc_qmake:%define qtc_qmake %qmake}
+%{!?qtc_qmake5:%define qtc_qmake5 %qmake5}
+%{!?qtc_make:%define qtc_make make}
+%{?qtc_builddir:%define _builddir %qtc_builddir}
+
 Name:       libsocialcache
 Summary:    A library that manages data from social networks
 Version:    0.0.43
@@ -62,8 +67,8 @@ This package contains unit tests for the libsocialcache library.
 %setup -q -n %{name}-%{version}
 
 %build
-%qmake5
-make %{_smp_mflags}
+%qtc_qmake5
+%qtc_make %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to