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.
  • 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
                    • M Offline
                      M Offline
                      Maurice
                      wrote on last edited by
                      #27

                      Hey,

                      sorry, i haven't been online for a while...
                      I still haven't fixed the problem... but I found some hints, that it could be a problem with different QT version installed on one system... but i have no idea where the qt versions coul'd be mixed, because each one should have an own qml layer (i guess).
                      At the moment I'm setting up a complete new system and I'll try if i have the same issue there.
                      As soon as i know something, I'll let you know.

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

                        Okay, I have installed the QT on a fresh Windows and over there it's working....
                        I guess somehow the versions are mixed up on my develope System, even everything is installed in different folders.

                        K 1 Reply Last reply
                        0
                        • M Maurice

                          Okay, I have installed the QT on a fresh Windows and over there it's working....
                          I guess somehow the versions are mixed up on my develope System, even everything is installed in different folders.

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

                          @Maurice

                          Most likely something set in the environment. At least a good place for check. Have you added some of the folders to the PATH setting?

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

                          M 1 Reply Last reply
                          0
                          • K koahnig

                            @Maurice

                            Most likely something set in the environment. At least a good place for check. Have you added some of the folders to the PATH setting?

                            M Offline
                            M Offline
                            Maurice
                            wrote on last edited by
                            #30

                            @koahnig
                            not really... just some path settings for perl, VisualStudio etc. but nothing which points to a specific Qt Version.

                            1 Reply Last reply
                            0
                            • Ahmed Yarub Hani Al NuaimiA Offline
                              Ahmed Yarub Hani Al NuaimiA Offline
                              Ahmed Yarub Hani Al Nuaimi
                              wrote on last edited by
                              #31

                              I keep on getting this error message opening .qml files in the Designer inside Qt Creator: "Line: 1: Qt Quick emulation layer crashed."
                              I tried all kinds of projects, even the simplest examples that come with Qt, like objectlistmodel, and I still get the error although I can compile and run them without any problem! I tried adding Style=Desktop to qtquickcontrols2.conf file but that didn't make a difference.
                              I made my tests on two Windows 10 computers with Visual Studio 2019 installed. One of them had a fresh installation with only one version of Qt and Qt Creator, still had the error.
                              Qt Creator versions 4.11, 4.12 RC, and 4.13 beta (?)
                              Qt version 5.9, 5.11.3, 5.14, and 5.15 (I have some projects requiring specific Qt versions!)

                              Any help would be appreciated

                              O 1 Reply Last reply
                              0
                              • Ahmed Yarub Hani Al NuaimiA Ahmed Yarub Hani Al Nuaimi

                                I keep on getting this error message opening .qml files in the Designer inside Qt Creator: "Line: 1: Qt Quick emulation layer crashed."
                                I tried all kinds of projects, even the simplest examples that come with Qt, like objectlistmodel, and I still get the error although I can compile and run them without any problem! I tried adding Style=Desktop to qtquickcontrols2.conf file but that didn't make a difference.
                                I made my tests on two Windows 10 computers with Visual Studio 2019 installed. One of them had a fresh installation with only one version of Qt and Qt Creator, still had the error.
                                Qt Creator versions 4.11, 4.12 RC, and 4.13 beta (?)
                                Qt version 5.9, 5.11.3, 5.14, and 5.15 (I have some projects requiring specific Qt versions!)

                                Any help would be appreciated

                                O Offline
                                O Offline
                                OttoRyynanen
                                wrote on last edited by
                                #32

                                @Ahmed-Yarub-Hani-Al-Nuaimi
                                The comments in Qt Bug 23455 have a workaround which might help you, the error can be avoided by defining QT_OPENGL=software in the Windows environment.
                                Assuming the root cause is the display driver of your computer.

                                https://bugreports.qt.io/browse/QTCREATORBUG-23455

                                T 1 Reply Last reply
                                1
                                • O OttoRyynanen

                                  @Ahmed-Yarub-Hani-Al-Nuaimi
                                  The comments in Qt Bug 23455 have a workaround which might help you, the error can be avoided by defining QT_OPENGL=software in the Windows environment.
                                  Assuming the root cause is the display driver of your computer.

                                  https://bugreports.qt.io/browse/QTCREATORBUG-23455

                                  T Offline
                                  T Offline
                                  taind
                                  wrote on last edited by
                                  #33

                                  @OttoRyynanen Thank you, I added QT_OPENGL=software in the Windows environment. It work

                                  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