The invention provides 8-hydroxyquinoline functionalizedpillar[5]arene. The 8-hydroxyquinoline functionalizedpillar[5]arene (PQ8) is a white solid obtained by taking acetonitrile as a solvent, bilateral 1,4-dibromobutane modified pillararene and 8-hydroxyquinoline as reaction substrates, performing reacting at 80-85 DEG C for 70-72 hours under the action of K2CO3 and KI and the protection of N2 and carrying out separating by column chromatography after the reaction is finished. The PQ8 solid powder is exposed in steam of acetonitrile, dichloromethane, chloroform, formaldehyde, pyridine, tetrahydrofuran, ammonia water, n-propylamine, n-butylamine, 1,6-hexamethylenediamine, 1,10-decamethylene diamine and ethidene diamine, and only the steam of ethidene diamine enables the fluorescence color of the solid powder of the 8-hydroxyquinoline functionalized pillar[5]arene to change from blue to faint yellow, so single selective detection of ethylenediamine can be realized; and meanwhile, the PQ8 can realize the adsorption of the ethanediamine, and the molar adsorption rate of the ethanediamine can reach 176.19%.