Graphical Abstract: We present experimental results on copolymer-based nanocomposite made of styrene with butyl methacrylate (1:1) and inorganic semiconductor CdS. Thin film composite samples have been characterized by UV-Vis absorption and photoluminescent spectroscopy, as well as by transmission electron microscopy.