Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Translation
Forum Updated to NodeBB v4.3 + New Features

Translation

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 2 Posters 1.3k 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.
  • mrdebugM Offline
    mrdebugM Offline
    mrdebug
    wrote on last edited by
    #1

    Hi. In order to have the texts to translate in my ts file I have to run lpupdate by hand, in this way:

    /Dati/Qt/Qt5.4.0/5.4/gcc/bin/lupdate Qml/*.qml -ts DomusBossTouch_it.ts

    I already have in my .pro file this lines of code:

    @
    lupdate_only {
    SOURCES = Qml\main.qml
    Qml\QQMain.qml
    Qml\QQServer.qml
    qcmainform.cpp
    }
    @

    but seems to have to effect.

    Is a bug of qtcreator (3.3.0)?

    [edit: added missing coding tags @ SGaist]

    Need programmers to hire?
    www.labcsp.com
    www.denisgottardello.it
    GMT+1
    Skype: mrdebug

    1 Reply Last reply
    0
    • sierdzioS Online
      sierdzioS Online
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Qt Creator has nothing to do with lupdate tool, so it is definitely not a bug there. Running lupdate manually has always been a requirement, it is not part of standard qmake/ make build process.

      What should work for you is to run
      @
      lupdate yourProFileName.pro
      @

      (Z(:^

      1 Reply Last reply
      0
      • mrdebugM Offline
        mrdebugM Offline
        mrdebug
        wrote on last edited by
        #3

        I disagree. If you run

        Tools -> External -> Linguist -> Update

        the only file that will be managed by lpupdate is qcmainform.cpp.

        Need programmers to hire?
        www.labcsp.com
        www.denisgottardello.it
        GMT+1
        Skype: mrdebug

        1 Reply Last reply
        0
        • sierdzioS Online
          sierdzioS Online
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Hm, I do not know why it does not work, then.

          (Z(:^

          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