Uploaded image for project: 'Qt Safe Renderer'
  1. Qt Safe Renderer
  2. QSR-2387

Localization example build fails from CLI and Qt Creator - Failed to generate bitmap

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • QSR 2.1.0 RC 1
    • QSR 2.1.0 RC 1
    • Testing
    • None
    • macOS
    • b55fce498 (dev), 6811e982f (tqtc/lts-6.5), d59265071 (tqtc/lts-6.5.5)

    Description

      Preconditions:
      sha ec111aa561e9e6bad50c89766010ee40ec691d3e
      Building from CLI or Qt Creator

      '(null):0: warning: Populating font family aliases took 879 ms. Replace uses of missing font family "HelveticaWorld" with one that exists to avoid this cost. ', '\x07:41:* error: The actual text area of the SafeText "textItem" (496*75) does not fit into the defined text area (454*92). Overflowing text: "Γειά σου Κόσμε!"', '/Users/qt/RTA/QtSafeRenderer_2.1.0/Examples/QtSafeRenderer-2.1.0/saferenderer/localization/SafeUI.qml:31: error: Failed to generate bitmap.', 'make: *** [layoutData/SafeUI/SafeUI.srl] Error 255']

      08:07:31 2024-03-12T06:07:30Z Log End Section: Execute shell cmd: /Users/qt/RTA/QtSafeRenderer_2.1.0/6.5.4/macos/bin/qmake CONFIG+=debug
      08:07:31   Detail: 
      08:07:31 2024-03-12T06:07:30Z Log Start Section: Execute shell cmd: make -j8
      08:07:31   Detail: 
      08:07:31 2024-03-12T06:07:30Z Log ** execute_shell_cmd()
      08:07:31   Detail: 
      08:07:31 2024-03-12T06:07:30Z Log 	 cmd: 			make -j8
      08:07:31   Detail: 
      08:07:31 2024-03-12T06:07:30Z Log 	 runInDir: 		/Users/qt/RTA/QtSafeRenderer_2.1.0/Examples/QtSafeRenderer-2.1.0/saferenderer/localization
      08:07:31   Detail: 
      08:07:31 2024-03-12T06:07:30Z Log 	 phrase: 		error
      08:07:31   Detail: 
      08:07:31 2024-03-12T06:07:30Z Log 	 passIfFound: 	False
      08:07:31   Detail: 
      08:07:31 2024-03-12T06:07:30Z Log 	 PATH: 	/usr/local/opt/openssl/bin:/Users/qt/Library/Python/3.7/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin/:/Applications/CMake.app/Contents/bin:/Users/qt/sccache_wrapper:/usr/local/sccache:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/usr/local/bin:/opt/emsdk/upstream/emscripten/:/Users/qt/install-grpc-1.50.1/bin:/opt/squish/squish_for_qt63/bin:/opt/mysql57/bin:/Applications/Postgres.app/Contents/Versions/14/bin:/opt/local/lib/mysql55/bin:/opt/local/lib/postgresql91/bin
      08:07:31   Detail: 
      08:07:31 2024-03-12T06:07:30Z Log 	 args: 			['make', '-j8']
      08:07:31   Detail: 
      08:07:32 2024-03-12T06:07:32Z Fail Found 'error' from command output. (Screenshot taken from the desktop is invalid)
      08:07:32   Detail: 
      08:07:32 2024-03-12T06:07:32Z Warning TODO, handle failed command execution (remove if not needed)
      08:07:32   Detail: 
      08:07:32 2024-03-12T06:07:32Z Log ['/Users/qt/RTA/QtSafeRenderer_2.1.0/Tools/QSR-2.1.0/bin/qtsafercctool --binary qml.qrc images.qrc -o layouttoolresources.rcc', '/Applications/Xcode13.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -g -std=gnu++1z  -arch x86_64 -isysroot /Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -mmacosx-version-min=11.0 -Wall -Wextra -DHOST_BUILD -DQT_QSRPLATFORMADAPTATION_LIB -DQT_QSRGRAPHICSADAPTATION_LIB -DQT_QSROOUTPUTVERIFIERADAPTATION_LIB -DQT_QTSAFERENDERER_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QSREVENTHANDLERADAPTATION_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_QSRCALCCRC_LIB -I. -I../../../../6.5.4/macos/include -I../../../../6.5.4/macos/include/QtSafePlatformAdaptation -I../../../../6.5.4/macos/include/QtSafeGraphicsAdaptation -I../../../../6.5.4/macos/include/QtSafeOutputVerifierAdaptation -I../../../../6.5.4/macos/include/QtSafeRenderer -I../../../../6.5.4/macos/lib/QtWidgets.framework/Headers -I../../../../6.5.4/macos/lib/QtGui.framework/Headers -I../../../../6.5.4/macos/include/QtSafeEventHandlerAdaptation -I../../../../6.5.4/macos/lib/QtNetwork.framework/Headers -I../../../../6.5.4/macos/lib/QtCore.framework/Headers -I../../../../6.5.4/macos/include/QtSafeCalcCRCQCom -I. -I/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AGL.framework/Headers -I../../../../6.5.4/macos/mkspecs/macx-clang -F/Users/qt/RTA/QtSafeRenderer_2.1.0/6.5.4/macos/lib -o main.o main.cpp', '/Users/qt/RTA/QtSafeRenderer_2.1.0/6.5.4/macos/libexec/rcc -name qml --no-zstd qml.qrc -o qrc_qml.cpp', '/Users/qt/RTA/QtSafeRenderer_2.1.0/6.5.4/macos/libexec/rcc -name images --no-zstd images.qrc -o qrc_images.cpp', '/Users/qt/RTA/QtSafeRenderer_2.1.0/Tools/QSR-2.1.0/bin/qtsafelayouttool SafeUI.qml -o layoutData/SafeUI -f /Users/qt/RTA/QtSafeRenderer_2.1.0/Examples/QtSafeRenderer-2.1.0/saferenderer/localization/fonts --fps 64 -s /Users/qt/RTA/QtSafeRenderer_2.1.0/Examples/QtSafeRenderer-2.1.0/saferenderer/localization/safeasset.qrc -l en -l fi -l de -l uk -l el -l ar -l da -l et -l no -l sv -t /Users/qt/RTA/QtSafeRenderer_2.1.0/Examples/QtSafeRenderer-2.1.0/saferenderer/localization/translationFiles/safeui -r /Users/qt/RTA/QtSafeRenderer_2.1.0/Examples/QtSafeRenderer-2.1.0/saferenderer/localization/layouttoolresources.rcc', '/Applications/Xcode13.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -g -std=gnu++1z  -arch x86_64 -isysroot /Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -mmacosx-version-min=11.0 -Wall -Wextra -DHOST_BUILD -DQT_QSRPLATFORMADAPTATION_LIB -DQT_QSRGRAPHICSADAPTATION_LIB -DQT_QSROOUTPUTVERIFIERADAPTATION_LIB -DQT_QTSAFERENDERER_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QSREVENTHANDLERADAPTATION_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_QSRCALCCRC_LIB -I. -I../../../../6.5.4/macos/include -I../../../../6.5.4/macos/include/QtSafePlatformAdaptation -I../../../../6.5.4/macos/include/QtSafeGraphicsAdaptation -I../../../../6.5.4/macos/include/QtSafeOutputVerifierAdaptation -I../../../../6.5.4/macos/include/QtSafeRenderer -I../../../../6.5.4/macos/lib/QtWidgets.framework/Headers -I../../../../6.5.4/macos/lib/QtGui.framework/Headers -I../../../../6.5.4/macos/include/QtSafeEventHandlerAdaptation -I../../../../6.5.4/macos/lib/QtNetwork.framework/Headers -I../../../../6.5.4/macos/lib/QtCore.framework/Headers -I../../../../6.5.4/macos/include/QtSafeCalcCRCQCom -I. -I/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AGL.framework/Headers -I../../../../6.5.4/macos/mkspecs/macx-clang -F/Users/qt/RTA/QtSafeRenderer_2.1.0/6.5.4/macos/lib -o qrc_qml.o qrc_qml.cpp', '/Applications/Xcode13.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -g -std=gnu++1z  -arch x86_64 -isysroot /Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -mmacosx-version-min=11.0 -Wall -Wextra -DHOST_BUILD -DQT_QSRPLATFORMADAPTATION_LIB -DQT_QSRGRAPHICSADAPTATION_LIB -DQT_QSROOUTPUTVERIFIERADAPTATION_LIB -DQT_QTSAFERENDERER_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QSREVENTHANDLERADAPTATION_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_QSRCALCCRC_LIB -I. -I../../../../6.5.4/macos/include -I../../../../6.5.4/macos/include/QtSafePlatformAdaptation -I../../../../6.5.4/macos/include/QtSafeGraphicsAdaptation -I../../../../6.5.4/macos/include/QtSafeOutputVerifierAdaptation -I../../../../6.5.4/macos/include/QtSafeRenderer -I../../../../6.5.4/macos/lib/QtWidgets.framework/Headers -I../../../../6.5.4/macos/lib/QtGui.framework/Headers -I../../../../6.5.4/macos/include/QtSafeEventHandlerAdaptation -I../../../../6.5.4/macos/lib/QtNetwork.framework/Headers -I../../../../6.5.4/macos/lib/QtCore.framework/Headers -I../../../../6.5.4/macos/include/QtSafeCalcCRCQCom -I. -I/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AGL.framework/Headers -I../../../../6.5.4/macos/mkspecs/macx-clang -F/Users/qt/RTA/QtSafeRenderer_2.1.0/6.5.4/macos/lib -o qrc_images.o qrc_images.cpp', *'(null):0: warning: Populating font family aliases took 879 ms. Replace uses of missing font family "HelveticaWorld" with one that exists to avoid this cost. ', '\x07:41: error: The actual text area of the SafeText "textItem" (496*75) does not fit into the defined text area (454*92). Overflowing text: "Γειά σου Κόσμε!"', '/Users/qt/RTA/QtSafeRenderer_2.1.0/Examples/QtSafeRenderer-2.1.0/saferenderer/localization/SafeUI.qml:31: error: Failed to generate bitmap.', 'make: *** [layoutData/SafeUI/SafeUI.srl] Error 255']*
      08:07:32   Detail: 
      08:07:32 2024-03-12T06:07:32Z Log /Users/qt/RTA/QtSafeRenderer_2.1.0/Tools/QSR-2.1.0/bin/qtsafercctool --binary qml.qrc images.qrc -o layouttoolresources.rcc
      08:07:32   Detail: 
      08:07:32 2024-03-12T06:07:32Z Log /Applications/Xcode13.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -g -std=gnu++1z  -arch x86_64 -isysroot /Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -mmacosx-version-min=11.0 -Wall -Wextra -DHOST_BUILD -DQT_QSRPLATFORMADAPTATION_LIB -DQT_QSRGRAPHICSADAPTATION_LIB -DQT_QSROOUTPUTVERIFIERADAPTATION_LIB -DQT_QTSAFERENDERER_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QSREVENTHANDLERADAPTATION_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_QSRCALCCRC_LIB -I. -I../../../../6.5.4/macos/include -I../../../../6.5.4/macos/include/QtSafePlatformAdaptation -I../../../../6.5.4/macos/include/QtSafeGraphicsAdaptation -I../../../../6.5.4/macos/include/QtSafeOutputVerifierAdaptation -I../../../../6.5.4/macos/include/QtSafeRenderer -I../../../../6.5.4/macos/lib/QtWidgets.framework/Headers -I../../../../6.5.4/macos/lib/QtGui.framework/Headers -I../../../../6.5.4/macos/include/QtSafeEventHandlerAdaptation -I../../../../6.5.4/macos/lib/QtNetwork.framework/Headers -I../../../../6.5.4/macos/lib/QtCore.framework/Headers -I../../../../6.5.4/macos/include/QtSafeCalcCRCQCom -I. -I/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AGL.framework/Headers -I../../../../6.5.4/macos/mkspecs/macx-clang -F/Users/qt/RTA/QtSafeRenderer_2.1.0/6.5.4/macos/lib -o main.o main.cpp
      08:07:32   Detail: 
      08:07:32 2024-03-12T06:07:32Z Log /Users/qt/RTA/QtSafeRenderer_2.1.0/6.5.4/macos/libexec/rcc -name qml --no-zstd qml.qrc -o qrc_qml.cpp
      08:07:32   Detail: 
      08:07:32 2024-03-12T06:07:32Z Log /Users/qt/RTA/QtSafeRenderer_2.1.0/6.5.4/macos/libexec/rcc -name images --no-zstd images.qrc -o qrc_images.cpp
      08:07:32   Detail: 
      08:07:32 2024-03-12T06:07:32Z Log /Users/qt/RTA/QtSafeRenderer_2.1.0/Tools/QSR-2.1.0/bin/qtsafelayouttool SafeUI.qml -o layoutData/SafeUI -f /Users/qt/RTA/QtSafeRenderer_2.1.0/Examples/QtSafeRenderer-2.1.0/saferenderer/localization/fonts --fps 64 -s /Users/qt/RTA/QtSafeRenderer_2.1.0/Examples/QtSafeRenderer-2.1.0/saferenderer/localization/safeasset.qrc -l en -l fi -l de -l uk -l el -l ar -l da -l et -l no -l sv -t /Users/qt/RTA/QtSafeRenderer_2.1.0/Examples/QtSafeRenderer-2.1.0/saferenderer/localization/translationFiles/safeui -r /Users/qt/RTA/QtSafeRenderer_2.1.0/Examples/QtSafeRenderer-2.1.0/saferenderer/localization/layouttoolresources.rcc
      08:07:32   Detail: 
      08:07:32 2024-03-12T06:07:32Z Log /Applications/Xcode13.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -g -std=gnu++1z  -arch x86_64 -isysroot /Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -mmacosx-version-min=11.0 -Wall -Wextra -DHOST_BUILD -DQT_QSRPLATFORMADAPTATION_LIB -DQT_QSRGRAPHICSADAPTATION_LIB -DQT_QSROOUTPUTVERIFIERADAPTATION_LIB -DQT_QTSAFERENDERER_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QSREVENTHANDLERADAPTATION_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_QSRCALCCRC_LIB -I. -I../../../../6.5.4/macos/include -I../../../../6.5.4/macos/include/QtSafePlatformAdaptation -I../../../../6.5.4/macos/include/QtSafeGraphicsAdaptation -I../../../../6.5.4/macos/include/QtSafeOutputVerifierAdaptation -I../../../../6.5.4/macos/include/QtSafeRenderer -I../../../../6.5.4/macos/lib/QtWidgets.framework/Headers -I../../../../6.5.4/macos/lib/QtGui.framework/Headers -I../../../../6.5.4/macos/include/QtSafeEventHandlerAdaptation -I../../../../6.5.4/macos/lib/QtNetwork.framework/Headers -I../../../../6.5.4/macos/lib/QtCore.framework/Headers -I../../../../6.5.4/macos/include/QtSafeCalcCRCQCom -I. -I/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AGL.framework/Headers -I../../../../6.5.4/macos/mkspecs/macx-clang -F/Users/qt/RTA/QtSafeRenderer_2.1.0/6.5.4/macos/lib -o qrc_qml.o qrc_qml.cpp
      08:07:32   Detail: 
      08:07:32 2024-03-12T06:07:32Z Log /Applications/Xcode13.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -g -std=gnu++1z  -arch x86_64 -isysroot /Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -mmacosx-version-min=11.0 -Wall -Wextra -DHOST_BUILD -DQT_QSRPLATFORMADAPTATION_LIB -DQT_QSRGRAPHICSADAPTATION_LIB -DQT_QSROOUTPUTVERIFIERADAPTATION_LIB -DQT_QTSAFERENDERER_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QSREVENTHANDLERADAPTATION_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_QSRCALCCRC_LIB -I. -I../../../../6.5.4/macos/include -I../../../../6.5.4/macos/include/QtSafePlatformAdaptation -I../../../../6.5.4/macos/include/QtSafeGraphicsAdaptation -I../../../../6.5.4/macos/include/QtSafeOutputVerifierAdaptation -I../../../../6.5.4/macos/include/QtSafeRenderer -I../../../../6.5.4/macos/lib/QtWidgets.framework/Headers -I../../../../6.5.4/macos/lib/QtGui.framework/Headers -I../../../../6.5.4/macos/include/QtSafeEventHandlerAdaptation -I../../../../6.5.4/macos/lib/QtNetwork.framework/Headers -I../../../../6.5.4/macos/lib/QtCore.framework/Headers -I../../../../6.5.4/macos/include/QtSafeCalcCRCQCom -I. -I/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AGL.framework/Headers -I../../../../6.5.4/macos/mkspecs/macx-clang -F/Users/qt/RTA/QtSafeRenderer_2.1.0/6.5.4/macos/lib -o qrc_images.o qrc_images.cpp
      08:07:32   Detail: 
      08:07:32 2024-03-12T06:07:32Z Log (null):0: warning: Populating font family aliases took 879 ms. Replace uses of missing font family "HelveticaWorld" with one that exists to avoid this cost. 
      08:07:32   Detail: 
      

      Attachments

        For Gerrit Dashboard: QSR-2387
        # Subject Branch Project Status CR V

        Activity

          People

            teemu.holappa Teemu Holappa
            mierala Minna Erälä
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes