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

QHttpServer: use function pointer as ViewHandler

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.4.3
    • Qt Http Server
    • None

    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

        Activity

          People

            mikhailsvetkin Mikhail Svetkin
            tarae Václav Málek
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: