Mingw generates .qrl and .a files but not .dll
-
Windows version of QtCreator is built using MSVC as far as I know. You would need to use exactly the same MSVC compiler used to build QtCreator.
-
@jsulm Thank you for your help.
How can I know the MSVC version used to build my version of QtCreator ? -
No, it is about compiler used to build QtCreator!
You can use Dependency Walker tool. Start it and load QtCreator.exe. On the left side you see DLLs on which QtCreator depends. Look for MSVC*.dll files and check their version.
From this site http://stackoverflow.com/questions/3113458/how-can-i-tell-what-version-of-visual-studio-was-last-used-to-work-on-a-project:
VS 6 -> 6.0
VS 2002 -> 7.0
VS 2003 -> 8.0
VS 2005 -> 9.0
VS 2008 -> 10.0
VS 2010 -> 11.0
VS 2012 -> 12.0
VS 2013 -> 10.0 to 12.0 -
Newer QtCreator versions show the VS version used to build them in "About QtCreator..." dialog, but not your old version.
-
Newer QtCreator versions show the VS version used to build them in "About QtCreator..." dialog, but not your old version.
-
I would say it is VS2008: VS 2008 -> 10.0
-
You're right it's probably VS 2010
-
You'll need Qt with MSVC. Have you looked at Qt 4.8.6 downloads ?
-
Oh really ? I am using Qt with MinGW "qt-opensource-windows-x86-mingw482-4.8.6-1.exe" . And I want to use the plugin with this version of Qt. So if I install Qt with MSVC and add the plugin using MSVC, would it work with the other version of Qt (with MinGW )?
And can someone tell me the equivalent of "make" and "make install" in MSVC ? -
Oh really ? I am using Qt with MinGW "qt-opensource-windows-x86-mingw482-4.8.6-1.exe" . And I want to use the plugin with this version of Qt. So if I install Qt with MSVC and add the plugin using MSVC, would it work with the other version of Qt (with MinGW )?
And can someone tell me the equivalent of "make" and "make install" in MSVC ? -
@Ratzz Okay, but does it work if I use another version of Qt Creator ? a version which is build with MinGW ?
-
It is simple: a plug-in must be built using the same compiler which was used to built QtCreator.
-
It is simple: a plug-in must be built using the same compiler which was used to built QtCreator.
-
Let's say QtCreator was built using VS2010. To build plug-ins for it you need:
- VS2010
- Qt for VS2010
If QtCreator was built using MinGW then you need:
- MinGW
- Qt for MinGW
-
Let's say QtCreator was built using VS2010. To build plug-ins for it you need:
- VS2010
- Qt for VS2010
If QtCreator was built using MinGW then you need:
- MinGW
- Qt for MinGW