>>> http://doc.trolltech.com/4.6/compiler-notes.html
>>> http://doc.trolltech.com/4.6/deployment-windows.html
>>> 
>>> is /MD cflag the only way of make qt 4.6 and microsoft visual c 2008?
>> 
>> If you want to use default QT for MSVC binary build, yes.
> 
> Sorry to jump in. It is not true that we have to have all our things
> built with MD flags in this screnario. I am using MSVS2008 which has MT
> as default flag and it does work with the QT. Ms gives you the liberty
> for whether you want to link it with static (LIBCMT.LIB) or shared
> (MSVCRT.LIB :: MSVCRT.DLL) library. All we have to do is to add the
> following options when linking:
> 
>    /NODEFAULTLIB: MSVCRT.LIB
>    /DEFAULTLIB: LIBCMT.LIB
> 
> This way, we can use QT MSVC Binaries with Harbour MSVC2008 default flag
> (which is MT)

Thanks for the tip Andi.

Generally this seems a little bit dangerous as both .dll and static 
version of C RTL is linked and used at the same time. I'd guess it 
could cause problems only if passing certain C structures/handles 
between them, anyhow it'd be nice to hear something about this aspect.

In case this is safe, we may document it, or even include these flags 
in hbqt.hbc.

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to