A method of manufacturing a composite quantum-dot photodetector formed by alternatively dipping a substrate into a colloidal solution containing at least one type of a quantum dot, thereby forming a monolayer of the quantum dots and then dipping the substrate with the monolayer of the quantum dots into a ligand spacing solution to build a film of the quantum dots and then alternatively exposing the film of the quantum dots to a vapor and an infill material.