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

VSTools 3.3.1.1 moc problems

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 3.3.0
    • None

    Description

      I just made the mistake of installing Qt VSTools 3.3.1.1 - bad move - now i get
      4>D:\Github\DSS\DeepSkyStacker\GeneratedFiles\moc_lowerdockwidget.cpp(107,21): error C2039: 'setDSSClosing': is not a member of 'DSS::LowerDockWidget'
      4>(compiling source file '/GeneratedFiles/moc_lowerdockwidget.cpp')
      4> D:\Github\DSS\DeepSkyStacker\lowerdockwidget.h(43,8):
      4> see declaration of 'DSS::LowerDockWidget'
      15:49
      Now I need to back level it again. to 3.2.0.47

      Here's what's breaking it:

      #include <QDockWidget>
      #include "DSSCommon.h"

      namespace DSS
      {
          class LowerDockWidget : public QDockWidget
          {
              friend class StackingDlg;
              friend class ProcessingDlg;
              typedef QDockWidget
                  Inherited;

              Q_OBJECT

          public:
              LowerDockWidget(QWidget* parent = nullptr);
              ~LowerDockWidget();

              inline int addWidget(QWidget* widget)
             

      {             return stackedWidget->addWidget(widget);         }

          public slots:
              void setDockTitle(const QString& text);

              void panelChanged(ActivePanel panel);

      #if QT_VERSION < 0x060601        // Shouldn't need this in QT 6.6.1
              inline void setDSSClosing() { dssClosing = true; }
      #endif

          private:
              QLabel* dockTitle;
              QStackedWidget* stackedWidget;

      #if QT_VERSION < 0x060601        // Shouldn't need this in QT 6.6.1
          protected:
              void closeEvent(QCloseEvent* event) override;

          private:
              bool dssClosing;
      #endif

          };
      }

      Attachments

        Issue Links

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

          Activity

            People

              mecfc Miguel Costa
              perdrix David Partridge
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes