I tried the workaround, It's not working for me. Sounds pretty reasonable what ChrisW67 said, in that case based on what grounds can Qt consider an origin point NULL? Should this be declared as a bug?
Qt Code:
  1. QPoint test(0,0);
  2. if(test.isNull()){
  3. qDebug() << "Huh?";
  4. }
  5. // = Huh?
To copy to clipboard, switch view to plain text mode