Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm developing application with Ubuntu Touch. I use QML and C++ plugin. I can launch the application from console using "qmlscene -I ./imports myApp.qml", but when I add new desktop file, wherein I write it must run my bash script, launching application, it not working. I see just white screen, when I push the button.

If I launch pure QML application, all works well. I think problem is in my C++ plugin.

I want to launch my application directly from phone, without use of adb or ssh in my desktop.

Could anyone help, please?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

The way we've been doing this with the Core Apps is to package the C++ plugin separately, and make that package a dependency of your app's package. Then you don't need the -I. We also use qmlscene /path/to/app.qml directly in the .desktop file's Exec line.

share|improve this answer
    
mhall119, thank you! It helped! –  RedRus May 21 '13 at 16:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.