When you install Qt, you are installing two different version of the Qt DLLs. QtCreator and friends requires one version, whilst applications you build use another version.
CD to the directory of UIC and run it from there to see if it works.
When you install Qt, you are installing two different version of the Qt DLLs. QtCreator and friends requires one version, whilst applications you build use another version.
CD to the directory of UIC and run it from there to see if it works.
That's what I meant by saying, I tested it directly from the command line. It worked, but when it's done automatically by Qt Creator, it fails.
I still don't understand why... I opened uic.exe in Qt/qt/bin with DependencyWalker, to see what dlls it is using. It doesn't rely on many dlls.
KERNEL32.dll, MSVCRT.dll, USER32.dll in system32; LIBGCC_S_DW2-1.dll in Qt/qt/bin (where uic.exe is, too), and LIBSTDC++-6.dll from my MinGW directory.
The systems PATH variable looks like the following:
%SystemRoot%;
%SystemRoot%\System32;
D:\Entwicklung\Qt\qt\bin;
D:\Entwicklung\MinGW\bin;
D:\Entwicklung\Qt\bin;
D:\Entwicklung\MinGW\msys\1.0\bin;
...
...
...
My users PATH variable is empty and I didn't change anything in Qt's project build environment.
So, if uic.exe is working with the dlls, I've written above why doesn't it in Qt Creator? Since I adjusted the PATH to search in the correct directories first, Qt Creator should use the same dlls, as when it's called directly...
To check your PATH variable is correct, CD to the root of any drive and try it from there. If it does, it should work from within Qt Creator also. Maybe it finds an incompatible version of LIBGCC.
I can compile files with uic at the command line, from every directory :/ Something must be wrong with Qt Creator...
I'm working with NetBeans now. Its Qt-Project is also able to automatically compile the ui files etc. I liked the single .pro file to include libraries etc. more than NetBeans project settings to do the same job, but since Qt Creator isn't working, it's still a nice alternative.
"exited with code -1073741819" this code about realizing not correct destructors. If there is one or more objects created in the constructor or in another function and in the 3-th function objects are deleted incorrectly sequence then this code are occured
Bookmarks