Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Ubuntu.components ? ( Developpment guidelines )

    App Development
    6
    10
    835
    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.
    • lduboeuf
      lduboeuf last edited by

      Hi all,

      I've finally started to write a small project in pure QML , so i'm gathering examples and informations from everywhere i know...

      I've heard but not sure that "Ubuntu.components" is intended to be replaced, am i right ?
      Would Like to start a project that can be has much as cross platform possible.
      What would be your advises ?

      cheers

      libremax 1 Reply Last reply Reply Quote 2
      • lduboeuf
        lduboeuf last edited by

        After a few tests, found that replacing commons features such as hamburger menu, swipeable ListItem, PageStack add lots of code.
        So do we still use in future components such as MainView/PageStack/PageHeader with leading/trailing actions so that we do not have all that boilerplates code ?

        Any up to date app example using suru and QQC2 ?

        myii 1 Reply Last reply Reply Quote 0
        • myii
          myii @lduboeuf last edited by

          @lduboeuf Maybe @kugiigi can be more specific but I know he was working on this recently. Probably:

          • https://github.com/kugiigi/palitan-app
          1 Reply Last reply Reply Quote 0
          • libremax
            libremax @lduboeuf last edited by

            @lduboeuf

            Would Like to start a project that can be has much as cross platform possible.

            In medium/long term Ergo should be a good option for your goals.

            Donate anonymously 1€/$ by year to UBports, all Ubuntu Touch users can do it ! Demonstration:
            https://forums.ubports.com/topic/1262/donate-anonymously-1-by-year-to-ubports-all-ubuntu-touch-users-can-do-it-demonstration/

            1 Reply Last reply Reply Quote 0
            • Krille
              Krille last edited by

              But in fact there isnt a decision yet what the future toolkit of Ubuntu Touch will be, right?

              Thats not an ideal situation for app developers who would like to create future proof apps...

              libremax 1 Reply Last reply Reply Quote 2
              • libremax
                libremax @Krille last edited by

                @krille Indeed a good question for next Q&A...

                Donate anonymously 1€/$ by year to UBports, all Ubuntu Touch users can do it ! Demonstration:
                https://forums.ubports.com/topic/1262/donate-anonymously-1-by-year-to-ubports-all-ubuntu-touch-users-can-do-it-demonstration/

                Z 1 Reply Last reply Reply Quote 2
                • Z
                  zlamalp @libremax last edited by

                  @libremax said in Ubuntu.components ? ( Developpment guidelines ):

                  @krille Indeed a good question for next Q&A...

                  Hi, exactly my point. I also just started to play with QML and I think that Ubuntu packages were meant to ease on development and to ensure more UX consistency on uTouch apps. It would be a shame to throw it all away. But it's hard to tell, how much work is it to keep it compatible with used (latest) QT.

                  I don't know C++ and for example phone and messaging apps are complicated to me right now. It would be much easier to have QML object wrapping whatever C++ implementation to make a call and simply call it from QML code.

                  So I could focus on different design of a phone app instead of learning deep C++ and its interactions with some system/backend service.

                  1 Reply Last reply Reply Quote 1
                  • K
                    kugiigi last edited by

                    @myii said in Ubuntu.components ? ( Developpment guidelines ):

                    @lduboeuf Maybe @kugiigi can be more specific but I know he was working on this recently. Probably:

                    • https://github.com/kugiigi/palitan-app

                    Yes, Palitan is an app written mainly with QQC2 but mixed with some UITK especially for icons 🙂
                    If you really want cross-platform possibility, then I suggest you use pure QQC2.
                    There are still things that doesn't work yet in UT though such as text operations in text fields but QQC2 does work quite well already. A great cross-platform app that uses QQC2 is nymea-app. You should definitely check it out.
                    It looks and works the same in Android, iOS and UT 😉
                    https://open-store.io/app/io.guh.nymeaapp

                    1 Reply Last reply Reply Quote 2
                    • lduboeuf
                      lduboeuf last edited by

                      Well, my first native app just landed on Openstore. https://open-store.io/app/ttbn.lduboeuf
                      I've only used QQC2 components and imported needed svg icons from suru theme.
                      I admit that as a QML beginner, it was sometimes hard to make things work and displayed correctly... color theme is still not that good.

                      But i'm happy that i can now build for multi os and still use QtCreator.
                      Thanks for all your examples

                      1 Reply Last reply Reply Quote 6
                      • Krille
                        Krille last edited by

                        Congratulations!! 🙂

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