[Qt-interest] use .obj libary with mingw compiler
Andre Haupt
andre at bitwigglers.org
Thu Jul 16 11:36:47 CEST 2009
On Thu, Jul 16, 2009 at 05:10:31PM +0200, Thiago Macieira wrote:
> Em Quinta-feira 16 Julho 2009, às 15:18:28, Matthias Pospiech escreveu:
> > I am using a Qt in Visual Studio and have a GPIB Libary (Device to
> > Computer Commnication Interface from NI). That works well in Visual Studio.
> > No I am trying to get the same libary work in QtCreator with mingw.
> > However I do not see how to load the libary.
> >
> > The libary comes as
> > gpib-32.dll
> > gpib-32.obj
> >
> > The documentation says:
> > GPIB-32.OBJ - Win32 Microsoft Visual C++ language
> > interface object module
> >
> > Any possibilty to load that in QtCreator?
>
> QtCreator? Yes, provided you're using version 1.2 and the MIcrosoft Visual
> Studio tools.
>
> MinGW? No, you can't use .obj files. However, it should be possible to create a
> a .a file from the .dll, so you can link against it.
or, if that does not help you could load it dynamically using LoadLibrary() and GetProcAddress() stuff.
regards,
Andre
More information about the Qt-interest-old
mailing list