Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML module not found
Forum Updated to NodeBB v4.3 + New Features

QML module not found

Scheduled Pinned Locked Moved Solved QML and Qt Quick
16 Posts 3 Posters 3.1k Views 2 Watching
  • 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.
  • J jsulm
    2 Dec 2019, 05:27

    @small_bird said in QML module not found:

    I try to use qtquick window

    I know, you already explained that...

    S Offline
    S Offline
    small_bird
    wrote on 2 Dec 2019, 05:30 last edited by
    #5

    @jsulm i create a qml file in which to import qtquick model,but failed, strange!!it works well in cpp environment

    1 Reply Last reply
    0
    • J jsulm
      2 Dec 2019, 05:27

      @small_bird said in QML module not found:

      I try to use qtquick window

      I know, you already explained that...

      S Offline
      S Offline
      small_bird
      wrote on 2 Dec 2019, 05:36 last edited by
      #6

      @jsulm in the cpp environment, i configure qml direcory in pro file,but in Python, where to?

      J 1 Reply Last reply 2 Dec 2019, 05:38
      0
      • S small_bird
        2 Dec 2019, 05:36

        @jsulm in the cpp environment, i configure qml direcory in pro file,but in Python, where to?

        J Offline
        J Offline
        jsulm
        Lifetime Qt Champion
        wrote on 2 Dec 2019, 05:38 last edited by
        #7

        @small_bird said in QML module not found:

        but in Python, where to?

        I don't know since I do not use Qt with Python. Did you check PyQt/PySide (you still did not say which one you're using!) documentation?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        S 1 Reply Last reply 2 Dec 2019, 05:43
        0
        • J jsulm
          2 Dec 2019, 05:38

          @small_bird said in QML module not found:

          but in Python, where to?

          I don't know since I do not use Qt with Python. Did you check PyQt/PySide (you still did not say which one you're using!) documentation?

          S Offline
          S Offline
          small_bird
          wrote on 2 Dec 2019, 05:43 last edited by
          #8

          @jsulm i am using pyqt5

          J 1 Reply Last reply 2 Dec 2019, 05:44
          0
          • S small_bird
            2 Dec 2019, 05:43

            @jsulm i am using pyqt5

            J Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 2 Dec 2019, 05:44 last edited by
            #9

            @small_bird As long as nobody else is answering here I suggest to check PyQt documentation (especially QML part).

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            S 1 Reply Last reply 2 Dec 2019, 05:45
            0
            • J jsulm
              2 Dec 2019, 05:44

              @small_bird As long as nobody else is answering here I suggest to check PyQt documentation (especially QML part).

              S Offline
              S Offline
              small_bird
              wrote on 2 Dec 2019, 05:45 last edited by
              #10

              @jsulm where is the link ,could offer me?thanks a lot!

              J 1 Reply Last reply 2 Dec 2019, 05:47
              0
              • S small_bird
                2 Dec 2019, 05:45

                @jsulm where is the link ,could offer me?thanks a lot!

                J Offline
                J Offline
                jsulm
                Lifetime Qt Champion
                wrote on 2 Dec 2019, 05:47 last edited by
                #11

                @small_bird Did you try to search for it by yourself? Is not hard to find.
                https://www.riverbankcomputing.com/static/Docs/PyQt5/

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                S 2 Replies Last reply 2 Dec 2019, 05:53
                0
                • J jsulm
                  2 Dec 2019, 05:47

                  @small_bird Did you try to search for it by yourself? Is not hard to find.
                  https://www.riverbankcomputing.com/static/Docs/PyQt5/

                  S Offline
                  S Offline
                  small_bird
                  wrote on 2 Dec 2019, 05:53 last edited by
                  #12

                  @jsulm Yes, i have checked that, but the qml-python part is too simple, hope there is other information. I have googled for long time!!!

                  1 Reply Last reply
                  0
                  • J jsulm
                    2 Dec 2019, 05:47

                    @small_bird Did you try to search for it by yourself? Is not hard to find.
                    https://www.riverbankcomputing.com/static/Docs/PyQt5/

                    S Offline
                    S Offline
                    small_bird
                    wrote on 2 Dec 2019, 06:02 last edited by
                    #13

                    @jsulm whereis the explation of ".pyproject" file?

                    J 1 Reply Last reply 2 Dec 2019, 06:18
                    0
                    • S small_bird
                      2 Dec 2019, 06:02

                      @jsulm whereis the explation of ".pyproject" file?

                      J Offline
                      J Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on 2 Dec 2019, 06:18 last edited by
                      #14

                      @small_bird https://doc-snapshots.qt.io/qtcreator-4.11/creator-project-creating.html says it is JSON, but I do not have more information. You could search for examples (some PyQt projects with .pyproject file).

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      S 1 Reply Last reply 2 Dec 2019, 06:19
                      0
                      • J jsulm
                        2 Dec 2019, 06:18

                        @small_bird https://doc-snapshots.qt.io/qtcreator-4.11/creator-project-creating.html says it is JSON, but I do not have more information. You could search for examples (some PyQt projects with .pyproject file).

                        S Offline
                        S Offline
                        small_bird
                        wrote on 2 Dec 2019, 06:19 last edited by
                        #15

                        @jsulm Thanks a lot, problem solved! I open two qml projects(one is cpp other is python) together which cause the problem.

                        P 1 Reply Last reply 2 Dec 2019, 13:20
                        1
                        • S small_bird
                          2 Dec 2019, 06:19

                          @jsulm Thanks a lot, problem solved! I open two qml projects(one is cpp other is python) together which cause the problem.

                          P Offline
                          P Offline
                          Pablo J. Rogina
                          wrote on 2 Dec 2019, 13:20 last edited by
                          #16

                          @small_bird said in QML module not found:

                          problem solved!

                          So don't forget to mark your post as such!

                          Upvote the answer(s) that helped you solve the issue
                          Use "Topic Tools" button to mark your post as Solved
                          Add screenshots via postimage.org
                          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                          1 Reply Last reply
                          0

                          14/16

                          2 Dec 2019, 06:18

                          • Login

                          • Login or register to search.
                          14 out of 16
                          • First post
                            14/16
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups
                          • Search
                          • Get Qt Extensions
                          • Unsolved