Beginner guides



  • 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?



  • @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).



  • 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'})
    


  • @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



  • @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


Log in to reply