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

    QML package issue in QT Creator

    Support
    2
    10
    171
    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.
    • I
      iqrajaved
      last edited by

      Hi everyone,

      I am trying to setup the development environment in unity8 and following all the steps being explained in the unity8 repo. Clickable is successfully working, QT creator also opens when I run the command clickable ide qtcreator. But the issue is, there are a few QML packages missing when I open the QML files, for example, the Util 0.1 is missing and error is reported as QML package not found.
      6fe29086-89ba-4887-a5ed-2fef50571a2b-image.png

      Also due to these errors, the GUIs are not loaded in the QT creator as shown below:

      dc0df97e-2cc0-48e7-bfab-3cec65947ecf-image.png

      I want to understand and contribute to the unity8 development, but I am facing these issues in the development environment.
      It will be very helpful if someone can help me resolve these issues. Thanks

      I 1 Reply Last reply Reply Quote 0
      • CiberSheepC CiberSheep moved this topic from Lomiri (was Unity8)
      • I
        iqrajaved @iqrajaved
        last edited by

        can anyone reply to this query? I want to run the development environment.

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

          @iqrajaved hi,
          first this repository is the latest one: https://gitlab.com/ubports/development/core/lomiri
          Someone forgot to archive it...
          The readme explain some hints to test and build ( need to be updated with correct path and repo...)
          I don't think you will be able to use the designer afaik.

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

            concerning the libs not being recognized, there is probably tneed to tune project paths.
            What i do myself is to not let clickable setup the project ( answered "no" to the question ). ( just remove all user files in the root directory before launching again)

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

              @lduboeuf Thank you, I will try with the latest repo and see if it works

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

                @iqrajaved
                humm last qtcreator seems more restrictive, there is an issue building Lomiri with QtCreator 11.xx
                We must have to disable QT_QML_DEBUG in CMakeList when using the Qt5.12 Kit. I toggled off QML Debugging. I think QML debugging is not doable btw

                Will try to update a video, now that QtCreator have a correct embedded terminal it is even more easier to test.
                But a short video to explain what was my setup in 2022 to develop on Lomiri: ( start in the middle for qtcreator https://m.youtube.com/watch?v=sejOiSEv1Vk )

                I lduboeufL 2 Replies Last reply Reply Quote 1
                • I
                  iqrajaved @lduboeuf
                  last edited by

                  @lduboeuf This youtube video really helps now I can see how can I see my changes that I do in the source code.

                  My next challenge is once I have done the changes in the source code, how can I build the .img file from that source code and port it to utqemu for example?

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

                    @iqrajaved said in QML package issue in QT Creator:

                    @lduboeuf This youtube video really helps now I can see how can I see my changes that I do in the source code.

                    My next challenge is once I have done the changes in the source code, how can I build the .img file from that source code and port it to utqemu for example?

                    You might look at https://github.com/ubports/ubports-pdk

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

                      @iqrajaved

                      humm last qtcreator seems more restrictive, there is an issue building Lomiri with QtCreator 11.xx
                      We must have to disable QT_QML_DEBUG in CMakeList when using the Qt5.12 Kit. I toggled off QML Debugging. I think QML debugging is not doable btw

                      Will try to update a video, now that QtCreator have a correct embedded terminal it is even more easier to test.
                      But a short video to explain what was my setup in 2022 to develop on Lomiri: ( start in the middle for qtcreator https://m.youtube.com/watch?v=sejOiSEv1Vk )

                      Updated a short video there: https://youtu.be/GgV8z0IsYzY

                      I 1 Reply Last reply Reply Quote 2
                      • I
                        iqrajaved @lduboeuf
                        last edited by

                        @lduboeuf thanks, I will look into this

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