Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-1285

.ui file cannot be opened in designer again after being modified and compiled once

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 3.3.0, 3.3.1.1
    • None

      Visual Studio 2022 Version 17.11.5 + latest VS Tools 3.3.1.1. Steps to reproduce:
      1. Create a default widget application from template
      2. Double click .ui file and confirm that it is by default opened by designer
      3. Modify the .ui file, e.g. add some controls, and then save it and close designer tab (or window if you detached it)
      4. Build and the run the application and confirm it runs perfectly
      5. Kill the application and try to double click .ui file again, it is opened as XML file.
      6. Right click .ui file and explicitly choose to open it with designer, the following error pops up:

      The problem now is that you cannot further design .ui file anymore.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtvstools Qt VS Tools
            luqiaochen Luqiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes