add q as a dependency
use Qimage