Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [CLOSED]XAML and CX in Qt for Windows Phone

[CLOSED]XAML and CX in Qt for Windows Phone

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 3 Posters 1.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    matdennoigi
    wrote on last edited by
    #1

    In Windows Phone 8, Microsoft provided a new technique for native development (C++). There are 2 template for native is :

    • Native Only (only use C++) template: this template only use pure C++ with limited access to platform api (C# implementation). It has been only used for game development (with DirectX).
    • 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 from C++.

    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.
    So, how can i create XAML solution template for Windows Phone??

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      That's a question you should post on the interest mailing list. You'll find there Qt developers/maintainers (this forum is more user oriented)

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        matdennoigi
        wrote on last edited by
        #3

        I have already posted to maillist :). I will close this discussion.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jseeQt
          wrote on last edited by
          #4

          Hi matdennoigi,

          mixing XAML with Qt on Windows Phone is currently not supported.
          So you can't integrate a XAML-adbanner!
          There were some investigations to make this possible, but I don't know the exact development progress. Hopefully, you can do it with Qt5.4 in October!

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved