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

QML package issue in QT Creator

Scheduled Pinned Locked Moved Support
10 Posts 2 Posters 559 Views 2 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.
    • I Offline
      iqrajaved
      last edited by 12 Sept 2023, 09:17

      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 14 Sept 2023, 10:12 Reply Quote 0
      • C CiberSheep moved this topic from Lomiri (was Unity8) on 12 Sept 2023, 17:01
      • I Offline
        iqrajaved @iqrajaved
        last edited by 14 Sept 2023, 10:12

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

        L 1 Reply Last reply 14 Sept 2023, 11:35 Reply Quote 0
        • L Offline
          lduboeuf @iqrajaved
          last edited by lduboeuf 14 Sept 2023, 11:35

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

          L 1 Reply Last reply 14 Sept 2023, 11:39 Reply Quote 0
          • L Offline
            lduboeuf @lduboeuf
            last edited by lduboeuf 14 Sept 2023, 11:39

            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 14 Sept 2023, 11:42 Reply Quote 0
            • I Offline
              iqrajaved @lduboeuf
              last edited by 14 Sept 2023, 11:42

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

              L 1 Reply Last reply 14 Sept 2023, 21:18 Reply Quote 0
              • L Offline
                lduboeuf @iqrajaved
                last edited by lduboeuf 14 Sept 2023, 21:18

                @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 L 2 Replies Last reply 15 Sept 2023, 09:33 Reply Quote 1
                • I Offline
                  iqrajaved @lduboeuf
                  last edited by 15 Sept 2023, 09:33

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

                  L 1 Reply Last reply 15 Sept 2023, 09:39 Reply Quote 0
                  • L Offline
                    lduboeuf @iqrajaved
                    last edited by 15 Sept 2023, 09:39

                    @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
                    • L Offline
                      lduboeuf @lduboeuf
                      last edited by 15 Sept 2023, 12:20

                      @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 20 Sept 2023, 13:42 Reply Quote 2
                      • I Offline
                        iqrajaved @lduboeuf
                        last edited by 20 Sept 2023, 13:42

                        @lduboeuf thanks, I will look into this

                        1 Reply Last reply Reply Quote 0
                        10 out of 10
                        • First post
                          10/10
                          Last post