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

QtDeclarative compilation failure with Sun CC (4 platforms)

    XMLWordPrintable

Details

    • f595c880cf68225d300547d31f13cf9520be3846

    Description

      Error:

      "graphicsitems/qmlgraphicsflickable.cpp", line 165: Error: Could not find a match for QmlTimeLineEvent::timeLineEvent<QmlTimeLineEvent::T, QmlTimeLineEvent::method>(QmlTimeLineValueProxy<QmlGraphicsFlickablePrivate>*, QmlGraphicsFlickablePrivate*) needed in QmlGraphicsFlickablePrivate::QmlGraphicsFlickablePrivate().
      graphicsitems/qmlgraphicsflickable.cpp", line 166: Error: Could not find a match for QmlTimeLineEvent::timeLineEvent<QmlTimeLineEvent::T, QmlTimeLineEvent::method>(QmlTimeLineValueProxy<QmlGraphicsFlickablePrivate>*, QmlGraphicsFlickablePrivate*) needed in QmlGraphicsFlickablePrivate::QmlGraphicsFlickablePrivate().
      

      This is probably caused by the template expansion failed, leading to the template functions being discarded.

      Template function being called is:

          template<class T, void (T::*method)()>
          static QmlTimeLineEvent timeLineEvent(QmlTimeLineObject *b, T *c)
          {
              QmlTimeLineEvent rv;
              rv.d0 = &callFunc<T, method>;
              rv.d1 = (void *)c;
              rv.d2 = b;
              return rv;
          }
      
          template <class T, void (T::*method)()>
          static void callFunc(void *c)
          {
              T *cls = (T *)c;
              (cls->*method)();
          }
      

      Attachments

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

        Activity

          People

            aakenned Aaron Kennedy
            tmacieir Thiago Macieira (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes