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 and QT Quick error
Forum Updated to NodeBB v4.3 + New Features

QML and QT Quick error

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
33 Posts 6 Posters 8.8k Views 5 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.
  • L Lelouche

    @koahnig
    I use Qt 5.14.1

    K Offline
    K Offline
    koahnig
    wrote on last edited by
    #7

    @Lelouche

    Are you using Qt creator as development environment?

    Vote the answer(s) that helped you to solve your issue(s)

    L 1 Reply Last reply
    0
    • K koahnig

      @Lelouche

      Are you using Qt creator as development environment?

      L Offline
      L Offline
      Lelouche
      wrote on last edited by
      #8

      @koahnig
      I use QT Creator as a development environment. I installed the open source version ..
      sorry if i take a long time to answer just that i am new in the forum and i should only answer after every 10 minutes

      K 1 Reply Last reply
      0
      • L Lelouche

        @koahnig
        I use QT Creator as a development environment. I installed the open source version ..
        sorry if i take a long time to answer just that i am new in the forum and i should only answer after every 10 minutes

        K Offline
        K Offline
        koahnig
        wrote on last edited by
        #9

        @Lelouche

        Best is to create a new Qt Quick project. Compile and run as is to verify that it is properly created. Then try to use the designer on its .qml files. As indicated above, I have tried the application Stack
        5b928d37-b593-4171-883e-8483d6b9dc14-image.png

        It should work with this project.
        If not, you probably have a problem with your installation of Qt. Remove and reinstall the open source version completely.

        Vote the answer(s) that helped you to solve your issue(s)

        L 2 Replies Last reply
        0
        • K koahnig

          @Lelouche

          Best is to create a new Qt Quick project. Compile and run as is to verify that it is properly created. Then try to use the designer on its .qml files. As indicated above, I have tried the application Stack
          5b928d37-b593-4171-883e-8483d6b9dc14-image.png

          It should work with this project.
          If not, you probably have a problem with your installation of Qt. Remove and reinstall the open source version completely.

          L Offline
          L Offline
          Lelouche
          wrote on last edited by
          #10

          @koahnig
          Hello since I read your message I try in wine to solve the problem but nothing. I use the emulation layer given by Qt nothing works I even use the puppet nothing always but in revenge I noticed that my path was empty in the .pro file. should i add some path? I am waiting for your response thank you

          1 Reply Last reply
          0
          • K koahnig

            @Lelouche

            Best is to create a new Qt Quick project. Compile and run as is to verify that it is properly created. Then try to use the designer on its .qml files. As indicated above, I have tried the application Stack
            5b928d37-b593-4171-883e-8483d6b9dc14-image.png

            It should work with this project.
            If not, you probably have a problem with your installation of Qt. Remove and reinstall the open source version completely.

            L Offline
            L Offline
            Lelouche
            wrote on last edited by
            #11

            QML_Import parth and QML Designer import parth are empty

            K 1 Reply Last reply
            0
            • L Lelouche

              QML_Import parth and QML Designer import parth are empty

              K Offline
              K Offline
              koahnig
              wrote on last edited by
              #12

              @Lelouche

              This is my automatically generated .pro file

              QT += quick
              
              CONFIG += c++11
              
              # The following define makes your compiler emit warnings if you use
              # any Qt feature that has been marked deprecated (the exact warnings
              # depend on your compiler). Refer to the documentation for the
              # deprecated API to know how to port your code away from it.
              DEFINES += QT_DEPRECATED_WARNINGS
              
              # You can also make your code fail to compile if it uses deprecated APIs.
              # In order to do so, uncomment the following line.
              # You can also select to disable deprecated APIs only up to a certain version of Qt.
              #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
              
              SOURCES += \
                      main.cpp
              
              RESOURCES += qml.qrc
              
              # Additional import path used to resolve QML modules in Qt Creator's code model
              QML_IMPORT_PATH =
              
              # Additional import path used to resolve QML modules just for Qt Quick Designer
              QML_DESIGNER_IMPORT_PATH =
              
              # Default rules for deployment.
              qnx: target.path = /tmp/$${TARGET}/bin
              else: unix:!android: target.path = /opt/$${TARGET}/bin
              !isEmpty(target.path): INSTALLS += target
              

              Both settings are empty as well.

              b59d1757-9867-41d5-b448-26045016dbbd-image.png

              This above are my Qt creator settings for Qt Quick.

              At the moment I have no further idea of might be wrong with your setup.

              Vote the answer(s) that helped you to solve your issue(s)

              L 1 Reply Last reply
              0
              • K koahnig

                @Lelouche

                This is my automatically generated .pro file

                QT += quick
                
                CONFIG += c++11
                
                # The following define makes your compiler emit warnings if you use
                # any Qt feature that has been marked deprecated (the exact warnings
                # depend on your compiler). Refer to the documentation for the
                # deprecated API to know how to port your code away from it.
                DEFINES += QT_DEPRECATED_WARNINGS
                
                # You can also make your code fail to compile if it uses deprecated APIs.
                # In order to do so, uncomment the following line.
                # You can also select to disable deprecated APIs only up to a certain version of Qt.
                #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
                
                SOURCES += \
                        main.cpp
                
                RESOURCES += qml.qrc
                
                # Additional import path used to resolve QML modules in Qt Creator's code model
                QML_IMPORT_PATH =
                
                # Additional import path used to resolve QML modules just for Qt Quick Designer
                QML_DESIGNER_IMPORT_PATH =
                
                # Default rules for deployment.
                qnx: target.path = /tmp/$${TARGET}/bin
                else: unix:!android: target.path = /opt/$${TARGET}/bin
                !isEmpty(target.path): INSTALLS += target
                

                Both settings are empty as well.

                b59d1757-9867-41d5-b448-26045016dbbd-image.png

                This above are my Qt creator settings for Qt Quick.

                At the moment I have no further idea of might be wrong with your setup.

                L Offline
                L Offline
                Lelouche
                wrote on last edited by
                #13

                @koahnig
                Hi you are doing well I hope it is exactly the same as at home but I do not understand why mine has problems .. you use the open source version?

                K 1 Reply Last reply
                0
                • L Lelouche

                  @koahnig
                  Hi you are doing well I hope it is exactly the same as at home but I do not understand why mine has problems .. you use the open source version?

                  K Offline
                  K Offline
                  koahnig
                  wrote on last edited by
                  #14

                  @Lelouche

                  Yes, Qt5.14.1 open source for MinGW 32bit in this case.

                  Vote the answer(s) that helped you to solve your issue(s)

                  L 2 Replies Last reply
                  0
                  • K koahnig

                    @Lelouche

                    Yes, Qt5.14.1 open source for MinGW 32bit in this case.

                    L Offline
                    L Offline
                    Lelouche
                    wrote on last edited by
                    #15

                    @koahnig
                    Exactly the same thing as me but I do not know where there is the problem I will uninstall delete all related data and reinstall again. I'll let you know after that thank you

                    1 Reply Last reply
                    0
                    • K koahnig

                      @Lelouche

                      Yes, Qt5.14.1 open source for MinGW 32bit in this case.

                      L Offline
                      L Offline
                      Lelouche
                      wrote on last edited by
                      #16

                      @koahnig
                      Hello to everybody . I'm fine, I hope .I tried to do what you asked me to uninstall and reinstall but I still don't get a positive result. the problem can come from where please? then that I also use there towards Open Source and Mingw32 bits.

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        Maurice
                        wrote on last edited by
                        #17

                        Good Morning everybody,

                        I have the same Problem, with my QT...
                        I also have QT 5.14.1, on my Windows 8.1 System..

                        458340c3-adb2-46a4-8f14-e1b1559c573c-image.png

                        Have you already found a soltion or any other Ideas that i could try to fix this?

                        Regards
                        Maurice

                        K 1 Reply Last reply
                        0
                        • M Maurice

                          Good Morning everybody,

                          I have the same Problem, with my QT...
                          I also have QT 5.14.1, on my Windows 8.1 System..

                          458340c3-adb2-46a4-8f14-e1b1559c573c-image.png

                          Have you already found a soltion or any other Ideas that i could try to fix this?

                          Regards
                          Maurice

                          K Offline
                          K Offline
                          koahnig
                          wrote on last edited by
                          #18

                          @Maurice

                          Hi and welcome to devnet forum

                          Did you check already with a freshly through qt creator generated qml application?

                          Vote the answer(s) that helped you to solve your issue(s)

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            Maurice
                            wrote on last edited by
                            #19

                            Hey koahnig,

                            thanks.

                            I have been working with Qt 5.9.0 for a while but I've never really used the Designer in QtCreator.
                            I wanted to try the Designer in 5.9 but that didn't work, with the same.
                            So Yesterday I installed a completely fresh new Qt 5.14.1 with the online installer and I tried the "heartrate-game" and the "gallery" example but this didn't work either with. I compiled with msvc2015 64 bit and i can also start the example, but the designer doesn't work..

                            I already tried with some other paths that i found as solution but nothing really fixed the problem.

                            c94e0b50-4cfb-462a-a4ac-e44731ae5b03-image.png

                            Thanks for you help.

                            L 1 Reply Last reply
                            0
                            • M Maurice

                              Hey koahnig,

                              thanks.

                              I have been working with Qt 5.9.0 for a while but I've never really used the Designer in QtCreator.
                              I wanted to try the Designer in 5.9 but that didn't work, with the same.
                              So Yesterday I installed a completely fresh new Qt 5.14.1 with the online installer and I tried the "heartrate-game" and the "gallery" example but this didn't work either with. I compiled with msvc2015 64 bit and i can also start the example, but the designer doesn't work..

                              I already tried with some other paths that i found as solution but nothing really fixed the problem.

                              c94e0b50-4cfb-462a-a4ac-e44731ae5b03-image.png

                              Thanks for you help.

                              L Offline
                              L Offline
                              Lelouche
                              wrote on last edited by
                              #20

                              @Maurice
                              hi here. Since then I have not been able to solve this problem and my path is written in red like yours once I entered it. if someone could really help us please

                              1 Reply Last reply
                              0
                              • K Offline
                                K Offline
                                koahnig
                                wrote on last edited by
                                #21

                                909d9929-b690-4ada-b4a9-dfbc29631f55-image.png

                                That is in my creator. However, I do not think that I have ever touched the setting.

                                Vote the answer(s) that helped you to solve your issue(s)

                                L 1 Reply Last reply
                                0
                                • K koahnig

                                  909d9929-b690-4ada-b4a9-dfbc29631f55-image.png

                                  That is in my creator. However, I do not think that I have ever touched the setting.

                                  L Offline
                                  L Offline
                                  Lelouche
                                  wrote on last edited by
                                  #22

                                  @koahnig !
                                  with me the second path is not empty it contains a path to the puppet. but whatever the path chosen I get the same error .. I uninstall reinstalled as you asked but nothing and I can not say that I have installation errors and then do the online installation I follow the procedure

                                  L K 2 Replies Last reply
                                  0
                                  • L Lelouche

                                    @koahnig !
                                    with me the second path is not empty it contains a path to the puppet. but whatever the path chosen I get the same error .. I uninstall reinstalled as you asked but nothing and I can not say that I have installation errors and then do the online installation I follow the procedure

                                    L Offline
                                    L Offline
                                    Lelouche
                                    wrote on last edited by
                                    #23

                                    I wonder if there is anything else to do that I don't know

                                    1 Reply Last reply
                                    0
                                    • L Lelouche

                                      @koahnig !
                                      with me the second path is not empty it contains a path to the puppet. but whatever the path chosen I get the same error .. I uninstall reinstalled as you asked but nothing and I can not say that I have installation errors and then do the online installation I follow the procedure

                                      K Offline
                                      K Offline
                                      koahnig
                                      wrote on last edited by
                                      #24

                                      @Lelouche said in QML and QT Quick error:

                                      @koahnig !
                                      with me the second path is not empty it contains a path to the puppet. but whatever the path chosen I get the same error .. I uninstall reinstalled as you asked but nothing and I can not say that I have installation errors and then do the online installation I follow the procedure

                                      Since it is not selected, I expect that it will not cause an issue. However, I have some problems with qml anyhow. :(

                                      Vote the answer(s) that helped you to solve your issue(s)

                                      L 1 Reply Last reply
                                      0
                                      • K koahnig

                                        @Lelouche said in QML and QT Quick error:

                                        @koahnig !
                                        with me the second path is not empty it contains a path to the puppet. but whatever the path chosen I get the same error .. I uninstall reinstalled as you asked but nothing and I can not say that I have installation errors and then do the online installation I follow the procedure

                                        Since it is not selected, I expect that it will not cause an issue. However, I have some problems with qml anyhow. :(

                                        L Offline
                                        L Offline
                                        Lelouche
                                        wrote on last edited by
                                        #25

                                        @koahnig
                                        where can the problem come from?

                                        K 1 Reply Last reply
                                        0
                                        • L Lelouche

                                          @koahnig
                                          where can the problem come from?

                                          K Offline
                                          K Offline
                                          koahnig
                                          wrote on last edited by
                                          #26

                                          @Lelouche said in QML and QT Quick error:

                                          @koahnig
                                          where can the problem come from?

                                          Unfortunately no glue.
                                          I started not long ago with qml and ran in a lot of issues. However, most of it is probably related to me. Did not get the concept yet.
                                          There are some issues with qml debugging, but I hesitate to reinstall, because this will probably also break what is currently still running.

                                          Vote the answer(s) that helped you to solve your issue(s)

                                          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