Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
4.6.0, 4.7.4, 4.8.4, 5.6.1, 6.7.2
-
qt 4.7.4 + boost 1.52 + stlport 5.2.1
qt 4.8.4 + boost 1.52 + stlport 5.2.1
-
70068ab65 (dev), 67cd7d4c6 (6.8), 88159c3e8 (6.7), 4788ee20a (tqtc/lts-6.5)
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
-
QTBUG-85497 lupdate is very slow
- Closed
-
QTBUG-127078 lupdate takes hours to finish instead of seconds
- Closed
- relates to
-
QTBUG-127146 [REG 5.15 -> 6.0] TR_EXCLUDE became too strict
- Closed
-
QTBUG-126040 QT_EXCLUDE_SOURCES_FROM_TRANSLATION not working as expected
- Closed
-
QTBUG-40476 lupdate: When running lupdate on the qtsingleapplication example's pro files it will hang during the processing
- Closed