Re: [Interest] Use Qt release DLLs while debugging application

2018-04-24 Thread Thiago Macieira
On Tuesday, 24 April 2018 22:35:00 PDT Rainer Wiesenfarth wrote: > ​Note: You have to make sure that any other library you link against is > using the same C runtime​ And that's exactly the problem. With MSVC, the definition of "debug" and "release" can take one of two meanings: optimised or not

Re: [Interest] Use Qt release DLLs while debugging application

2018-04-24 Thread Henry Skoglund
On 2018-04-25 07:35, Rainer Wiesenfarth wrote: *You can, if* you are interested in the debug code of your application only, but not in the one of Qt and the C runtime. If you use the release version of Qt, you have to make sure that you link with the same runtime, i.e. you use /MD (Mulit-threa

Re: [Interest] Use Qt release DLLs while debugging application

2018-04-24 Thread Rainer Wiesenfarth
On Tue, Apr 24, 2018 at 10:34 PM, Thiago Macieira wrote: > On Monday, 23 April 2018 22:34:20 PDT Hamish Moffatt wrote: > > This must be an FAQ, but can I use the Qt release mode DLLs while > > running my application compiled for debug? (In Visual Studio 2015, Qt > 5.8). > > > ​[...] > > > You can

Re: [Interest] Use Qt release DLLs while debugging application

2018-04-24 Thread Thiago Macieira
On Monday, 23 April 2018 22:34:20 PDT Hamish Moffatt wrote: > This must be an FAQ, but can I use the Qt release mode DLLs while > running my application compiled for debug? (In Visual Studio 2015, Qt 5.8). > > I looked through the mkspecs and it doesn't seem possible. The > qtPlatformTargetSuffix

Re: [Interest] Use Qt release DLLs while debugging application

2018-04-24 Thread Gunnar Roth
delete with the release allocator or vice versa. Regards, Gunnar Roth -- Original Message -- From: "Hamish Moffatt" To: "interest@qt-project.org" Sent: 24/04/2018 07:34:20 Subject: [Interest] Use Qt release DLLs while debugging application This must be an FAQ,

[Interest] Use Qt release DLLs while debugging application

2018-04-23 Thread Hamish Moffatt
This must be an FAQ, but can I use the Qt release mode DLLs while running my application compiled for debug? (In Visual Studio 2015, Qt 5.8). I looked through the mkspecs and it doesn't seem possible. The qtPlatformTargetSuffix function defined in qt_functions.prf always adds the d suffix when