Try that instead:
import QtQuick.Controls 2.15 as QQC2
QQC2.Button {
text: qsTr("Quit")
}
And the issue is that you are using pyside of pyqt from pip instead of your distro repo which results in Frameworks / QQC2 Desktop Style · GitLab not being used which sets all the reasonable default for a kde app.