Fix static initialization problem w/ Qt window system
Merge pull request #380 from tribal-tec/master

Fix static initialization problem w/ Qt window system