The Desktop kit on Qt Creator is grayed out
-
I clicked it and there were only the prior Android kits in the drop-down menu of it.
did you install the Qt libaries for your desktop system
I down't know what they are! :(
I just uninstalled my begone Qt and installed this new one on my Windows 7 X64 machine. Of course, afterwards I installed Android Studio and downloaded a huge size of SDK.
Now what should I do please? -
I probably think that the answer of @jsulm can solve it.
In additional information, I think that you have installed only Qt version of Android.
Please additionally install MinGW 5.3.0 32 bit for Desktop.<Update method>
- Qt Maintenance Tool(online update) select "Add or remove components"
- Please select as below.
Qt 5.11.2
`-MinGW 5.3.0 32 bit
If this solutions does't succeed, you give our about a screenshot at Qt Versions tag of Kits, We probably can give a more appropriate solution.
-
Thank you both very much.
When I go for Maintenance Tool, simply skip the Qt Account window, then Add/Remove component -> Next. Then it says:At least one valid and enabled repository required for this action to succeed.
What to do with that? I'm not used to it.
How to be rid of that, please? -
@tomy You need to use another repository. Take a look at this tool: https://github.com/JKSH/QtSdkRepoChooser
-
@jsulm
I don't use an online SDK I think. :(
I also clicked on the link given in Alternative Instructions but it says "page not found".
The process seems very complicated. I don't know why such an obstacle should be on the way of using Maintenance Tool!
Previously I was used to creating a temporary folder name and it'd go fine. Now it doesn't work seemingly!
By the way, I'm sure when installing Qt I checked the tick for MinGw because I knew this. Still can't figure out all the above problems! :( -
@tomy
you can check your installation folderbesides your android installation should be a folder for mingw, if it isn't than you did not install it. If there is such a folder then QTC did not pick it up automatically and you may have to manual manage your kits
-
@tomy
Hi
The one in bottom is the actual compiler.The one KazuoAsano shows in his shot is
a precompiled Qt version/binary for that compiler.Just select the mingw Qt version higher up and it will select the right compiler to
install also. -
Hi did you manually select the mingGW 5.3 ( below)?
Hi,
Yes.I wonder as the Qt bin mingw you checked higher up
is for mingw 7.3I dont' know them well; I just tried to select the latest kits for Windows and android platforms
also, you do have visual studio installed already, correct ?
Yes.
Now shall I start please?
-
Im pretty sure u need mingw 7.3.0 64 bit compiler which it normally selects for you.
do you need the 5.3 version for anything ?not actually.
So now the section collection is only as follows:
Qt 5.12.0:
- MSVC 2017 32-bit
- MinGW 7.3.0 64-bit
- Android x86
- Android ARMv7
Tools:
- Qt Creator 4.8.0 CDB Debugger support
- Qt Installer Framework 3.0
Is the setup OK now to be run, please?