All commercially licensed Qt versions include source code and allow modification of Qt libraries.
If you need technical support for building Qt from source code, at the minimum, Standard Support offered by The Qt Company is needed. Standard Support is included almost all Subscription licenses.
If you need technical support for Qt libraries you have modified yourself, additionally sold Premium Support is required.