[Qt-creator] Deployment to Harmattan device

Harri Pasanen harri at mpaja.com
Tue Feb 14 17:00:00 CET 2012

On 02/14/2012 01:43 PM, Christian Kandeler wrote:
> On 14/02/12 13:11, ext Harri Pasanen wrote:
>> It looks like deployment to N9 happens through SFTP to /tmp.
> Yeah, sorry about that.
>> This is a problem since /tmp is a tmpfs, thus in RAM and only 4Mb in size.
>> As soon as the application size goes over, the deployment fails:
> https://bugreports.qt-project.org/browse/QTCREATORBUG-6859
>> My question is, can the the target directory be configured somewhere?
> It will be the developer's /home directory in 2.5 (as it was until 2.3).
> Moving it to /tmp was an unintended side effect of fixing
> https://bugreports.qt-project.org/browse/QTCREATORBUG-5916.

Ok, in the category "How dirty can you get?" ...

I fixed this locally with the following  piece of python

#!/usr/bin/env python

with open("libRemoteLinux.so", "rb") as f:
     bytes = f.read()
bytes = bytes.replace("/tmp", "/tm2")
with open("libRemoteLinux.so","wb") as f:

# Then on N9 run following as root
# chmod a+rwx /tm2

Kids, don't do this at home, and all other standard disclaimers apply.

When the results justify the means...


> Christian
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator

More information about the Qt-creator mailing list