Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-133054

Remove foreign type macros

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P1: Critical
    • 6.9.0 Beta3, 6.10.0 FF
    • None
    • Graphs: 3D
    • None
    • 0f7f77c3f (dev), ec520d0bd (6.9)

    Description

      It's unnecessary to add those types as foreign types, since we already have hard dependency on QML/Quick.

       

      Here is scatterseries, for example.

      class Q_GRAPHS_EXPORT QAbstract3DSeries : public QObject {
          Q_OBJECT
          ...
          QML_NAMED_ELEMENT(Abstract3DSeries)
          QML_UNCREATABLE
          ...
      };    
      
      class Q_GRAPHS_EXPORT Q3DScatterSeries : public QAbstract3DSeries {
          ...
          Q_OBJECT
          QML_UNCREATABLE
          QML_NAMED_ELEMENT(Scatter3DSeries);
          ...
      };
      
      class QQuickGraphsScatter3DSeries : public QScatter3DSeries {
          Q_OBJECT
          QML_NAMED_ELEMENT(Scatter3DSeries)
          ...
      }; 

      Attachments

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

        Activity

          People

            oulu_hillbilly Sami Varanka
            oulu_hillbilly Sami Varanka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes