No way for MinGW compiler?
I can't find a way to do it... always give me an error.
always give me an error
And what error is it?
Most probably you're trying to use DLLs built with VC++ with MinGW which is not going to work.
... Forget it, my Qt stopped working... I cannot compile even in the Qt Creatror.
It says the same as when i try to build the static version
"Cannot run compiler 'g++'. Maybe you forgot to setup the environment?"
But i have the MinGW directory in the PATH. Even i can execute g++ in cmd, i don't know what's wrong.
I think that i'll need to format the pc, then i will retry to build the static.
@JScars How did you install Qt and MinGW?
Use Qt online installer and select MinGW Qt version there, make sure to select MinGW under Tools as well. This always works for me. Also if you have such problems check your Kit: most probably your compiler is not set up properly: you need to provide absolute path to gcc.exe.
Qt for windows executable (not MSVC) by default comes with MinGW compiler. No need to install external packages.
Try to uninstall your Qt and re install. If not download new Qt creator from https://download.qt.io/archive/qt/
No need to format PC
all your Qt and re install. If not download new Qt creator from https://download.qt.io/archive/qt/
No need to format P
I tried reinstalling the Qt, but it doesn't work.
After i format my PC it works fine and i finally i could compile the static version.
I don't know what happend.
I cannot use the online version because in my residence i have not a constant internet connection.
Pablo J. Rogina
If your problem is solved, please mark your post as such. Thanks.
@JScars check settings of your compiler. Such error is when you have set path to the gcc.exe but not to the g++.exe. QT 5.9 doesn't like compiler path set to gcc.ece - it should be g++.exe. I went through that looking for the reason as well :)