comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Problem with QTAda 3.0 and QTCore4.dll on Windows
Date: Fri, 8 Jan 2010 00:02:38 +0100
Date: 2010-01-08T00:02:36+01:00	[thread overview]
Message-ID: <1ph5w4hfwxweu$.1a0r04qtvcqwl.dlg@40tude.net> (raw)
In-Reply-To: ec2d7604-ed68-441e-96f5-5fc946184ad5@j5g2000yqm.googlegroups.com

On Thu, 7 Jan 2010 14:11:37 -0800 (PST), Vadim Godunko wrote:

> On Jan 7, 1:59�pm, "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.
>>
> Qt is pure C++ library, there is no C interface provided by it.

Well, the question is whether the interface uses virtual functions and
classes you have to derive from. That would make a real difference.

> QtAda's code includes both C/C++ and Ada code which refers to each
> others in both directions, so it is unpractical to separate it into
> two independent shared libraries to build C/C++ part using MSVC and
> Ada part using GNAT; but mixing of MSVC and GNAT object files in the
> same shared library is not supported now.

I agree. It is the Visual Studio's debugger, which makes MSVC attractive.
Since that won't work with GNAT, there seems to be no reason left to port
Qt into MSVC.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  parent reply	other threads:[~2010-01-07 23:02 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
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 [this message]
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