Wt, C++ Web Toolkit
C C++ JavaScript Objective-C HTML CSS Other
Latest commit f7010ec Feb 24, 2017 Roel Standaert Several changes:
 - Use public deployment path for default Path of cookie, use
   that for multisession cookie. Should fix issue #5560.
 - resolveRelativeUrl: properly append url to public deployment path,
   fixes issue where URL substitutions in WTemplate would turn a link like
   <a href="#/contact"> into a link to "/ontact"
 - Renamed test target to test.wt, fixes issue #5534
 - Load stylesheets after all widgets have loaded when using progressive
   bootstrap, fixes glitch in widget gallery where WMediaPlayer was not
   shown correctly when switching to the Media tab.
 - Added stripes for bootstrap theme, fixes alternating row colors not
   working for WTreeView when using WBootstrapTheme


What is Wt ?

Wt is a C++ library for developing web applications. It consists of:

  • libwt, a widget/rendering library
  • libwthttp, an (async I/O) HTTP/WebSockets server
  • libwtfcgi, a FastCGI connector library (Unix)
  • libwtisapi, an ISAPI connector library (Windows)
  • libwttest, a test connector environment

It also contains a C++ ORM, which can be used in a web application (obviously), but can also be used on its own:

  • libwtdbo, a C++ ORM
  • libwtdbopostgres, PostgreSQL backend
  • libwtdbosqlite3, Sqlite3 backend
  • libwtdbofirebird, Firebird backend

For more information, see the homepage.


To build Wt from source you will need at least CMake (>= 2.4), and boost (version >= 1.41).

Optionally, you may want to add:

  • OpenSSL for SSL and WebSockets support in the built-in httpd, the HTTP(S) client, and additional cryptographic hashes in the authentication module
  • Haru PDF library which is used for painting to PDF
  • GraphicsMagick which is used for painting to PNG, GIF
  • PostgreSQL for a PostgreSQL backend
  • Firebird for a Firebird backend
  • Pango for improved font support in PDF and raster image painting
  • ZLib for compression in the built-in httpd.

For the FastCGI connector, you also need:


Generic instructions for Unix-like platforms or Windows platforms.

Bug Reporting

Bugs can be reported here http://redmine.webtoolkit.eu/projects/wt/issues/new

Demos, examples

The homepage, itself a Wt application, contains also various examples.