comp.lang.ada
 help / color / mirror / Atom feed
From: Alexis <jose_alexis_paez_thurgood@hotmail.com>
Subject: Re: Problem with QTAda 3.0 and QTCore4.dll on Windows
Date: Thu, 7 Jan 2010 13:39:40 -0800 (PST)
Date: 2010-01-07T13:39:40-08:00	[thread overview]
Message-ID: <800b2914-d8c9-4c72-bf04-ccf53f091ae9@v25g2000yqk.googlegroups.com> (raw)
In-Reply-To: 199i04cdgiqlc$.1tlj9wnffh6g9$.dlg@40tude.net

On 7 ene, 11:59, "Dmitry A. Kazakov" <mail...@dmitry-kazakov.de>
wrote:
> On Thu, 07 Jan 2010 08:19:17 +0100, Per Sandberg wrote:
> > The core reason is that the Binary Interface specific the name-mangling
> > in C++ is different between gcc and MSVC, on top of that the
> > documentation in the MSVC case is "sparse".
>
> That should not be a problem in case of C. One should only make a choice
> between stdcall and cdecl convention when you make a call from Ada. I guess
> Qt has plain C interface? Then what happens inside of it is no matter.
>
> > Then you will end up with two runtimes for C++, and to run MSVC and
> > GCC(g++) in parallel requires a very consistent way of doing things
> > since among all other things ther will be two different heaps...
>
> Actually I used such combinations in other cases (not Qt), e.g. GNAT Ada
> run-time + MSVC (sometimes with MFT!) + some bunch of third party libraries
> of unknown language and origin.
>
> The key issue is to set proper compiler/linker options for the MSVC
> project. Which is FAR from being trivial. Another huge issue is deployment,
> with MS manifests (due to broken implementations of) you simply cannot tell
> if linked code will or will not work on another computer.
>
> --
> Regards,
> Dmitry A. Kazakovhttp://www.dmitry-kazakov.de

Thanks a lot to all of you, your advice has been very helpful. I have
now installed QT 4.5.1 MinGW on my machine and the QtAda programs work
fine, which is what I wanted.

I don't remember seeing any mention of this fact on the QtAda website,
it might be something interesting to add a note on this.

May thanks!
Best regards, Alexis.



  reply	other threads:[~2010-01-07 21:39 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-05 21:04 Problem with QTAda 3.0 and QTCore4.dll on Windows Alexis
2010-01-06 12:17 ` Vadim Godunko
2010-01-06 14:15   ` Hibou57 (Yannick Duchêne)
2010-01-06 14:46     ` Dmitry A. Kazakov
2010-01-06 22:23   ` Alexis
2010-01-07  7:19     ` Per Sandberg
2010-01-07 10:59       ` Dmitry A. Kazakov
2010-01-07 21:39         ` Alexis [this message]
2010-01-07 22:11         ` Vadim Godunko
2010-01-07 22:32           ` Hibou57 (Yannick Duchêne)
2010-01-08  7:10             ` Vadim Godunko
2010-01-08  9:41               ` Dmitry A. Kazakov
2010-01-07 23:02           ` Dmitry A. Kazakov
2010-01-08  7:28             ` Vadim Godunko
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox