简体   繁体   English

如何使用 XAML for GUI 创建 C++(/CX ?) _DESKTOP_ Windows 8 应用程序?

[英]How may I create a C++(/CX ?) _DESKTOP_ Windows 8 application using XAML for GUI?

how may I create a C++ (maybe requiring /CX extension) desktop Windows 8 application using XAML (and its visual editor) for the GUI?如何使用 XAML(及其可视化编辑器)为 GUI 创建 C++(可能需要 /CX 扩展)桌面Windows 8 应用程序? To be explicit NOT creating a Windows store application, I mean, something similar to using plain C++ and Qt (with Designer).明确地说,不是创建 Windows 商店应用程序,我的意思是类似于使用普通 C++ 和 Qt(使用 Designer)。

Windows Desktop and Windows App Store are essentially incompatible target environments. Windows 桌面和 Windows 应用商店本质上是不兼容的目标环境。 There is no desktop XAML (ie WPF) project type for C++. C++ 没有桌面 XAML(即 WPF)项目类型。

Your options are:您的选择是:

  1. use WinForms to create a C++/CLI desktop app with a designer使用 WinForms 与设计师一起创建 C++/CLI 桌面应用程序
  2. use MFC to create a native C++ desktop app with a designer使用 MFC 与设计师一起创建本机 C++ 桌面应用程序
  3. use native Win32 calls to create a native C++ desktop app without a designer使用本机 Win32 调用创建本机 C++ 桌面应用程序,无需设计器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM