When we use Qt and vs2019 for joint development, we will encounter this problem. Double-click to open the ui file, and it will crash after a while.
The blogger here gives a solution, only two simple steps are needed to solve the above flashback problem
When trying to edit it by double-clicking the UI of the Qt widget, Qt Creator will open, but then it will quickly close, and then an error will be reported: the file cannot be opened, as shown in the figure:
How should we solve it at this time? Don't worry, follow me next:
Select the extension as shown in the figure:
Select the first option Qt VS Tools:
Select Options:
Finally, if you set the red place to true:
Finally, we can see that the ui interface has been punched successfully, and there is no crash: