This article presents two highly fluorescent donor-π-acceptor (D-π-A) moieties containing an electron-donating carbazole and phenothiazine donors fused with electron-withdrawing pyrrolo-quinoline acceptor dyes,
PQC
and
PQPT
. We also discussed the polymerization and film-forming process of dye
PQC
and
PQPT
doped in poly (methyl methacrylate) (PMMA) and polystyrene (PS) polymer to find their optical applications in polymer-based technology. We investigated the fluorescent properties of dyes
PQC
and
PQPT
from 0.01 to 1 wt% in poly(methyl methacrylate) (PMMA). We also investigated the changes in the spectrum shape and shift in wavelength with changes in poly(methyl methacrylate) (PMMA), polystyrene (PS), and TiO
2
doped in polystyrene (PS/TiO
2
). The analysis of surface morphology of prepared polymer samples was done with the help of a scanning electron microscope. The thermal and photostability of synthesized dyes in poly (methyl methacrylate) (PMMA), polystyrene (PS), and TiO
2
doped in polystyrene (PS/TiO
2
) were investigated to get detailed information owing to the application of fluorescent polymers in the field of optoelectronic, nanohybrid coatings in solar concentrators, etc.
Graphical Abstract