[Qt-creator] Library build with MinGW and MSYS

Kobus Botha botha.kobus at gmail.com
Mon Nov 1 11:46:33 CET 2010


Hi

I want to use an external library in a Qt project, but the libs have 
been compiled with Visual Studio and I'm using MinGW. The source 
distribution only supports Visual Studio on Windows. So, I want to build 
the library on Windows with MinGW.

As I see it, I have to install MSYS and I obviously want to use the 
MinGW installed as part of the Qt SDK installation. Unfortunately I am 
not sure what I'm supposed to do. I thought that I would just download 
MSYS and install it in C:\MSYS and configure it to use the current MinGW 
(C:\Qt\2010.04\mingw\bin). However, there doesn't seem to be a download 
for MSYS, but only for each "package". It seems the correct way is to 
use the MinGW installer, which I downloaded. But it looks like it wants 
to install the base MINGW by default. This means I will multiple 
versions of MINGW which sounds like a potential problem (having libs 
compiled with different version of gcc).

Any pointers on building external libraries with MinGW to use with Qt 
Creator will be appreciated. I searched for pages regarding this, but 
haven't been successful so far.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20101101/3212deeb/attachment.html 


More information about the Qt-creator-old mailing list