[Qt-interest] Qt C++ with some C++.NET calls

Scott Aron Bloom Scott.Bloom at sabgroup.com
Fri Jan 15 18:51:31 CET 2010


Here is what I have done successfully...

 

1) Put all your C++/CLI code in a separate library.  And obviously
enabled C++/CLI in that lib

2) The interfaces to that library have to be 100% C++, no C++/CLI in the
public headers

3) From your Qt Code, call the public API

 

Yes, you can use QMake..  Standard sources and headers...

 

But you need to add the C++/CLI enable switch to the CXXFLAGS


Scott

 

From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Sylvain Pointeau
Sent: Friday, January 15, 2010 2:41 AM
To: qt-interest at trolltech.com
Subject: [Qt-interest] Qt C++ with some C++.NET calls

 

Hi,

 

I would like to know if this is possible to embed some C++.NET code into
a Qt Application?

What do you recommend? is it possible to continue using QMake?

 

Many thanks in advance,

Sylvain

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100115/b63164bf/attachment.html 


More information about the Qt-interest-old mailing list