For some reason QtCreator and the applications I build have these widgets with the black background instead of the correct white backgrounds. Screenshots: and

I initially noticed this when I installed qtcreator from the repos so I tried it with the download from the qt community site but I still get this issue. Any ideas on what is causing this? I am using the nvidia drivers ("easy way") but this happens with nouveau too.