Microsoft Visual Studio 2010 for QT 5.3.2
-
Hello everyone!
I have installed QT5.3.2 on windows 10 but it has issues when I start to build and run my application. It says:01:15:12: Configuration is faulty. Check the Issues view for details.
Error while building/deploying project Helloworld (kit: Desktop Qt 5.3 MSVC2010 OpenGL 32bit)
When executing step "Make"Actually, I am unable to install Visual Studio 2010 so I install visual studio 2019 but I am not sure whether it is installed correctly or not.
If someone could share the correct setup of Visual Studio 2010 So, I will be very thankful to him/her, as I have already tried all the available online setups for version 2010.
Waiting for the positive response ,
TIA
-
Hi and welcome to devnet,
Did you ensure that you installed the C++ tools when you installed visual studio ?
You can't use a more recent version of VS like that, only since VS2017 are the compilers backward compatible.
Out of curiosity, why are you using such an outdated version of Qt and Visual Studio ?
-
Thanks for the reply.
The reason behind using that outdated version is that my code is already written on it.
I think that I don't have correct setup for microsoft visual studio.Could u please help me in installing the correct setup of visual studio that would be compatible with qt5.3.2 ?
-
Thanks for the reply.
The reason behind using that outdated version is that my code is already written on it.
I think that I don't have correct setup for microsoft visual studio.Could u please help me in installing the correct setup of visual studio that would be compatible with qt5.3.2 ?
Hi, and welcome!
@Mar_60 said in Microsoft Visual Studio 2010 for QT 5.3.2:
I think that I don't have correct setup for microsoft visual studio.
Like @SGaist said, Visual Studio 2019 is not compatible with the Qt libraries that you installed.
Actually, I am unable to install Visual Studio 2010
May I ask why?
The reason behind using that outdated version is that my code is already written on it.
Qt offers very pretty good backwards-compatibility. I suggest you try to build your code using a newer version of Qt.
At the very least, try Qt 5.6.3 for MSVC 2015. This version is compatible with Visual Studio 2019.
-
Hi, and welcome!
@Mar_60 said in Microsoft Visual Studio 2010 for QT 5.3.2:
I think that I don't have correct setup for microsoft visual studio.
Like @SGaist said, Visual Studio 2019 is not compatible with the Qt libraries that you installed.
Actually, I am unable to install Visual Studio 2010
May I ask why?
The reason behind using that outdated version is that my code is already written on it.
Qt offers very pretty good backwards-compatibility. I suggest you try to build your code using a newer version of Qt.
At the very least, try Qt 5.6.3 for MSVC 2015. This version is compatible with Visual Studio 2019.
-
@JKSH Thanks for the reply.
I want to install QT5.6.3 now but unfortunately, I couldn't find any online download link. Could u please help me out in its installation?
@Mar_60 said in Microsoft Visual Studio 2010 for QT 5.3.2:
I want to install QT5.6.3 now but unfortunately, I couldn't find any online download link. Could u please help me out in its installation?
-
@Mar_60 said in Microsoft Visual Studio 2010 for QT 5.3.2:
I want to install QT5.6.3 now but unfortunately, I couldn't find any online download link. Could u please help me out in its installation?
-
@JKSH Thanks for the link. Ii have installed QT on my PC.
But now i am facing issues in adding kit and compiler.
I have also attached some screen shots.
Could you please help me out in adding kits and compilers?
@Mar_60 said in Microsoft Visual Studio 2010 for QT 5.3.2:
Ii have installed QT on my PC.
Doesn't look like you did as your Kit is broken.
What exact Qt version did you install (please do not show "About QtCreator" dialog - it doesn't matter here, check "Qt Versions" tab instead). -
@Mar_60 said in Microsoft Visual Studio 2010 for QT 5.3.2:
Ii have installed QT on my PC.
Doesn't look like you did as your Kit is broken.
What exact Qt version did you install (please do not show "About QtCreator" dialog - it doesn't matter here, check "Qt Versions" tab instead). -
Okay. Now I am installing version 2015 Community.
Will QT auto detect kits and compilers once the installation completed?@Mar_60 said in Microsoft Visual Studio 2010 for QT 5.3.2:
Will QT auto detect kits and compilers once the installation completed?
It should. If not try to reinstall Qt.
-
@Mar_60 said in Microsoft Visual Studio 2010 for QT 5.3.2:
qt-opensource-windows-x86-winrt-msvc2015-5.6.3.exe
This link's name contains winrt. This means it is for building apps for Windows Runtime or "Metro Apps", or its successor Universal Windows Platform (UWP). It is not for building Desktop applications.
Could I install QT from this link: qt-opensource-windows-x86-mingw492-5.6.3.exe
Yes.
I suggest that you:
- Uninstall all the copies of Qt/Qt Creator that you currently have
- Download qt-opensource-windows-x86-mingw492-5.6.3.exe
- Run the installer and select 2 components:
- Qt 5.6.3 > MinGW 4.9.2 32-bit
- Tools > MinGW 4.9.2 32-bit
I just installed from this link
When you run the installer, it gives you choices on which components to select. Pay close attention to the choices; don't just keep clicking "Next".
I wrote a comprehensive "Getting Started" guide a while ago. It is a bit outdated now, but most of it should still be relevant. Please read it carefully: https://1drv.ms/w/s!AnaQjhA33g0K0lkIZPVjfsWrcPSI
I tried but unfortunately it didn't work.
If you need more help, please provide details.
@jsulm said in Microsoft Visual Studio 2010 for QT 5.3.2:
2019 is not compatible with 2015.
MSVC 2015, 2017, and 2019 are all compatible with each other: https://docs.microsoft.com/en-us/cpp/porting/binary-compat-2015-2017?view=vs-2019
-
@Mar_60 said in Microsoft Visual Studio 2010 for QT 5.3.2:
qt-opensource-windows-x86-winrt-msvc2015-5.6.3.exe
This link's name contains winrt. This means it is for building apps for Windows Runtime or "Metro Apps", or its successor Universal Windows Platform (UWP). It is not for building Desktop applications.
Could I install QT from this link: qt-opensource-windows-x86-mingw492-5.6.3.exe
Yes.
I suggest that you:
- Uninstall all the copies of Qt/Qt Creator that you currently have
- Download qt-opensource-windows-x86-mingw492-5.6.3.exe
- Run the installer and select 2 components:
- Qt 5.6.3 > MinGW 4.9.2 32-bit
- Tools > MinGW 4.9.2 32-bit
I just installed from this link
When you run the installer, it gives you choices on which components to select. Pay close attention to the choices; don't just keep clicking "Next".
I wrote a comprehensive "Getting Started" guide a while ago. It is a bit outdated now, but most of it should still be relevant. Please read it carefully: https://1drv.ms/w/s!AnaQjhA33g0K0lkIZPVjfsWrcPSI
I tried but unfortunately it didn't work.
If you need more help, please provide details.
@jsulm said in Microsoft Visual Studio 2010 for QT 5.3.2:
2019 is not compatible with 2015.
MSVC 2015, 2017, and 2019 are all compatible with each other: https://docs.microsoft.com/en-us/cpp/porting/binary-compat-2015-2017?view=vs-2019
@JKSH thanks for the reply.
I have spend a long tine in installation but unfortunately all went in vain. Now, i just want to clear the things before starting this another try.I am going to install from this link now: link: qt-opensource-windows-x86-mingw492-5.6.3.exe
For this do I need to install any prerequisites like visual studio or anything else?
TIA.
-
@JKSH thanks for the reply.
I have spend a long tine in installation but unfortunately all went in vain. Now, i just want to clear the things before starting this another try.I am going to install from this link now: link: qt-opensource-windows-x86-mingw492-5.6.3.exe
For this do I need to install any prerequisites like visual studio or anything else?
TIA.
@Mar_60 said in Microsoft Visual Studio 2010 for QT 5.3.2:
For this do I need to install any prerequisites like visual studio or anything else?
No, this already contains MinGW compiler (GCC Windows port).
-
@Mar_60 said in Microsoft Visual Studio 2010 for QT 5.3.2:
For this do I need to install any prerequisites like visual studio or anything else?
No, this already contains MinGW compiler (GCC Windows port).