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. Run lupdate or lrelease from pro file qt 5.10
Qt 6.11 is out! See what's new in the release blog

Run lupdate or lrelease from pro file qt 5.10

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 2 Posters 674 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
    d.rein
    wrote on last edited by
    #1

    Hello,

    i have an qt 5.10 on my embedded linux system and i need to translate some error messages.
    My project has multiple sub projects and for every subproject i need a seperate ts / qm file.
    CONFIG += lrelease and CONFIG += embed_translations still doesnt exist in qt 5.10. It has been added in qt5.12 so i have to start it manually from the pro file. For example: /path to qt version/lrelease profile.pro

    1. Question: Is this possible and how?
    2. is lupdate automatically called if lrelease starts
    3. Are the qm files platform independant?

    Thanks :-)

    eyllanescE 1 Reply Last reply
    0
    • D d.rein

      Hello,

      i have an qt 5.10 on my embedded linux system and i need to translate some error messages.
      My project has multiple sub projects and for every subproject i need a seperate ts / qm file.
      CONFIG += lrelease and CONFIG += embed_translations still doesnt exist in qt 5.10. It has been added in qt5.12 so i have to start it manually from the pro file. For example: /path to qt version/lrelease profile.pro

      1. Question: Is this possible and how?
      2. is lupdate automatically called if lrelease starts
      3. Are the qm files platform independant?

      Thanks :-)

      eyllanescE Offline
      eyllanescE Offline
      eyllanesc
      wrote on last edited by
      #2

      @d-rein Why don't you add that functionality to lrelease.prf? You can copy the lrelease.prf of a higher version and copy it to your Qt 5.10, see https://github.com/qt/qtbase/blob/5.15.2/mkspecs/features/lrelease.prf

      If you want me to help you develop some work then you can write to my email: e.yllanescucho@gmal.com.

      1 Reply Last reply
      2
      • D Offline
        D Offline
        d.rein
        wrote on last edited by
        #3

        It Works.
        THANK YOU :-)))

        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