[Interest] XAML and CX in Qt for Windows Phone
Đèn cù Phan Quang Huy
matdennoigi at gmail.com
Wed Aug 13 11:13:02 CEST 2014
Hi all !
In Windows Phone 8, Microsoft provided a new technique for native
development (C++). There are 2 template for native :
- Native Only (only use C++) template: this template only use pure C++
with limited access to Platform API (C# implementation like Camera, Push
Notification, etc.). It has been only used for game development (with
- XAML + C# + C++ template: with this template, in fact, it is “general
Windows Phone template” with XAML for layout, C# for logic processing
and C++ for backend heavily processing. Example, the game render would be
written in C++ (like native only) but it would be rendered on a control in
XAML. MS provided a mechanism for communicate between C# and C++, is
“CX” (much like C++.net) and it much like JNI mechanism in Android. CX
allows C++ can access C# Platform API, which can’t be accessed directly
In Qt, when i want to build for Windows Phone, i will create Visual Studio
Solution by “qmake” and build it in Visual Studio, but the output solution
of it is “Native Only Template”, thus i can’t write CX and integrated any
Ad Banner for my app.
Please add qmake optional for create Xaml template. It's very useful!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest