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

Qt4Class Template: %BASECLASS% not resolved

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes