Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
4.7.4, 4.8.4, 5.6.1
-
qt 4.7.4 + boost 1.52 + stlport 5.2.1
qt 4.8.4 + boost 1.52 + stlport 5.2.1
Description
Work time of lupdate utility has been increased by times. It seems number of files checked by lupdate is differ from 4.5.1. I am assuming that files in INCLUDEPATH are not checked by lupdate 4.5.1. With lupdate 4.5.1 one of my project processed for about 10 seconds, with lupdate 4.6.3 it is required more than 3 hours!!! to generate updated ts-files. In this project INCLUDEPATH contains paths to headers for some third-party libraries like boost and stlport.
Some time ago I have updated qt to 4.7.3 and I have noticed what lupdate works better than in qt 4.6.3 so I even don't merge my patch in qt 4.7.3. lupdate 4.7.4 shows the same result as lupdate 4.7.3: work time of lupdate is acceptable. But now I have updated boost library from 1.49 to 1.52 and the problem is returned back.
qt 4.7.4 + boost 1.49: - less than 1 minute
qt 4.7.4 + boost 1.52: - I have waiting for a 40 minutes, then terminated the dummy lupdate and gone to open this bug report.
workaround:
Place inclusion of all boost headers in the precompiled header file (PRECOMPILED_HEADER in pro). As lupdate is not processing precompiled header it will mask the problem.
P.S. I still vote for new command line option to disable processing files in INCLUDEPATH even if the file is included to one of all project source files. This has been rejected before.
Attachments
Issue Links
- is duplicated by
-
QTBUG-63804 lupdate never stops working
- Closed