[SailfishDevel] INSTALLS variable at pro file - installs at wrong location/is ignored

Gabriel Boehme m.gabrielboehme at googlemail.com
Mon Sep 16 23:15:54 UTC 2013


Hi sailors,

I'm playing around with Alpha 2 version of the SDK, my app is nothing
special - it just parses some iCal files. In the first version of the
SDK I deployed them with INSTALLS variable in pro-file to the device. 

I've put them in a folder next to the qml files called "data", so they
are at /usr/share/<my_app>/data/.... From the C++ backend I parsed them
with DEPLOYMENT_PATH/data/... That worked pretty nice. But with the
switch to Alpha 2 SDK it don't work anymore and the files are not
deployed at /usr/share/<my_app>/data/... anymore. After some
investigation it seems they are landing in /opt/sdk/share/Test/data/...

Why is it acting like this? And why is my path in the pro-file ignored?
Can someone bring some light in it?

By the way: I'm new to working with Qt in C++ so maybe I missed
something very common.^^ :)

Thanks in advance!

Gabriel.



More information about the Devel mailing list