[英]How do you make Qt Quick applications in Visual Studio?
I'm trying to learn Qt and I'm still somewhat new to programming in general, and I prefer to do my coding in VS (2015), since that's what I know, but I can't figure out how to make Qt Quick applications.我正在尝试学习 Qt,但总的来说,我对编程还是有些陌生,我更喜欢在 VS(2015)中进行编码,因为这是我所知道的,但我不知道如何使 Qt Quick应用程序。 I've installed the VS Tools plugin for Qt, but it doesn't have an option in the setup wizard for a QML project, only a widgets project, and that's about the extent of my knowledge of how to set something like that up.
我已经为 Qt 安装了 VS Tools 插件,但它在 QML 项目的设置向导中没有一个选项,只有一个小部件项目,这就是我对如何设置类似内容的了解程度。 I've been googling for most of the day to try to figure out how to do it, and I've found plenty of examples of people using Quick projects in VS without problem, but no examples of how to actually set it up to begin with.
我一天中的大部分时间都在用谷歌搜索,试图弄清楚如何去做,我发现了很多人在 VS 中使用 Quick 项目没有问题的例子,但没有关于如何实际设置它的例子开始和。 What do I need to do?
我需要做什么?
The following answer is intended for VS 2019 with Qt 5.13.1 and Qt Creator 4.10.以下答案适用于带有 Qt 5.13.1 和 Qt Creator 4.10 的 VS 2019。 If that differs from what you are working with, I hope the instructions are similar enough.
如果这与您正在使用的不同,我希望这些说明足够相似。
Source: How to convert QtCreator project to Visual Studio project来源: 如何将 QtCreator 项目转换为 Visual Studio 项目
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.