Polycondensation of 4-bis[2-(1-methylpyrrol-2-yl)vinyl]-2,5-didodecyloxybenzene
and squaric acid yielded the polysquaraine <b>SQ</b> with two
isomeric subunits1,3-addition (zwitterionic) and 1,2-addition
(diketonic) moietiesin the main chain structure. The former
featured a C–O/CO infrared (IR) absorption frequency
at 1622 cm<sup>–1</sup>; the latter, a CO signal at
1716 cm<sup>–1</sup>. Traditional synthesis yielded <b>SQ</b> as a powder with metallic luster that could not be cast as a polymer
film from solution. When the ionic liquid [Oct<sub>3</sub>NMe][TfO]
(<b>IL</b>) was present in the cosolvent of BuOH and benzene
(1:3), however, the resulting <b>SQI</b><sub><i><b>x</b></i></sub> polymers (<i>x</i> = 0.01–5 wt %)
did not precipitate from solution, making it possible to cast continuous
free-standing films with a large area (>1 × 1 cm<sup>2</sup>). A greater content of <b>IL</b> in the solution favored the
formation of the 1,3-addition zwitterionic subunits in the <b>SQI</b><sub><i><b>x</b></i></sub> polymer main chains, thereby
changing the physical and optical properties of the polysquaraine,
as evidenced in IR and optical absorption spectra. The features in
the UV–Vis–NIR absorption spectra of <b>SQ</b> and <b>SQI</b><sub><i><b>x</b></i></sub> were
dependent on the <b>IL</b> concentration and the nature of the
solvent. Among our synthesized <b>SQI</b><sub><i><b>x</b></i></sub> polymers, <b>SQI</b><sub><b>0.01</b></sub> and <b>SQI</b><sub><b>0.1</b></sub> formed flexible
free-standing films with metallic luster, smooth surfaces, and good
semiconductivities (2.27 × 10<sup>–5</sup> and 4.74 ×
10<sup>–5</sup> S/cm, respectively). X-ray diffraction patterns
revealed that the presence of <b>IL</b> in the polymerization
medium increased the <b>SQI</b><sub><i><b>x</b></i></sub> interchain packing distance. <b>SQI</b><sub><b>0.01</b></sub> and <b>SQI</b><sub><b>0.1</b></sub> possessed
thermal stabilities comparable with that of <b>SQ</b>. Our successful
use of <b>IL</b> in the preparation of <b>SQI</b><sub><i><b>x</b></i></sub> polymers appears to have great
potential for application in ionic liquid–related organic or
polymeric preparation and processing.