I am trying to write a simple calendar generator to print out two pages for a calendar month.
My primary platform is Mac, but I am trying to write portable code that could be compiled on Windows as well.

I am using a Parallels VM with Windows XP and the Qt-Win-MinGW setup to test the Windows version.

The same code, compiled on each platform, produces very different results.

Here are PDF captures of the output of each
Mac.pdf
Windows.pdf

On the right hand page of the Windows version, the boxes with the day numbers are solid grey

Here's my source.
DIY_Two_Page_Month.zip

Here's a static Mac application
DIY_Two_Page_Month.Mac.zip

Here's a static Windows executable
DIY_Two_Page_Month.Win.zip

Any clues would be appreciated.