Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. qtwebsockets_en.qm: No such file or directory

qtwebsockets_en.qm: No such file or directory

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 298 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.
  • D Offline
    D Offline
    dalishi
    wrote on last edited by
    #1

    Hi Im building Qt6.24 (LTS) from source on Ubuntu 20.04, and encountered this error at the very last phase of compiling.

    Updating '/home/zq/qt6-static-build/build/qtbase/./translations/qtwebsockets_en.qm'...
    lrelease error: cannot create '/home/zq/qt6-static-build/build/qtbase/./translations/qtwebsockets_en.qm': No such file or directory
    make[2]: *** [qttranslations/translations/CMakeFiles/updateqm-qtwebsockets_en.ts.dir/build.make:70: qttranslations/translations/CMakeFiles/updateqm-qtwebsockets_en.ts] Error 1
    make[1]: *** [CMakeFiles/Makefile2:95024: qttranslations/translations/CMakeFiles/updateqm-qtwebsockets_en.ts.dir/all] Error 2
    make: *** [Makefile:146: all] Error 2
    
    

    I searched this post on this forum about exact the same issue and followed the last post to add this option:

    -no-feature-translation
    

    But I then encountered new errors about the translation feature:

    /home/zq/Qt/6.2.4/Src/qttools/src/linguist/lconvert/main.cpp:124:17: error: aggregate ‘QTranslator translator’ has incomplete type and cannot be defined
      124 |     QTranslator translator;
          |                 ^~~~~~~~~~
    /home/zq/Qt/6.2.4/Src/qttools/src/linguist/lconvert/main.cpp:125:17: error: aggregate ‘QTranslator qtTranslator’ has incomplete type and cannot be defined
      125 |     QTranslator qtTranslator;
          |                 ^~~~~~~~~~~~
    /home/zq/Qt/6.2.4/Src/qttools/src/linguist/lconvert/main.cpp:130:13: error: ‘class QCoreApplication’ has no member named ‘installTranslator’
      130 |         app.installTranslator(&translator);
          |             ^~~~~~~~~~~~~~~~~
    /home/zq/Qt/6.2.4/Src/qttools/src/linguist/lconvert/main.cpp:131:13: error: ‘class QCoreApplication’ has no member named ‘installTranslator’
      131 |         app.installTranslator(&qtTranslator);
          |             ^~~~~~~~~~~~~~~~~
    

    Has this issue been solved since that post? How should I proceed? Thanks.

    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