avoid qtopengl link error. don't know why