Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Using translations in boot2qt
Forum Updated to NodeBB v4.3 + New Features

Using translations in boot2qt

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 249 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Enayat
    wrote on last edited by
    #1

    Hi,
    I have been working on a Qt6 Quick project for the Rpi 4 in boot2qt with Qt version 6.5.3 and I have already embedded the app boot2qt using my own layer. After adding the translation feature to the project, the Yocto project fails to build the image complaining about LinguistTools and Qt6LinguistTools_DIR:

    | -- Could NOT find Qt6LinguistTools (missing: Qt6LinguistTools_DIR)
    | CMake Error at CMakeLists.txt:7 (find_package):
    |   Found package configuration file:
    | 
    |     /media/system/SSD/Yocto/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/myapp/git-r0/recipe-sysroot/usr/lib/cmake/Qt6/Qt6Config.cmake
    | 
    |   but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
    |   FOUND.  Reason given by package:
    | 
    |   Failed to find required Qt component "LinguistTools".
    | 
    |   Expected Config file at
    |   "/media/system/SSD/Yocto/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/myapp/git-r0/recipe-sysroot/usr/lib/cmake/Qt6LinguistTools/Qt6LinguistToolsConfig.cmake"
    |   does NOT exist
    | 
    | 
    | 
    |   Configuring with --debug-find-pkg=Qt6LinguistTools might reveal details why
    |   the package was not found.
    | 
    |   Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
    |   of the path variables that find_package uses to try and find the package.
    | 
    | 
    | 
    | -- Configuring incomplete, errors occurred!
    | See also "/media/system/SSD/Yocto/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/myapp/git-r0/build/CMakeFiles/CMakeOutput.log".
    | WARNING: exit code 1 from a shell command.
    ERROR: Task (/media/system/SSD/Yocto/sources/meta-mylayer/recipes-applications/myapp/myapp_git.bb:do_configure) failed with exit code '1'
    

    I have already tried adding DEPENDS += "qttools" and "qttools-native" in myapp_git.bb recipe, but none of them worked. I would appreciate any suggestions or responses.
    Regards,
    Enayat

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved