@AliQT
FWIW I included a CMakeLists.txt which should work (again, inside it a couple of lines for ActiveX need uncommenting) as an alternative to .pro/qmake. Most people use cmake with Qt6, but .pro/qmake is still supported if you prefer. Just check the other code does not require Qt5, else you won't be able to use the Q_MOC_INCLUDE() it now relies on.