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. Translate additional class (.h & .cpp) files on execution
Forum Update on Monday, May 27th 2025

Translate additional class (.h & .cpp) files on execution

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 32 Views
  • 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
    drodius
    wrote last edited by
    #1

    We have a base project with four .ts files. We added an exta class (.h & .cpp) files with text. When building the literals where all retrieved and added to the .ts files so that we could translate them.

    After this we rebuild the app and found that only the main app whas correctly translated when run. The extra class literals in the .cpp file where not.
    Any idea what we could have been missing

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote last edited by
      #2

      Hi and welcome to devnet,

      Did you check whether the qm files were regenerated as well ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • Christian EhrlicherC Christian Ehrlicher moved this topic from Language Bindings

      • Login

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