← Back to team overview

ubuntu-appstore-developers team mailing list archive

Re: Executing fat packages

 

On 11/21/2013 08:40 PM, Ted Gould wrote:
> On Thu, 2013-11-21 at 17:11 -0600, Jamie Strandboge wrote:
>> On 11/21/2013 04:52 PM, Ted Gould wrote:
>> More importantly, I'm thinking this is probably not enough when considering
>> compiled programs. Right now, for arch-dependent non-fat packages, .desktop
>> files use '/usr/bin/qmlscene -I<relative_dir> someapp.qml. Eg:
>>
>> Exec=aa-exec-click -p com.ubuntu.developer.user.app_app_0.1 -- /usr/bin/qmlscene -I backend/modules app.qml
>> Path=/opt/click.ubuntu.com/.click/users/username/com.ubuntu.developer.user.app
>>
>> Where will C++ extensions like this end up in fat packages? Should we be
>> adjusting LD_LIBRARY_PATH in addition to PATH?
> 
> Adding an entry to LD_LIBRARY_PATH makes sense to me.  Would we just add
> lib/$(triplet) or is there a different path we should be adding?
> 
Actually, while we should probably set LD_LIBRARY_PATH to something, I'm
quessing that isn't going to help qmlscene find relative paths via -I.
QML2_IMPORT_PATH was suggested in:
http://stackoverflow.com/questions/14196070/how-to-use-a-qt-quick-2-extension-plugin-on-qml-with-qmlscene-or-qmlviewer5

Probably need to get some input from the SDK guys on what to set.

-- 
Jamie Strandboge                 http://www.ubuntu.com/

Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References