problems compiling with Qt