UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Ubuntu Touch Programming Course

    Scheduled Pinned Locked Moved App Development
    documentationubuntu touch
    113 Posts 27 Posters 67.8k Views 12 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • T Offline
        TischlerWilly
        last edited by

        Great that you write this tutorial for us 🙂

        I have follow the instructions to install the SDK.
        So far so good.
        but i can not install the developer kitÅ›.
        I get every time the following error message:

        Creating image with: framework: ubuntu-sdk-15.04 arch: amd64
        error: No storage pool found. Please create a new storage pool.
        ---Task exited with errors, please check the output---

        Why it can not find the pool? Have I forgot something?
        System is up to date.
        Ubuntu SDK IDE is installed.
        PPA is added.
        Iḿ in the usergroup lxd.
        PC is restarted

        Pulsar33P 1 Reply Last reply Reply Quote 0
        • mimecarM Offline
          mimecar
          last edited by

          @TischlerWilly said in Ubuntu Touch Programming Course:

          error: No storage pool found. Please create a new storage pool

          What version of Ubuntu are you using?

          1 Reply Last reply Reply Quote 0
          • T Offline
            TischlerWilly
            last edited by TischlerWilly

            Linux Mint 18 Cinnamon 64-bit

            Have I to use the Ubuntu Gnome Desktop?

            mimecarM 1 Reply Last reply Reply Quote 0
            • mimecarM Offline
              mimecar @TischlerWilly
              last edited by

              @TischlerWilly,

              It may be a particular Linux Mint bug. This weekend I can create a virtual machine and check if I can replicate the bug. The course I'm programming in Ubuntu 16.04 with the Mate desktop (although it should work with any desktop).

              1 Reply Last reply Reply Quote 0
              • mimecarM Offline
                mimecar
                last edited by

                Hi guys.

                At the end of the week I'll be uploading the resources I used at Ubucon Paris 2017. The virtual machine uses Ubuntu Mate 16.04 and has the SDK ready to work. Just download the file, configure VirtualBox and start programming applications.

                The link to the presentation is temporary, when I publish it I will update the link.
                https://drive.google.com/open?id=0B1tk1v5ejGZzY2VKWWh0cWhHTVk

                I hope at the end of the month to upload the translations of several course sessions. My intention is to match the Spanish and English versions before continuing with the new content.

                1 Reply Last reply Reply Quote 2
                • mimecarM Offline
                  mimecar
                  last edited by mimecar

                  Good afternoon.

                  You can now download the resources I used in the UbuconParis 2017 workshop. The virtual machine has the following features:

                  • Ubuntu 16.04 with the Mate desktop.
                  • SDK already configured with IDE icon on the desktop.
                  • The workshop exercises are saved in the User Folder.

                  The credentials are:

                  • User: ubucon
                  • Password: ubucon

                  Links are public. I would ask you to download the resources using the short link because that way I can have some statistics.

                  • VirtualBox machine (13 GB)
                  • Workshop presentation

                  It is possible, in the future, to add new elements to the virtual machine. It all depends on the suggestions you make. If you have any problems with the file you can indicate it in this thread.

                  I hope to publish new translations of the course next week. When the English and Spanish versions are ready, I will create new content.for both.

                  W tatonutaT 2 Replies Last reply Reply Quote 5
                  • BastosB Offline
                    Bastos
                    last edited by

                    Great. Thank you. I am nota developer but afiu now we are able to use the SDK again. I will give it a try anyway.

                    1 Reply Last reply Reply Quote -1
                    • W Offline
                      wilfridd @mimecar
                      last edited by

                      @mimecar
                      Hi,

                      It seems that the link to the VirtualBox VM is down...
                      Could you provide it again?
                      Thanks
                      W.

                      1 Reply Last reply Reply Quote 0
                      • mimecarM Offline
                        mimecar
                        last edited by

                        Hi @wilfridd. I've fixed the link, check again.

                        W 1 Reply Last reply Reply Quote 0
                        • W Offline
                          wilfridd @mimecar
                          last edited by

                          @mimecar
                          That's ok! Many thanks

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            Tewel
                            last edited by

                            Thank You. Works great!

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              Tewel
                              last edited by

                              Is it possible to run an „only“ C++ projekt with qt and on the device? I need, for example, the QNetworkAccessManager, its only in c++. If I try to compile it, it says „no executable found“... Thanks for help.

                              1 Reply Last reply Reply Quote 0
                              • mimecarM Offline
                                mimecar
                                last edited by

                                If it is a C++ project that needs external libraries, you have to add them to the project configuration. Did you do it? Is the application running well on your PC?

                                T 1 Reply Last reply Reply Quote 0
                                • T Offline
                                  Tewel @mimecar
                                  last edited by

                                  @mimecar Hello, thank you for helping. Im not sure. There are 3 modes: 1. Desktop: it works fine 2. UbuntuSDK for Desktop, it does not work, whants me to give him the executable „please specify one“ the 3. UbuntuSDK for device, I didn‘t tried yet. How do I give him the right libs? And where? Is there a documentation? I don‘t know exactly what I should search for to get the specific instruction... My experiences are only with visual-studio... and not cross anything :0) But I would like to get through this...

                                  1 Reply Last reply Reply Quote 0
                                  • mimecarM Offline
                                    mimecar
                                    last edited by

                                    Hi, @Tewel,

                                    So far I have only worked with QML and JavaScript. If you send me the project you want to compile (with the minimum code the library uses), I'll check it over the weekend.

                                    T 2 Replies Last reply Reply Quote 1
                                    • T Offline
                                      Tewel @mimecar
                                      last edited by Tewel

                                      @mimecar Thank you, thats a nice offer! You led me to a thing I whant to try first „Integration of qlm and c++“ there is a documentation. In the web are some hints that its nessesary to do this first, if you whant to use c++ with qml and ubuntu. But there was no time until now to figure it out. I will tell if its the solution....

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        Tewel @mimecar
                                        last edited by Tewel

                                        @mimecar Ok, the Connection of QML with c++ was needed first. Found a very helpfull Tutorial https://www.youtube.com/playlist?list=PLfkTJXI2Tk-e6Px7PRXvMxT6tH8e7rQ9i
                                        Thank you for helping.

                                        1 Reply Last reply Reply Quote 0
                                        • mimecarM Offline
                                          mimecar
                                          last edited by mimecar

                                          Ok @Tewel, I will check your link.

                                          A gift for Halloween (Advanced QML concepts chapter):
                                          https://mimecar.gitbooks.io/ubuntu-touch-programming-course/en/

                                          Code published:
                                          https://github.com/mimecar/ubuntu-touch-programming-course-src

                                          1 Reply Last reply Reply Quote 1
                                          • HendriXXXH Offline
                                            HendriXXX
                                            last edited by

                                            I'm trying to get ubuntu-sdk running on my laptop.System is Ubuntu 16.04.
                                            I have followed your guide. I get following errors when trying to start ubuntu-sdk...

                                            Stopping containers: All containers stopped. Creating default network bridge ..... FAILED 
                                            error: Creating the bridge failed with: not implemented 
                                            —-Task exited with errors, please check the output---
                                            

                                            And next popup says..

                                            qtcreator: Setting up the container backend failed.
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • F Offline
                                              fulvio
                                              last edited by fulvio

                                              Hi @HendriXXX
                                              NOT sure if it is the solution, but take a look at this: https://insights.ubuntu.com/2016/04/07/lxd-networking-lxdbr0-explained/
                                              Looking at that document running from a shell: sudo lxd init could be useful.
                                              Otherwise (the simple solution) is download the virtual machine already configured with the sdk
                                              using the link that you can find in this thread published by mimecar.

                                              1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post