Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. qfuture_impl.h:180:43: error:
Qt 6.11 is out! See what's new in the release blog

qfuture_impl.h:180:43: error:

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 600 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sunruh
    wrote on last edited by sunruh
    #1

    ../../../Qt/6.6.1/gcc_64/include/QtCore/qfuture_impl.h:180:43: error: ‘operator()’ is not a member of ‘std::decay<OperatorWindow*>::type’ {aka ‘OperatorWindow*’}
    180 | struct ArgResolver : ArgResolver<decltype(&std::decay_t<F>::operator())>
    |

    any fix for this?

    or this?

    ../../../Qt/6.6.1/gcc_64/include/QtConcurrent/qtconcurrentstoredfunctioncall.h:189:64: error: no type named ‘IsPromise’ in ‘struct QtPrivate::ArgResolver<OperatorWindow*>’
    189 | static_assert(QtPrivate::ArgResolver<Function>::IsPromise::value,
    |
    or this as well?

    ../../../Qt/6.6.1/gcc_64/include/QtConcurrent/qtconcurrentstoredfunctioncall.h:195:15: error: no type named ‘PromiseType’ in ‘struct QtPrivate::ArgResolver<OperatorWindow*>’
    195 | using PromiseType = typename QtPrivate::ArgResolver<Function>::PromiseType;
    | ^~~~~~~~~~~
    ../../../Qt/6.6.1/gcc_64/include/QtConcurrent/qtconcurrentstoredfunctioncall.h:196:17: error: no type named ‘PromiseType’ in ‘struct QtPrivate::ArgResolver<OperatorWindow*>’
    196 | return (new StoredFunctionCallWithPromise<Function, PromiseType, Args...>(std::move(args)))
    | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    i just used the MaintenanceTool and no updates

    or is it something i have done wrong or not setup?

    Pl45m4P S 2 Replies Last reply
    0
    • S sunruh

      ../../../Qt/6.6.1/gcc_64/include/QtCore/qfuture_impl.h:180:43: error: ‘operator()’ is not a member of ‘std::decay<OperatorWindow*>::type’ {aka ‘OperatorWindow*’}
      180 | struct ArgResolver : ArgResolver<decltype(&std::decay_t<F>::operator())>
      |

      any fix for this?

      or this?

      ../../../Qt/6.6.1/gcc_64/include/QtConcurrent/qtconcurrentstoredfunctioncall.h:189:64: error: no type named ‘IsPromise’ in ‘struct QtPrivate::ArgResolver<OperatorWindow*>’
      189 | static_assert(QtPrivate::ArgResolver<Function>::IsPromise::value,
      |
      or this as well?

      ../../../Qt/6.6.1/gcc_64/include/QtConcurrent/qtconcurrentstoredfunctioncall.h:195:15: error: no type named ‘PromiseType’ in ‘struct QtPrivate::ArgResolver<OperatorWindow*>’
      195 | using PromiseType = typename QtPrivate::ArgResolver<Function>::PromiseType;
      | ^~~~~~~~~~~
      ../../../Qt/6.6.1/gcc_64/include/QtConcurrent/qtconcurrentstoredfunctioncall.h:196:17: error: no type named ‘PromiseType’ in ‘struct QtPrivate::ArgResolver<OperatorWindow*>’
      196 | return (new StoredFunctionCallWithPromise<Function, PromiseType, Args...>(std::move(args)))
      | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      i just used the MaintenanceTool and no updates

      or is it something i have done wrong or not setup?

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by
      #2

      @sunruh

      What is your code that produces these errors?


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      1 Reply Last reply
      0
      • S sunruh

        ../../../Qt/6.6.1/gcc_64/include/QtCore/qfuture_impl.h:180:43: error: ‘operator()’ is not a member of ‘std::decay<OperatorWindow*>::type’ {aka ‘OperatorWindow*’}
        180 | struct ArgResolver : ArgResolver<decltype(&std::decay_t<F>::operator())>
        |

        any fix for this?

        or this?

        ../../../Qt/6.6.1/gcc_64/include/QtConcurrent/qtconcurrentstoredfunctioncall.h:189:64: error: no type named ‘IsPromise’ in ‘struct QtPrivate::ArgResolver<OperatorWindow*>’
        189 | static_assert(QtPrivate::ArgResolver<Function>::IsPromise::value,
        |
        or this as well?

        ../../../Qt/6.6.1/gcc_64/include/QtConcurrent/qtconcurrentstoredfunctioncall.h:195:15: error: no type named ‘PromiseType’ in ‘struct QtPrivate::ArgResolver<OperatorWindow*>’
        195 | using PromiseType = typename QtPrivate::ArgResolver<Function>::PromiseType;
        | ^~~~~~~~~~~
        ../../../Qt/6.6.1/gcc_64/include/QtConcurrent/qtconcurrentstoredfunctioncall.h:196:17: error: no type named ‘PromiseType’ in ‘struct QtPrivate::ArgResolver<OperatorWindow*>’
        196 | return (new StoredFunctionCallWithPromise<Function, PromiseType, Args...>(std::move(args)))
        | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        i just used the MaintenanceTool and no updates

        or is it something i have done wrong or not setup?

        S Offline
        S Offline
        sunruh
        wrote on last edited by
        #3

        @sunruh

            QFuture<void> future = QtConcurrent::run(this, &OperatorWindow::testThreadDoOnThread);
        

        which all worked fine under qt5.x

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved