2 minutes read
Welcome to today's blog post, where we'll be exploring the exciting possibilities of using the ChatGPT API in combination with Qt and QML to create chatbots and AI assistants. OpenAI recently released the ChatGPT API, which is a large language model that provides a chat interface that can be used to create custom applications, chatbots, and more. This post is ...
Choosing Qt for Python or Qt C++?
8 minutes read
In this article, you will learn the differences between choosing Python or C++ as programming language when working with the Qt framework. In many aspects, the comparison between Qt/C++ vs. Qt/Python boils down to comparing C++ with Python. However, in some points, the particular differences between the Python bindings for Qt and the native Qt/C++ implementation are a major deciding ...
Qt/QML Live Coding for Everyone
< 1 minutes read
Remember my blog post about speeding up your Python QML GUI development with live coding?? I figured that Python is not enough as I recently worked on a few more Qt/C++ projects. Since C++ is not easily live-codable, meaning we can't reload the entire project, another approach was necessary. Therefore, I created a C++ version of my live coding project. ...
Creating QML Properties Dynamically at Runtime from C++
8 minutes read
I have been searching for an adequate solution for this problem for a few years and recently got a good hint for closing this open loop at the Qt World Summit 2017. In fact, I have not found only one, but two new solutions for this problem. I explain all three solutions, the quick fix, a better approach and my ...
Qt Unit Testing with Catch and Trompeloeil
8 minutes read
In this blog post, you will learn how to do Qt unit testing with Catch and Trompeloeil. I'll explain how to this with the qmake build system if you prefer CMake you can follow this guide. However, some of the details I describe here such as how to use Catch for testing event-driven applications do apply for CMake as well. ...