Cross-platform software libraries and APIs
Qt Creator IDE and productivity tools
UI Design tool for UI composition
for Qt projects
Digital advertising for UI apps
Usage intelligence for embedded devices
GUI test automation
Code coverage analysis
Test results management and analysis
Software static code analysis
Software architecture verification
The latest version of Qt.
Make the most of Qt tools, with options for commercial licensing, subscriptions, or open-source.
Explore Qt features, the Framework essentials, modules, tools & add-ons.
The project offers PySide6 - the official Python bindings that enhance Python applications.
Qt empowers productivity across the entire product development lifecycle, from UI design and software development to quality assurance and deployment. Find the solution that best suits your needs.
Insight into the evolution and importance of user-centric trends and strategies.
Learn how to shorten development times, improve user experience, and deploy anywhere.
Tips on efficient development, software architecture, and boosting team happiness.
Get the latest resources, check out upcoming events, and see who’s innovating with Qt.
Whether you're a beginner or a seasoned Qt pro, we have all the help and support you need to succeed.
January 25, 2019 by Jesús Fernández | Comments
First things first, Happy new year dear Qt users!
I'm sorry, I'm really late :(
Some time ago we decided to avoid repeating the same tedious code to write our own "Simple" Http Servers. So we started writing a Qt HTTP server with several essential features. The word simple is quoted because something planned to be "simple" evolved into a piece of code hard to maintain.
To give few numbers during the last two years, I wrote three times the same code to parse request headers, write response headers, deal with connections, ... And I know, I'm not the only one who did the same (just check GitHub).
To take a look into the code, you can clone it with:
git clone --recursive https://codereview.qt-project.org/qt-labs/qthttpserver
You can manually build it using the last Qt release.
Before listing the features let's show the mandatory hello world example:
#include <QtCore>
#include <QtHttpServer>
int main(int argc, char **argv) {
QCoreApplication app(argc, argv);
QHttpServer httpServer;
httpServer.route("/", []() {
return "Hello world";
});
httpServer.listen(QHostAddress::Any);
return app.exec();
}
At this moment it's a qt-labs project, and it's not officially part of the Qt distribution, but at some point, we'll add it.
Some features already implemented are:
I have planned some use-cases for this module:
If you're interested in this project, don't forget to clone it and maybe if you're concerned you can consider contributing or provide some feedback in QTBUG-60105.
Next week Mikhail Svetkin will write more about the routing API. Stay tuned :D
Download the latest release here: www.qt.io/download.
Qt 6.8 release focuses on technology trends like spatial computing & XR, complex data visualization in 2D & 3D, and ARM-based development for desktop.
Check out all our open positions here and follow us on Instagram to see what it's like to be #QtPeople.
Nov 14, 2024
Qt Creator 14 has removed support for its Python 2 pretty printers. This..
Nov 14, 2024
We are happy to announce the release of Qt Creator 15 RC! Please check our..
Nov 5, 2024
In the Qt 6.7 release, we enabled support for C++20 comparison and also..
Qt Group includes The Qt Company Oy and its global subsidiaries and affiliates.