Unsolved Mingw generates .qrl and .a files but not .dll
-
@El91
Qt creator or Qt SDK?
If you have built with "qt-opensource-windows-x86-mingw482-4.8.6-1.exe" then that will not work with MSVC . (in the sense you will have to build separately with MSVC). -
It is simple: a plug-in must be built using the same compiler which was used to built QtCreator.
-
@jsulm
But he wants "qt-opensource-windows-x86-mingw482-4.8.6-1.exe" to add pulgin! -
@Ratzz Well, that will not work. To build a plug-in for QtCreator on Windows he needs the same VS compiler as used to build QtCreator and Qt version for the same VS compiler.
-
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
-
@jsulm Thank you ! , it is very clear now. So I have already MinGW and Qt for MinGW. What I need is another version of QtCreator, a version working on windows and which is built using MinGW. Can you tell me please where I can find it ?
-
I don't think there is an official QtCreator build using MinGW. But you can download the source code and build it.
http://download.qt.io/official_releases/qtcreator/3.5/3.5.1/qt-creator-opensource-src-3.5.1.zip
from here: https://www.qt.io/download-open-source/#section-2 -
@jsulm To build it I have to go to the directory and use the same commands as if I'm building a plug-in ?
-
See README.md file in the ZIP archive, it describes what you need and how to build.
-
@jsulm Alright, but this version needs Qt 5.4.0 or later, I'll use another version because I have to work with Qt 4.8.6.
-
See here for older QtCreator versions: http://download.qt.io/archive/qtcreator/
-
I'm sorry to tell you this guys but I give up (for now). I found so many errors when I tried to build QtCreator with MinGW, and it affected the QtCreator version already installed. So I don't need anymore that plugin. It took so much of my time for nothing.
Thank you very much for your help !