title: __do_global_ctors segfault somewhere in project, cant locate it
body: <p>I migrated a project from Qt4 to Qt5, and it compiles and everything but the application crashes before it even reaches the main function. I know there is a null value that fucks up something at some point, maybe a file that cant find or something, but there are so many .cpps and .h and libraries that its pretty hard to locate the source of the error plus I cant set any breakpoints. I have a lot of debugging data so maybe any of you can guide me in the right direction. I dont know what I would be doing without stack overflow honestly, so thankyou in advance.</p>
  
  <p><p>
  When debugging I get different crashes:
  <img src="https://i.stack.imgur.com/heDqO.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/2E56o.png" alt="enter image description here">
  <img src="https://i.stack.imgur.com/fcQIb.png" alt="enter image description here"></p>
  
  <p>The stack in each case shows different crashes, but all of them have something in common, which is this <strong>__do_global_ctors</strong> thingy, I have researched and apparently it has to do with constructors, but I have no idea what I should be looking for.
  <br>if I missed any info please do ask. I hope someone can enlighten me, I am so so close to get this working.</p>