@Christian-Ehrlicher What do you mean really make sure?
I call it inside the constructor of classes of my static libraries (if the class uses resources).
In my GUI application I call it in main after the application class (QApplication in this case) is created and before the main window is created.