简体   繁体   English

我可以使用Visual C ++开发跨平台桌面应用程序吗?

[英]Can I develop Cross-Platform Desktop Applications using Visual C++?

我想开发一个跨平台桌面应用程序,我在Google上发现可以使用QT做到这一点,但是我对Visual Studio(c ++)更加感兴趣,所以我可以使用Visual c ++开发跨平台应用程序吗?

Visual Studio is an IDE, and you can use several frameworks to build desktop applications in C++ using Visual Studio. Visual Studio是一个IDE,您可以使用多个框架使用Visual Studio在C ++中构建桌面应用程序。 If you choose a Windows-specific framework, for example MFC, then your application will be Windows-only, of course. 如果您选择Windows特定的框架,例如MFC,那么您的应用程序当然将仅Windows。

But, at the same time, if you pick a cross-platform framework, like Qt, you can develop cross-platform desktop applications using Visual Studio in C++. 但是,与此同时,如果选择跨平台框架(如Qt),则可以使用C ++中的Visual Studio开发跨平台桌面应用程序。

While Qt has its own IDE (Qt Creator), a Qt Visual Studio add-in is also available: 虽然Qt拥有自己的IDE(Qt Creator),但是Qt Visual Studio加载项也可用:

The Qt Visual Studio Add-in allows programmers to create, build, debug and run Qt applications from within non-Express versions of Microsoft Visual Studio 2008, 2010, and 2012. The add-in contains project wizards, Qt project import/export support, integrated Qt resource manager and automated build setup for the Qt Meta-Object Compiler, User Interface Compiler, and Resource Compiler. Qt Visual Studio加载项允许程序员从Microsoft Visual Studio 2008、2010和2012的非Express版本中创建,构建,调试和运行Qt应用程序。该加载项包含项目向导,Qt项目导入/导出支持,集成的Qt资源管理器和Qt元对象编译器,用户界面编译器和资源编译器的自动构建设置。

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

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