Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
dev
-
None
-
Ubuntu 20.04, GCC 13.0.1 and/or Clang 15, SRCDIR=~/Qt/qt5, BUILDDIR(1/clang)=~/Qt/qt5-build-clang, BUILDIR(2/gcc)=~/Qt/qt5-build-2, qt5.git configure
-
3f16bd02a (dev), 9d201a41a (6.6), 8b0f48885 (6.5)
Description
After building qt5.git with the following config.opt, there are .ts files from examples in the SRCDIR:
$ cat config.opt -unity-build -unity-build-batch-size 100000 -opensource -confirm-license -release -force-debug-info -separate-debug-info -c++std c++2b -developer-build -skip qtgrpc -make examples --webengine-jumbo-build=31 -webengine-proprietary-codecs -sctp -headersclean -qtnamespace Qt6 -- -DQT_BUILD_EXAMPLES_BY_DEFAULT=ON $ cd $SRCDIR/qttools $ git status HEAD detached from 18ec1f7d1 Untracked files: (use "git add <file>..." to include in what will be committed) examples/linguist/arrowpad/arrowpad_fr.ts examples/linguist/arrowpad/arrowpad_nl.ts examples/linguist/hellotr/hellotr_la.ts nothing added to commit but untracked files present (use "git add" to track)
(18ec1f7d1 is one (unrelated) commit ahead of 2277cf896)
Expected behaviour:
- the .ts files are being generated in BUILDDDIR.
Upon removing them, I see this in a rebuild:
[1344/1348] cd /home/marc/Qt/qt5-build-2/qttools/examples/linguist/arrowpad && /d/Qt/Tools/CMake/bin/cmake -GNinja -C/home/marc/Qt/qt5-build-2/qttools/examples/linguist/arrowpad-ep/tmp/arrowpad-cache-RelWithDebInfo.cmake /home/marc/Qt/qt5/qttools/examples/linguist/arrowpad && /d/Qt/Tools/CMake/bin/cmake -E touch /home/marc/Qt/qt5-build-2/qttools/examples/linguist/arrowpad-ep/stamp/arrowpad-configure loading initial cache file /home/marc/Qt/qt5-build-2/qttools/examples/linguist/arrowpad-ep/tmp/arrowpad-cache-RelWithDebInfo.cmake CMake Warning at /home/marc/Qt/qt5-build-2/qtbase/lib/cmake/Qt6LinguistTools/Qt6LinguistToolsMacros.cmake:231 (message): Translation file '/home/marc/Qt/qt5/qttools/examples/linguist/arrowpad/arrowpad_fr.ts' does not exist. Consider building the target 'arrowpad_lupdate' to create an initial version of that file. Call Stack (most recent call first): /home/marc/Qt/qt5-build-2/qtbase/lib/cmake/Qt6LinguistTools/Qt6LinguistToolsMacros.cmake:363 (qt6_add_lrelease) CMakeLists.txt:28 (qt6_add_translations) CMake Warning at /home/marc/Qt/qt5-build-2/qtbase/lib/cmake/Qt6LinguistTools/Qt6LinguistToolsMacros.cmake:231 (message): Translation file '/home/marc/Qt/qt5/qttools/examples/linguist/arrowpad/arrowpad_nl.ts' does not exist. Consider building the target 'arrowpad_lupdate' to create an initial version of that file. Call Stack (most recent call first): /home/marc/Qt/qt5-build-2/qtbase/lib/cmake/Qt6LinguistTools/Qt6LinguistToolsMacros.cmake:363 (qt6_add_lrelease) CMakeLists.txt:28 (qt6_add_translations) -- Configuring done -- Generating done -- Build files have been written to: /home/marc/Qt/qt5-build-2/qttools/examples/linguist/arrowpad [1344/1348] cd /home/marc/Qt/qt5-build-2/qttools/examples/linguist/arrowpad && /d/Qt/Tools/CMake/bin/cmake --build . && /d/Qt/Tools/CMake/bin/cmake -E touch /home/marc/Qt/qt5-build-2/qttools/examples/linguist/arrowpad-ep/stamp/arrowpad-build [1/8] Generating arrowpad_fr.qm Updating '/home/marc/Qt/qt5-build-2/qttools/examples/linguist/arrowpad/arrowpad_fr.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) [2/8] Generating arrowpad_nl.qm Updating '/home/marc/Qt/qt5-build-2/qttools/examples/linguist/arrowpad/arrowpad_nl.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) [8/8] Linking CXX executable arrowpad
Should these files be checked in?
Full log (5.4MiB uncompressed; configure -redo and ninja -d explain -v) attached.