Have you
Qt Code:
  1. #include "imageitem.h"
To copy to clipboard, switch view to plain text mode 
in your imagezoomer.cpp?