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

Does not work moc after update to 3.3.1.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 3.3.1.1
    • None
    • Windows 10, Visual Studio 2022
    • Windows

    Description

      Moccing for code below does not work after update to 3.3.1.1 from 2.9.1.6:

      class OrionXStylePlugin : public QStylePlugin
      {
      Q_OBJECT
      Q_PLUGIN_METADATA( IID QStyleFactoryInterface_iid FILE "orion_x_style.json" )
       
      public:
      //QStringList keys() const;
      QStyle* create( const QString& key ) override;
      }; 

      Errors:

      style_plugin.hpp(13): Parse error at "IID"
      qt_work.targets(138,5): error MSB4181: The "QtRunWork" task returned false but did not log an error.

      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
              sargtlin Kozlov Ilya
              Votes:
              7 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes