mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] make qt5 build fails on missing, include file


From: René Berber
Subject: Re: [Mingw-cross-env-list] make qt5 build fails on missing, include file?
Date: Tue, 05 Aug 2014 11:34:08 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0

On Mon, 4 Aug 2014, Graham Lowe wrote:

> When I try and build qt5 (i.e., make qt5) on the master branch
> (31a1a1e6dc194c9cb68a951e05b62b209bd56f75), I encounter the following
> failure:
> 
> i686-pc-mingw32.static-g++ -c -pipe -fno-keep-inline-dllexport -O2
> -std=c++0x -fno-exceptions -frtti -Wall -Wextra -DUNICODE -DQT_NO_MTDEV
> -DQT_NO_LIBUDEV -DQT_NO_EVDEV
> 
> -DQ_USE_SYBASE -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_STATICPLUGIN
> -DQT_PLUGIN -DQT_NETWORK_LIB -DQT_CORE_LIB -I.
> -I'../../../../include/QtNetwork/5.3.1' -I'../../../../i
> 
> nclude/QtNetwork/5.3.1/QtNetwork' -I'../../../../include'
> -I'../../../../include/QtNetwork' -I'../../../../include/QtCore/5.3.1'
> -I'../../../../include/QtCore/5.3.1/QtCo
> 
> re' -I'../../../../include/QtCore' -I'.moc'
> -I'../../../../mkspecs/win32-g++' -o .obj/moc_qnetworksession_impl.o
> .moc/moc_qnetworksession_impl.cpp
> 
> qwindowscontext.cpp:80:22: fatal error: comdef.h: No such file or directory
> 
>  #  include <comdef.h>
> 
>                       ^
> 
> compilation terminated.
> 
> make[6]: *** [.obj/qwindowscontext.o] Error 1
> 
> 
> Did I miss installing a dependency?

Not really, it looks like Qt 5.3.1 switched to MinGW-w64 and no longer
builds with MinGW.

That's from the file missing: comdef.h is from the mingw-w64 runtime
package.

So you'll have to use one of the -w64- MXE targets.
-- 
René Berber



reply via email to

[Prev in Thread] Current Thread [Next in Thread]