Qt uses some 3rd party libraries to handle fonts and they might require some initialization and this usually happens when you create Q(Core)?Application instance.
I would suspect these classes and methods:
- QCoreApplication::application*Path()
- QApplication::desktop()
- QApplication::palette()
- QFont
- QFontDatabase
- QLibraryInfo
- QWidget
- QX11Info
There was also some problem with QObject, but AFAIR it was resolved.
The best way is to avoid global variables and to initialize static variables after the main was invoked.





Reply With Quote
Bookmarks