{"id":61304,"library":"wt","title":"Wt","description":"Wt is a C++ library for developing web applications.","status":"active","version":"4.12.6","language":"cpp","source_language":null,"source_url":null,"tags":["web","framework","c++","gui","server"],"install":[{"cmd":"vcpkg install wt","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(wt CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE wt::wt)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"Wt/WApplication.h","correct":"#include <Wt/WApplication.h>"}],"quickstart":{"code":"#include <Wt/WApplication.h>\n#include <Wt/WText.h>\n\nclass HelloApp : public Wt::WApplication {\npublic:\n    HelloApp(const Wt::WEnvironment& env) : Wt::WApplication(env) {\n        root()->addWidget(std::make_unique<Wt::WText>(\"Hello, World!\"));\n    }\n};\n\nint main(int argc, char** argv) {\n    return Wt::WRun(argc, argv, [](const Wt::WEnvironment& env) {\n        return std::make_unique<HelloApp>(env);\n    });\n}","lang":"cpp","description":"Minimal Wt web application displaying 'Hello, World!'."},"warnings":[{"fix":"Ensure you link against the correct Wt libraries (wt, wthttp, wtfcgi) and configure your application for deployment.","message":"Wt requires a web server (e.g., built-in HTTP server or FastCGI) to run; it is not a standalone executable.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'applic':10 'c':5,13 'develop':8 'framework':12 'gui':14 'librari':6 'server':15 'web':9,11 'wt':1,2","created_at":"2026-06-17T04:45:34.162748+00:00","updated_at":"2026-06-17T04:45:34.162748+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}}