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

QTConcurrent Run

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 4.8.2
    • Core: QtConcurrent
    • None
    • windows 7 (x64)

    Description

      this little exemple compile fine in 4.7.1 and older version but with 4.8.2 i got this error during the comilation with (msvc 2010)

      Compile Output
       error C2064: term does not evaluate to a function taking 5 arguments
              ..\testConcurentRun\main.cpp(14) : see reference to function template instantiation 'QFuture<T> QtConcurrent::run<MJaoWidgetProperty*,QVariant(__thiscall MJaoWidgetProperty::* )(int *,const int *,bool,bool) const,int*,int*,bool,bool>(Functor,const Arg1 &,const Arg2 &,const Arg3 &,const Arg4 &,const Arg5 &)' being compiled
              with
              [
                  T=int,
                  Functor=MJaoWidgetProperty *,
                  Arg1=QVariant (__thiscall MJaoWidgetProperty::* )(int *,const int *,bool,bool) const,
                  Arg2=int *,
                  Arg3=int *,
                  Arg4=bool,
                  Arg5=bool
              ]
      

      but if compile the same exemple with mingw32 it compiles fine.

      Attachments

        1. testConcurentRun.zip
          0.7 kB
          le roy arnaud
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            sdnetwork le roy arnaud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes