Qt6 supports importing QML modules without specifying the version number.
Example:
import QtQuick 2.0
import QtQuic