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

QHttpServer: use function pointer as ViewHandler

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.5.1, 6.6.0
    • 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

        For Gerrit Dashboard: QTBUG-112484
        # Subject Branch Project Status CR V

        Activity

          People

            ievgenii.meshcheriakov Ievgenii Meshcheriakov
            tarae Václav Málek
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes