From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,9192417d428824a0 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!news.wiretrip.org!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!feeder.news-service.com!cyclone02.ams2.highwinds-media.com!news.highwinds-media.com!npeersf02.ams.highwinds-media.com!newsfe22.ams2.POSTED!40385e62!not-for-mail From: Per Sandberg User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-3.fc11 Thunderbird/3.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Problem with QTAda 3.0 and QTCore4.dll on Windows References: <1660bebd-45ca-4568-b92a-380614d94ecc@c34g2000yqn.googlegroups.com> <8ec14209-e505-4873-86b4-294149841777@v25g2000yqk.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: X-Complaints-To: abuse@WWWSpace.NET NNTP-Posting-Date: Thu, 07 Jan 2010 07:20:10 UTC Date: Thu, 07 Jan 2010 08:19:17 +0100 Xref: g2news1.google.com comp.lang.ada:8644 Date: 2010-01-07T08:19:17+01:00 List-Id: 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". 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... /Per 2010-01-06 23:23, Alexis skrev: > On 6 ene, 13:17, Vadim Godunko wrote: >> On Jan 6, 12:04 am, Alexis >> wrote: >> >>> I'm using GNAT GPL 2009 and QTada 3.0. I have installed the QT 4.6.0 >>> software package for VS2008, I have set the c:\Qt\4.6.0\bin path as >>> the first path, but it doesn't work with QTAda programs, though all >>> VS2008 C++ programs work fine. >> >> QtAda can't be used with MSVC for technical reasons. You need to use >> prebuild Qt for MinGW port of build Qt by hands using GCC 4.4 compiler >> or G++ compiler from GNAT GPL 2009. You also can use prebuild QtAda >> 3.1 snapshot for Qt 4.6.0/MinGW. > > Hi, > > Thanks for your help. I'm quite new to QT so I'm not familiar with > some things. Do you mean that QtAda doesn't work with the Qt Windows > libraries for MSVC? Only MinGW? What's the reason for this? > > Many thanks and best regards! > Alexis. >