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 2.9k 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.
  • jsulmJ jsulm

    @small_bird said in QML module not found:

    I try to use qtquick window

    I know, you already explained that...

    small_birdS Offline
    small_birdS Offline
    small_bird
    wrote on 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
    • jsulmJ jsulm

      @small_bird said in QML module not found:

      I try to use qtquick window

      I know, you already explained that...

      small_birdS Offline
      small_birdS Offline
      small_bird
      wrote on last edited by
      #6

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

      jsulmJ 1 Reply Last reply
      0
      • small_birdS small_bird

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

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on 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

        small_birdS 1 Reply Last reply
        0
        • jsulmJ jsulm

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

          small_birdS Offline
          small_birdS Offline
          small_bird
          wrote on last edited by
          #8

          @jsulm i am using pyqt5

          jsulmJ 1 Reply Last reply
          0
          • small_birdS small_bird

            @jsulm i am using pyqt5

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on 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

            small_birdS 1 Reply Last reply
            0
            • jsulmJ jsulm

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

              small_birdS Offline
              small_birdS Offline
              small_bird
              wrote on last edited by
              #10

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

              jsulmJ 1 Reply Last reply
              0
              • small_birdS small_bird

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

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on 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

                small_birdS 2 Replies Last reply
                0
                • jsulmJ jsulm

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

                  small_birdS Offline
                  small_birdS Offline
                  small_bird
                  wrote on 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
                  • jsulmJ jsulm

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

                    small_birdS Offline
                    small_birdS Offline
                    small_bird
                    wrote on last edited by
                    #13

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

                    jsulmJ 1 Reply Last reply
                    0
                    • small_birdS small_bird

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

                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on 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

                      small_birdS 1 Reply Last reply
                      0
                      • jsulmJ jsulm

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

                        small_birdS Offline
                        small_birdS Offline
                        small_bird
                        wrote on 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.

                        Pablo J. RoginaP 1 Reply Last reply
                        1
                        • small_birdS small_bird

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

                          Pablo J. RoginaP Offline
                          Pablo J. RoginaP Offline
                          Pablo J. Rogina
                          wrote on 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

                          • Login

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