{"id":61584,"library":"qthttpserver","title":"Qt HTTP Server","description":"Qt HTTP Server supports building HTTP server functionality into an application.","status":"active","version":"6.10.1","language":"cpp","source_language":null,"source_url":null,"tags":["http","server","qt6","web"],"install":[{"cmd":"vcpkg install qthttpserver","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(qthttpserver CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE Qt6::HttpServer)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"QHttpServer","correct":"#include <QHttpServer>"}],"quickstart":{"code":"#include <QHttpServer>\n#include <QCoreApplication>\n\nint main(int argc, char *argv[]) {\n    QCoreApplication app(argc, argv);\n    QHttpServer server;\n    server.route(\"/\", []() { return \"Hello, world!\"; });\n    server.listen(QHostAddress::Any, 8080);\n    return app.exec();\n}","lang":"cpp","description":"Create a simple HTTP server"},"warnings":[{"fix":"Use Qt 6.5 or later and link against Qt6::HttpServer.","message":"Qt HTTP Server is only available for Qt 6.5+.","severity":"breaking","affected_versions":"<6.5.0"}],"env_vars":null,"search_vec":"'applic':14 'build':8 'function':11 'http':2,5,9,15 'qt':1,4 'qt6':17 'server':3,6,10,16 'support':7 'web':18","created_at":"2026-06-17T04:56:47.948925+00:00","updated_at":"2026-06-17T04:56:47.948925+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}