Unsolved QML and QT Quick error
-
@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. -
Good Morning everybody,
I have the same Problem, with my QT...
I also have QT 5.14.1, on my Windows 8.1 System..Have you already found a soltion or any other Ideas that i could try to fix this?
Regards
Maurice -
Hi and welcome to devnet forum
Did you check already with a freshly through qt creator generated qml application?
-
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.
Thanks for you help.
-
@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 -
That is in my creator. However, I do not think that I have ever touched the setting.
-
@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 -
I wonder if there is anything else to do that I don't know
-
@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 procedureSince it is not selected, I expect that it will not cause an issue. However, I have some problems with qml anyhow. :(
-
@koahnig
where can the problem come from? -
@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. -
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. -
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. -
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?
-
@koahnig
not really... just some path settings for perl, VisualStudio etc. but nothing which points to a specific Qt Version. -
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
-
@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. -
@OttoRyynanen Thank you, I added QT_OPENGL=software in the Windows environment. It work