Details
-
Suggestion
-
Resolution: Won't Do
-
P2: Important
-
None
-
6.2.0
Description
Some customers would like to avoid any code execution 'before main' and 'after exit' (global constructors / exit-time destructors). The Qt has some global static data that isĀ for example from qrc_qml_CMAKE_.cpp, qmetatype.h and qqmldebug.h that are producing warnings like
declaration requires an exit-time destructor[-Wexit-time-destructors]
To avoid the useĀ global constructors / exit-time destructors an build time flag could be introduced to omit the use of them and additionally provide a means to initialize / clean the needed data run time.