Hi Humberto,
thanks for your further investigation. The problem was that the platform window had not been created yet when the QNitpickerWindowSurface's constructor and paintDevice() functions got called. The attached patch fixes the problem for me. The second attached patch fixes the target.mk for the analogclock example, so it uses the correct main.cpp file.
Christian