Disclosed are compounds of formula (I) for use as antiviral agents, particularly as anti-hepatitis virus C agents, wherein R-R 6 and q are as described herein. Also disclosed are pharmaceutical compositions and methods of treating or preventing viral infection in a host by the use of these compounds, either alone or in combination with other pharmaceutically active agents. Further disclosed are methods of preparing such compounds. (I).