PDA

View Full Version : how to compile qt use /clr?



yunpeng880
14th April 2009, 10:11
i have to call c# dll, so need to compile qt use /clr,but it's do't ok,holp somebody help me ,thanks.

Boron
14th April 2009, 19:56
Isn't it enough to compile just the application with /clr (you should have mentioned that you use the MS C++ compiler)?

As it is stated on this page (http://msdn.microsoft.com/en-us/library/k8d11d4s.aspx) the /clr option "enables applications and components to use features from the common language runtime (CLR)".
As Qt itself doesn't use CLR features it should not be necessary to compile Qt with /clr option.