Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.0.0
-
None
-
-
51734cd595f7d6fa0eb2ca3436a19d23ed8859dc (qt-extensions/qthttpserver/dev)
Description
Hello,
I'm trying to build QtHttpServer (from https://codereview.qt-project.org/qt-extensions/qthttpserver) with Qt 6.0.0 (using CMake), and I'm getting the following errors:
C:\qthttpserver\src\httpserver\qhttpserverfutureresponse.h(120): error C2039: 'isCanceled': is not a member of 'QtConcurrent::RunFunctionTask<QHttpServerResponse>' C:\qthttpserver\src\httpserver\qhttpserverfutureresponse.h(115): note: see declaration of 'QtConcurrent::RunFunctionTask<QHttpServerResponse>' C:\qthttpserver\src\httpserver\qhttpserverfutureresponse.h(121): error C2039: 'reportFinished': is not a member of 'QtConcurrent::RunFunctionTask<QHttpServerResponse>' C:\qthttpserver\src\httpserver\qhttpserverfutureresponse.h(115): note: see declaration of 'QtConcurrent::RunFunctionTask<QHttpServerResponse>' C:\qthttpserver\src\httpserver\qhttpserverfutureresponse.h(135): error C2039: 'reportAndMoveResult': is not a member of 'QtConcurrent::RunFunctionTask<QHttpServerResponse>' C:\qthttpserver\src\httpserver\qhttpserverfutureresponse.h(115): note: see declaration of 'QtConcurrent::RunFunctionTask<QHttpServerResponse>' C:\qthttpserver\src\httpserver\qhttpserverfutureresponse.h(136): error C2039: 'reportFinished': is not a member of 'QtConcurrent::RunFunctionTask<QHttpServerResponse>' C:\qthttpserver\src\httpserver\qhttpserverfutureresponse.h(115): note: see declaration of 'QtConcurrent::RunFunctionTask<QHttpServerResponse>'
Compiling with Qt5 works fine. Is there ongoing work to make this compatible with Qt6, or am I doing something wrong?