Qt UIloader with multiple loading of same ui file
-
In an Qt Application the same ui file has to be loaded multiple times. This is done using the Uiloader, i.e opening the file and getting a pointer to the loaded widget with loader.load. This works fine. However when one has to load the same file 30 to 40 times (and one has to change colors and other things afterwards at run time, so that the pointer has to be kept), the loading gets long (3-5 seconds on a dual core machine). Is there a better way to realize multiple loading of the same ui file ?
acmezger