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

Qt4Class Template: %BASECLASS% not resolved

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 1.1.6
    • 1.1.6
    • General
    • None

    Description

      We customized the Qt4Class and Qt4GuiClass templates

      e.g.: wizards\Qt4Class\templates\1033\class.h:

      #ifndef %PRE_DEF%
      #define %PRE_DEF%

      #include <qtstd/vqtstd.h>
      #include <%BASECLASS%>

      class %CLASS%%BASEDECL%
      {%Q_OBJECT%
      typedef %BASECLASS% base_class_type;
      public:
      %CLASS%(%CTORSIG%);
      ~%CLASS%();

      private:

      };

      #endif // %PRE_DEF%

      Apparently %BASECLASS%, which used to work a couple versions ago (not sure!) is not replaced with the base class any more.

      It is however replaced when using the Qt4GuiClass template (which is still used in the default wizards\Qt4GuiClass\templates\1033* templates) ! This seems illogical and unpractical.

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            ceumern delete me please
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes