Snapping Ubuntu phone app using "ubuntu-app-platform"

XiaoGuo Liu xiaoguo.liu at canonical.com
Thu Nov 24 03:49:36 UTC 2016


It is done. Thanks!

On Thu, Nov 24, 2016 at 10:54 AM, Érico P <ericoporto2008 at gmail.com> wrote:

> Very cool, when possible please add a README on the github repository.
>
> Em 24 de nov de 2016 12:44 AM, "XiaoGuo Liu" <xiaoguo.liu at canonical.com>
> escreveu:
>
>> Hi,
>>
>> I have created a Chinese blog at http://blog.csdn.net/ubuntu
>> touch/article/details/53315941. It shows how to make use of
>> ubuntu-app-platform to create a Qt-based application using content
>> interface. Hopefully, it is useful to some of you!
>>
>> Thanks & best regards,
>> XiaoGuo
>>
>> On Wed, Nov 23, 2016 at 3:48 PM, XiaoGuo Liu <xiaoguo.liu at canonical.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> I just found that there was nothing wrong with my project. After some
>>> troubleshooting, I finally found the root cause of the problem. The ubuntu-app-platform
>>> is based on Qt 5.6.1 version. However, the Qt version on my desktop is
>>> Qt 5.5.1
>>>
>>> As suggested by the blog https://developer.ubuntu.
>>> com/en/blog/2016/11/16/snapping-qt-apps/, we need to install
>>> the  stable-phone-overlay at https://launchpad.net/~ci-t
>>> rain-ppa-service/+archive/ubuntu/stable-phone-overlay/. We need to do
>>> "sudo apt upgrade" and "sudo apt dist-upgrade" to make sure our Qt version
>>> is Qt 5.6.1. Then everything will be fine.
>>>
>>> Best regards,
>>> XiaoGuo
>>>
>>>
>>>
>>>
>>>
>>> On Wed, Nov 23, 2016 at 12:21 PM, XiaoGuo Liu <xiaoguo.liu at canonical.com
>>> > wrote:
>>>
>>>> Hi,
>>>>
>>>> I just read a blog about snapping a Qt app at:
>>>>
>>>> https://developer.ubuntu.com/en/blog/2016/11/16/snapping-qt-apps/
>>>>
>>>> I followed the step, and I made my own project at:
>>>>
>>>> https://github.com/liu-xiao-guo/rssreader_platform
>>>>
>>>> The file size is dropped dramatically. However, there is a problem when
>>>> launching the app:
>>>>
>>>> =================================================================
>>>> "This application failed to start because it could not find or load the
>>>> Qt platform plugin "xcb".
>>>>
>>>> Reinstalling the application may fix this problem.
>>>> Aborted (core dumped)
>>>> =================================================================
>>>>
>>>> I am not sure what is missing in my project.
>>>>
>>>> However, my sample app at https://github.com/liu-xiao
>>>> -guo/rssreader_slim. It works fine, and it does not use
>>>> "ubuntu-app-platform", which uses the content sharing.
>>>>
>>>> Can anyone help me?
>>>>
>>>> Thanks & best regards,
>>>> XiaoGuo
>>>>
>>>>
>>>> --
>>>> XiaoGuo, Liu
>>>>
>>>
>>>
>>>
>>> --
>>> XiaoGuo, Liu
>>>
>>
>>
>>
>> --
>> XiaoGuo, Liu
>>
>> --
>> Snapcraft mailing list
>> Snapcraft at lists.snapcraft.io
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
>> an/listinfo/snapcraft
>>
>>
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>
>


-- 
XiaoGuo, Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161124/736ea8da/attachment.html>


More information about the Snapcraft mailing list