Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.4.3
-
None
-
-
51c37b7ef (dev), 00d0ea9c2 (dev), 97541e42f (6.5), f07584240 (6.5)
-
Foundations Sprint 80
Description
There is a bug in the implementation or the documentation is wrong.
Seems you can't use a raw function pointer as ViewHandler when adding route to QHttpServer. I've asked about it and described it including an example on the forum: https://forum.qt.io/topic/144009/qhttpserver-use-function-pointer-as-viewhandler
Attachments
For Gerrit Dashboard: QTBUG-112484 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
473530,3 | tst_qhttpserverrouter: Don't attempt to forward a lambda capture | dev | qt/qthttpserver | Status: MERGED | +2 | 0 |
473531,3 | Decay type passed to FunctionTraits | dev | qt/qthttpserver | Status: MERGED | +2 | 0 |
474387,2 | tst_qhttpserverrouter: Don't attempt to forward a lambda capture | 6.5 | qt/qthttpserver | Status: MERGED | +2 | 0 |
474388,2 | Decay type passed to FunctionTraits | 6.5 | qt/qthttpserver | Status: MERGED | +2 | 0 |