There are rules when using the lgpl version of qt, the kde foundation has an exception I think.
https://www.qt.io/development/open-source-lgpl-obligations