qt5 is getting out of date, and cmake is recommended instead of qmake for qt6. For info about porting see https://doc.qt.io/qt-6/portingguide.html