Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved How can I run native C# codes in Qt/C++ for Windows Mobile Apps?

    Mobile and Embedded
    2
    6
    1431
    Loading More Posts
    • 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.
    • I
      Ibrahim last edited by

      Hi; How can I run native C# codes in Qt/C++ for Windows Mobile apps? We can run Java codes in Qt for Android or we can run Objective-C codes in Qt for iOS. Do we need native C# codes for Windows Mobile or do support native C++ codes Windows Mobile? Thanks.

      1 Reply Last reply Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion last edited by

        Do you mean Windows Phone apps? Or more generic WinRT?
        That's possible with C++, no need for C#: http://doc.qt.io/qt-5/winrt-support.html

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        I 1 Reply Last reply Reply Quote 1
        • I
          Ibrahim @jsulm last edited by

          @jsulm I am talking about Windows 10 Mobile and Windows Phone 8, 8.1 (I think this is WinRT). I need use this properties in Windows Mobile apps. Do I need C# codes in Qt/C++ for Windows 10 Mobile apps or can I use this properties with C++ in Qt without C#?

          1 Reply Last reply Reply Quote 0
          • jsulm
            jsulm Lifetime Qt Champion last edited by

            You can use WinRT with C++, no need for C#

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            I 1 Reply Last reply Reply Quote 1
            • I
              Ibrahim @jsulm last edited by

              @jsulm Thanks but I see Windows 10 Mobile apps supported C++ but I don't see C++ examples on the web page, this code is javascript only, I don't see C++. Where is the C++ codes? Thanks.

              1 Reply Last reply Reply Quote 0
              • jsulm
                jsulm Lifetime Qt Champion last edited by

                Well, it's the same class with same properties/methods just C++ syntax.
                Here for example you can even see C++ example: https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.notifications.toastnotification.activated.aspx

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply Reply Quote 1
                • First post
                  Last post