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

    Beginner guides

    Scheduled Pinned Locked Moved App Development
    5 Posts 3 Posters 1.1k Views 4 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.
      • F Offline
        FishFingers44
        last edited by

        Hi, Just wanted to check what the best way to go about developing UT apps. Is there a virtual machine that can be downloaded?

        Are there any recommended reading guides/wiki pages also?

        advocatuxA lduboeufL 2 Replies Last reply Reply Quote 2
        • advocatuxA Offline
          advocatux @FishFingers44
          last edited by advocatux

          @FishFingers44 hi, probably the easier way to start developing apps for UT is https://clickable.bhdouglass.com/en/latest/

          Edit: "we" have too a group in Matrix for people starting to learn coding (#ub_bootcamp:matrix.org).

          1 Reply Last reply Reply Quote 1
          • F Offline
            FishFingers44
            last edited by

            so Running clickable create after installing the first bits returns this

            clickable create
            Traceback (most recent call last):
              File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 655, in _build_master
                ws.require(__requires__)
              File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 963, in require
                needed = self.resolve(parse_requirements(requirements))
              File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 854, in resolve
                raise VersionConflict(dist, req).with_context(dependent_req)
            pkg_resources.ContextualVersionConflict: (requests 2.12.4 (/usr/lib/python3/dist-packages), Requirement.parse('requests>=2.18.0'), {'cookiecutter'})
            
            During handling of the above exception, another exception occurred:
            
            Traceback (most recent call last):
              File "/usr/local/bin/clickable", line 6, in <module>
                from pkg_resources import load_entry_point
              File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3019, in <module>
                @_call_aside
              File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3003, in _call_aside
                f(*args, **kwargs)
              File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3032, in _initialize_master_working_set
                working_set = WorkingSet._build_master()
              File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 657, in _build_master
                return cls._build_from_requirements(__requires__)
              File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 670, in _build_from_requirements
                dists = ws.resolve(reqs, Environment())
              File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 854, in resolve
                raise VersionConflict(dist, req).with_context(dependent_req)
            pkg_resources.ContextualVersionConflict: (requests 2.12.4 (/usr/lib/python3/dist-packages), Requirement.parse('requests>=2.18.0'), {'cookiecutter'})
            
            lduboeufL 1 Reply Last reply Reply Quote 0
            • lduboeufL Offline
              lduboeuf @FishFingers44
              last edited by

              @FishFingers44 You can find the repository of Clickable here : https://gitlab.com/clickable/clickable/issues

              Maybe you will have better audience by posting an issue there

              1 Reply Last reply Reply Quote 1
              • lduboeufL Offline
                lduboeuf @FishFingers44
                last edited by

                @FishFingers44 Have you already checked Ubports documentation ?
                http://docs.ubports.com/en/latest/index.html

                Depending of your projects, but if you want to develop a "standalone" applications and Cross-platforms, i would recommend you to learn Qt QML with QtQuick Controls 2 first, so that you can test easily ( and quickly ) your app on your desktop.
                Beware that ubuntu touch ships Qt 5.9.7 ( not 100% sure)
                Clickable is the shortest path for a quick "hello world" on UT

                1 Reply Last reply Reply Quote 1

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post