QT Installation Error
-
@sonic Only thing I notice in that error is that your paths are mixed between posix and windows style.
i.e.
C:\qt\/Tools/QtCreator\bin\sdktool.exe
.. I doubt that would execute with the mixed pathing.Did you set anything custom path wise? If you did try using the posix paths next time like
c:/qt/
instead ofc:\qt
. -
I've seen this error before. I've never figured out why it happens, but I have a way to work around it.
sdktool.exe
is a tool that automatically adds the kits to Qt Creator. Although it has failed, you can perform the steps manually:- Add your compiler(s): http://doc.qt.io/qtcreator/creator-tool-chains.html
- Add your Qt version(s): http://doc.qt.io/qtcreator/creator-project-qmake.html
- Add your kit(s): http://doc.qt.io/qtcreator/creator-targets.html
-
@ambershark Actually No, I haven't set any custom pathing. I have tried to reinstall Qt but same error.
-
@sonic said in QT Installation Error:
I have tried to install MinGW 64 Compiler for windows but it didn't work.
Your screenshot shows that your Qt kit for MinGW 32-bit is correctly set up. Use that one.
By the way, you have installed 13 different copies of Qt 5.10. You only need 1 copy.
Is there a way to find out why this sdktools.exe failed multiple times?
I don't know. But the Qt engineers at the Interest mailing list might be able to tell you. (Subscribe to the list and post there)
Note: You have "auto-detected" kits. That means the sdktool ran successfully.
-
Re: QT Installation Error
@JKSH I have tried to compile using MinGW but it doesn't work. I needed Qt to test our application that is designed in Linux platform, and When I try to compile project files after copying from Linux to windows, it says the different version of compiler found. It needs MinGW.I have no idea why it installed 12 different copies of Qt 5.10. I selected Qt version during installation and that was it.
Does Qt have some kind of Tech support or something?
Best Regards
-
@sonic said in QT Installation Error:
I selected Qt version during installation and that was it
That's the problem. Select the exact Qt version you need. For example under Qt 5.10 you will find many different variants one of them is for MinGW. Don't install MinGW by yourself, use the one you can install using Qt Online Installer or Qt Maintenance Tool.
-
When I try to compile project files after copying from Linux to windows, it says the different version of compiler found
What is the exact error? Can you post the build log?
Does Qt have some kind of Tech support or something?
They do, but you need to be a commercial customer. The best support you'll get for opensource is here on this forum.
-
One of our dev's had the same problem a while ago.
Remove all Qt installations. Clear temp of your PC (Just to be safe) and then do a reboot.
Install Qt using the installer, but only select MinGW. Do not try to install MinGW manually using other installers. Let Qt maintenance tool to do the task for you.