wt

Wt, C++ Web Toolkit

Latest version: 4.14.0

Add to xmake.lua

add_requires("wt 4.14.0")

Learn how to add and link packages with Xmake →

Information

Recipe updated
2026-08-05T10:16:03.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • macosx: x86_64, arm64
  • windows: x86, x64, arm, arm64, arm64ec

Options

fastcgi
Build the FastCGI connector (libwtfcgi) · Type: boolean · Default: false
firebird
Build FirebirdSQL backend for Wt::Dbo · Type: boolean · Default: false
haru
Enable Haru Free PDF Library, which is used to provide support for painting to PDF (WPdfImage) · Type: boolean · Default: false
http
Build the stand-alone httpd connector (libwthttp) · Type: boolean · Default: true
libwtdbo
Build Wt::Dbo · Type: boolean · Default: false
libwttest
Build Wt::Test · Type: boolean · Default: false
mssqlserver
Build Microsoft SQL Server backend for Wt::Dbo · Type: boolean · Default: false
mysql
Build mariadb/mysql backend for Wt::Dbo · Type: boolean · Default: false
opengl
Build Wt with support for server-side opengl rendering · Type: boolean · Default: false
pango
Enable Pango Library, which is used for improved font support (WPdfImage and WRasterImage) · Type: boolean · Default: false
postgres
Build PostgreSQL backend for Wt::Dbo · Type: boolean · Default: false
qt4
Build Qt4 interworking library (libwtwithqt) · Type: boolean · Default: false
qt5
Build Qt5 interworking library (libwtwithqt5) · Type: boolean · Default: false
qt6
Build Qt6 interworking library (libwtwithqt6) · Type: boolean · Default: false
saml
Build built-in SAML service provider for Wt::Auth · Type: boolean · Default: false
selenium_tests
Build Wt::Test::Selenium (requires Python3) · Type: boolean · Default: false
sqlite
Build SQLite3 backend for Wt::Dbo · Type: boolean · Default: false
ssl
Enable cryptography functions, using OpenSSL · Type: boolean · Default: true
unwind
Build Wt with stacktrace support using libunwind · Type: boolean · Default: false

Versions

  • 4.14.0

Dependencies

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "wt 4.14.0"

show info

xrepo info "wt"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("wt 4.14.0")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("wt")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "wt 4.14.0" shell