[Interest] Update breaks version

Mike Chinander chinander at gmail.com
Mon Dec 19 18:06:44 CET 2016


Are you sure you are not mixing MinGW and VS builds/libraries?

On Mon, Dec 19, 2016 at 11:03 AM, Duane <duane.hebert at group-upc.com> wrote:

> On 19/12/2016 11:49 AM, Duane wrote:
>
>> On 19/12/2016 11:03 AM, Kai Koehne wrote:
>>
>>> -----Original Message-----
>>>> From: Interest [mailto:interest-bounces+kai.koehne=qt.io at qt-project.org
>>>> ]
>>>> On Behalf Of Duane
>>>> Sent: Monday, December 19, 2016 4:10 PM
>>>> To: interest at qt-project.org
>>>> Subject: [Interest] Update breaks version
>>>>
>>>> I have Qt installed on Windows using MinGW.  I was at 5.7.0 and
>>>> updated via
>>>> the Maintenance tool to get to 5.7.1 and Creator 4.2.0.  My programs
>>>> build
>>>> but when I deploy them to systems with 5.7.0 dlls they don't work.
>>>>   I thought the dlls were compatible through minor revisions?
>>>>
>>>
>>> They should be, and the toolchain to the best of my knowledge hasn't
>>> changed
>>> in 5.7.1 packages.
>>>
>>> Could you clarify what 'don't work' means? I suggest to run the
>>> application
>>> in the Profile mode of 'Dependency Walker' (depends.exe) to find out
>>> details.
>>>
>>>
>> Don't work means that if I deploy the exe on a target machine with
>> Qt4.7.0 dlls it won't run.  "It reports that the application has
>> requested the runtime to terminate in an unusual way."  If I replace the
>> dlls with those from 4.7.1 then it works.
>>
>> I have two toolchains.  One with MinGW 3.0  and Qt 4.7.1 that I use with
>> QtCreator.  This is the one that seems broken.  I think that MinGW was
>> updated but it is still 3.0.
>>
>> The other tool chain is with Qt 5.5 for the VS2012 compiler.  This one
>> wasn't updated and doesn't seem to have this problem.
>>
>>
>
> If I launch the exe from the QtCreator IDE but with the 4.7.0 dlls in the
> taget folder I get the same crash but in the debug window of Creator I get
> this:
>
> Cannot mix incompatible Qt library (version 0x50701) with this library
> (version 0x50700)
> Invalid parameter passed to C runtime function.
> Invalid parameter passed to C runtime function.
>
> I keep the dlls in the target folder for my debug builds so that I can use
> a 3rd party program (Memory Validator) to check memory.
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20161219/58533783/attachment.html>


More information about the Interest mailing list