[Development] Qt 5.2.0 - Beta Release Testing
Christian Gagneraud
chgans at gna.org
Fri Oct 25 06:35:59 CEST 2013
On 25/10/13 11:11, Thiago Macieira wrote:
> On sexta-feira, 25 de outubro de 2013 08:43:49, Christian Gagneraud wrote:
>> I guess I'm not the first one to ask, are you guys considering to
>> provide a qt-linux-opensource-*-mingw-* ? That is a Qt for windows that
>> can be used to cross-compile on Linux.
>
> Hello Christian
>
> We have not considered that. Support for cross-compiling to Windows has never
> been official and we don't have any tests for that.
>
> Also note that it depends on *which* cross compiler you have. We'd have to
> ship the mingw compilers for Linux just like we do for Windows -- the ones on
Are you saying that qt-linux-opensource-*-mingw* contains a toolchain too?
You could also use the "It works with *this* toolchain" approach,
similar to how you handle android and BB as they come with their
dedicated SDK.
> Fedora, for example, are not usable because they use SJLJ exceptions and we're
> switching to DW2/SEH on Windows.
According to [1], it's not mingw's fault, thoughts, I don't know who is
responsible of "The Dwarf-2 EH implementation for Windows". If Qt switch
to Dwarf-2 EH, it would mean that it will be incompatible with
mimgw-w64, isn't it a big loose for Qt then? Does that impact mingw-w32 too?
> It's probably best that the cross-compiled versions of Qt get distributed by
> the same community that produces the mingw cross-compiler in the first place.
As Mark Brand pointed out: http://mxe.cc does exactly that.
> Fedora does that:
>
> # yum search mingw32-qt
> Loaded plugins: auto-update-debuginfo, langpacks, presto, refresh-packagekit
> ====================== N/S Matched: mingw32-qt =============================
> mingw32-qt-debuginfo.noarch : Debug information for package mingw32-qt
> mingw32-qt-static.noarch : Static version of the mingw32-qt library
> mingw32-qt-tools.noarch : Various tools belonging to the mingw32-qt library
> mingw32-qt5-qtbase-debuginfo.noarch : Debug information for package mingw32-
> qt5-qtbase
> mingw32-qt5-qtbase-static.noarch : Static version of the mingw32-qt5-qtbase
> library
> mingw32-qt.noarch : Qt for Windows
> mingw32-qt-qmake.x86_64 : Qt for Windows Build Environment
> mingw32-qt5-qmake.x86_64 : Qt5 for Windows build environment
> mingw32-qt5-qtbase.noarch : Qt5 for Windows - QtBase component
> mingw32-qt5-qtbase-devel.i686 : Qt5 for Windows build environment
> mingw32-qt5-qtbase-devel.x86_64 : Qt5 for Windows build environment
Good to know, here on ubunutu:
$ apt-cache search mingw | grep -i qt
$
:(
Chris
[1] http://sourceforge.net/apps/trac/mingw-w64/wiki/Exception%20Handling
More information about the Development
mailing list