def METHOD_NAME(self):
    if not self._qmake_supported():
        return
    mkdir(self, "qmake_folder")
    with chdir(self, "qmake_folder"):
        self.output.info("Building with qmake")
        with tools.vcvars(self.settings) if is_msvc(self) else tools.no_op():
            args = [self.source_folder, "DESTDIR=bin"]
            def _getenvpath(var):
                val = os.getenv(var)
                if val and tools.os_info.is_windows:
                    val = val.replace("\\", "/")
                    os.environ[var] = val
                return val
            value = _getenvpath('CC')
            if value:
                args.append(f"QMAKE_CC=\"{value}\"")
            value = _getenvpath('CXX')
            if value:
                args.append(f"QMAKE_CXX=\"{value}\"")
            value = _getenvpath('LD')
            if value:
                args.append(f"QMAKE_LINK_C=\"{value}\"")
                args.append(f"QMAKE_LINK_C_SHLIB=\"{value}\"")
                args.append(f"QMAKE_LINK=\"{value}\"")
                args.append(f"QMAKE_LINK_SHLIB=\"{value}\"")
            self.run(f"qmake {' '.join(args)}", run_environment=True)
            if tools.os_info.is_windows:
                if is_msvc(self):
                    self.run("nmake", run_environment=True)
                else:
                    self.run("mingw32-make", run_environment=True)
            else:
                self.run("make", run_environment=True)