6.0.0-rc4Source

Nt Documentation

A small, MIT-licensed, clean-room implementation of a subset of the Qt 6 API.

Modules

Nt Core C++ ClassesCore non-graphical classes: objects, signals, events, strings and containers.
Nt Network C++ ClassesClasses for TCP and UDP networking.
Nt GPIO C++ ClassesClasses for reading and driving general-purpose I/O lines.
Nt Serial Port C++ ClassesClasses for talking to serial devices.
Nt SQL C++ ClassesClasses for working with SQL databases.
Nt D-Bus C++ ClassesClasses for inter-process communication over D-Bus.
Nt HTTP Server C++ ClassesClasses for embedding an HTTP server in an application.
Nt WebSockets C++ ClassesClasses for WebSocket clients and servers.
Nt GUI C++ ClassesWindows, events, painting and images.
Nt Widgets C++ ClassesWidgets, layouts and styles for desktop user interfaces.
Nt SVG C++ ClassesClasses that draw SVG documents and write them.
Nt SVG Widgets C++ ClassesA widget that shows SVG documents.
Nt Charts C++ ClassesLine, area, scatter, bar and pie charts for dashboards and reports.
Nt OpenGL C++ ClassesWindows that render with OpenGL, QPainter on OpenGL, and framebuffer objects.
Nt Qml C++ ClassesA JavaScript engine for scripting applications, and the QML engine.
Nt FM C++ ClassesReal-time FM synthesis of game sound effects from patches of a few hundred bytes.
Nt FM QML TypesQML types for Nt FM: a sound is one declarative element.
Nt Concurrent C++ ClassesFunctions that run code in the threads of a pool without using threads directly.
Nt Test C++ ClassesUnit testing: test functions, data-driven tests, signal spies and result logs.

Overviews

Installing NtInstalling Nt from the .deb, .rpm and pacman packages for Ubuntu, Enterprise Linux and Arch Linux.
Meta-Object SystemHow Nt describes classes at run time: introspection, properties and invoking by name.
Nt Brand GuideHow to use the Nt name and logo, including the Nt Development logo and version names.
Nt on ZephyrCross building Nt Core and Nt Network for a board that runs the Zephyr RTOS.
Signals and SlotsHow Nt objects notify each other without knowing about each other.
The Nt Resource SystemCompiling files into a program with ntrcc and reading them with QFile.
Thread Support in NtHow threads, event loops and objects fit together in Nt Core.
Using Nt ChartsHow to draw line, area, scatter, bar and pie charts, and show them in a widget.
Using Nt D-BusConnecting to a bus, exporting an object with an adaptor, calling it, receiving its signals, and the types that travel over D-Bus.
Using Nt FMHow to synthesise game sound effects with four-operator FM instead of shipping WAV files.
Using Nt GPIONaming a GPIO line, reading a push-to-talk switch, driving an LED, and getting permission on Linux.
Using Nt GUIHow to open a window, paint on it and handle input with Nt GUI.
Using Nt HTTP ServerServing HTTP from an application: routes with typed path arguments, responses, streaming, HTTPS and local sockets.
Using Nt OpenGLHow to render with OpenGL in a window or offscreen, paint with QPainter through OpenGL, and control vsync.
Using Nt QMLHow to declare objects in QML documents, bind their properties, and give QML your C++ types.
Using Nt QmlHow to run JavaScript in an application, and let scripts use its QObjects.
Using Nt SQLHow to connect to an SQL database, run statements with bound values, and show tables in models.
Using Nt SVGHow to draw SVG files, show them in a widget, and write what a painter draws as SVG.
Using Nt Serial PortFinding, configuring and opening a serial port, reading and writing it, handling errors, and getting permission to use it on Linux.
Using Nt WebSocketsConnecting to a WebSocket server, accepting connections, messages, closing, TLS, and WebSockets on the port of an HTTP server.
Using Nt WidgetsHow to build a user interface from widgets and layouts.
Writing Tests with Nt TestHow to write, build and run a test, and the macros Nt Test provides.

All classes (591)