Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, June 2007
Qt 4.3.0 MinGW w32api version


Message 1 in thread

Hello,

I tried to compile Qt 4.3.0 OpenSource with previously installed MinGW
(version 5.1.3) and got an error in process of linking against win32
libs. The next try to install the precompiled Qt-MinGW package failed
because there was an error in the win32 header file w32api.h, Qt needs
version 3.2 of win32api MinGW package while the installed one is current
version 3.6.
Why does Qt need this particular version of w32api, I was supposed to
use the current version of Win32-API package?
Thanks for all hints,

Billy

--
 [ signature omitted ] 

Message 2 in thread

On 01.06.07 21:59:29, Billy C wrote:
> Hello,
> 
> I tried to compile Qt 4.3.0 OpenSource with previously installed MinGW
> (version 5.1.3) and got an error in process of linking against win32
> libs. The next try to install the precompiled Qt-MinGW package failed
> because there was an error in the win32 header file w32api.h, Qt needs
> version 3.2 of win32api MinGW package while the installed one is current
> version 3.6.

I don't have my windows pc running atm, but qt-copy always compiled here
with MingW 5.1.3 and its win32api package.

> Why does Qt need this particular version of w32api, I was supposed to
> use the current version of Win32-API package?

Works for me just fine, in fact IIRC I read somewhere you shouldn't use
versions older than what is shipped with MinGW 5.1.3.

Andreas

-- 
 [ signature omitted ] 

Message 3 in thread

Billy C wrote:
> Hello,
> 
> I tried to compile Qt 4.3.0 OpenSource with previously installed MinGW
> (version 5.1.3) and got an error in process of linking against win32
> libs. 

Is this some linker error about CoInitialize and stuff not found in 
qfsfileengine_win.o? If so, this is because you have Visual Studio 
libraries in your INCLUDE environment variables. configure.exe now takes 
these variables into account unlike previous versions. The linking fails 
because it does not understand Visual Studio libraries.

The next try to install the precompiled Qt-MinGW package failed
> because there was an error in the win32 header file w32api.h, Qt needs
> version 3.2 of win32api MinGW package while the installed one is current
> version 3.6.

It is only a warning. Version 3.2 is what the binaries was built 
against. We, in development, use 3.6 and it works fine.

Girish

--
 [ signature omitted ] 

Message 4 in thread

Girish Ramakrishnan schrieb:
> Is this some linker error about CoInitialize and stuff not found in
> qfsfileengine_win.o? If so, this is because you have Visual Studio
> libraries in your INCLUDE environment variables. configure.exe now takes
> these variables into account unlike previous versions. The linking fails
> because it does not understand Visual Studio libraries.

Ok, thanks for the hint, it was indeed the case that I had Microsoft.NET
SDK in my INCLUDE and LIB environment variables. Didn't examine this,
one should always start from a clean environment before compiling...

Thanks for the hint,
Billy

--
 [ signature omitted ]