In this paper, we give construction of quantum codes over F_q from cyclic codes over the F_q+uF_q+vF_q+wF_q+uvF_q, where u^2=u,v^2=v,w^2=w,uv=vu,uw=wu=vw=wv=0, q=p^m and p is an odd prime. We determine the parameters of quantum error correcting codes which constructed from cyclic codes over the F_q+uF_q+vF_q+wF_q+uvF_q. Finally, we give some examples of quantum codes.