def METHOD_NAME(self):
    if self.settings.compiler.cppstd:
        check_min_cppstd(self, self._minimum_cpp_standard)
    minimum_version = self._compilers_minimum_version.get(str(self.settings.compiler), False)
    if minimum_version and Version(self.settings.compiler.version) < minimum_version:
        raise ConanInvalidConfiguration(
            f"{self.ref} requires C++{self._minimum_cpp_standard}, which your compiler does not support."
        )
    if Version(self.dependencies["qt"].ref.version).major == 6 and not self.options["qt"].qtshadertools:
        raise ConanInvalidConfiguration(f"{self.ref} requires qt:qtshadertools to get the Quick module")
    if not (self.options["qt"].gui and self.options["qt"].qtdeclarative):
        raise ConanInvalidConfiguration(f"{self.ref} requires qt:gui and qt:qtdeclarative to get the Quick module")