The core code is as follows:
// MSVC2019 toolchain
/*
* The library is needed by function SendMessageA()
* This code is sometimes necessary, sometimes not
*/
#pragma comment(lib, "User32.lib")
#include "widget.h"
#include <QApplication>
#include <Windows.h>
#include <QDebug>