Wt is a C++ library for developing web applications.
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
#include <Wt/WApplication.h>
Minimal Wt web application displaying 'Hello, World!'.
#include <Wt/WApplication.h>
#include <Wt/WText.h>
class HelloApp : public Wt::WApplication {
public:
HelloApp(const Wt::WEnvironment& env) : Wt::WApplication(env) {
root()->addWidget(std::make_unique<Wt::WText>("Hello, World!"));
}
};
int main(int argc, char** argv) {
return Wt::WRun(argc, argv, [](const Wt::WEnvironment& env) {
return std::make_unique<HelloApp>(env);
});
}
Upgrade
Version history
Breaking-change detection hasn't run for this library yet.
Audit
Security & dependencies
CVE tracking and dependency tree are planned for a later release.
Resources
No resource links recorded.