Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-30751

Qt Class Generation generates code that generates error codes when the Qt module name is selected

    XMLWordPrintable

Details

    • 4dc56046e (13.0)

    Description

      When you select to use the Qt module name in the #include directive in the Qt Class Generation code generation, and then create a class with a ui file, the file automatically generated by the code adds the old Qt module name,

      for example:

      #include <QtGui/QDialog>,

      but,this is incorrect, the current version of Qt6, the correct code should be:

      #include <QtWidgets/QDialog>

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            youyuanshanren wang yongliang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes