VS Open the UI file of QT Crash and Report Error [How to Solve]

Trigger behavior: open the project with VS, click the UI file, and the QT designer will flashback after a few seconds

Error reporting content:

Solution:

Method 1: right click

After QT designer is opened and before flashing back, right-click

Method 2: open QT designer and open the nearest window

Extension -> qt-> qt vs tools-> launch qt designer

Method 3: customize the opening method

Right-click the UI file, select the opening method, select QT designer, click add, and point to the designer corresponding to the compiler under the QT installation location

Find the QT installation location, find the corresponding compiler 1.mingw2.msvc, and click OK.

Read More: