Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Lupdate and qmake project file
Forum Updated to NodeBB v4.3 + New Features

Lupdate and qmake project file

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 3 Posters 4.6k 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
    durfejs
    wrote on last edited by
    #1

    Hello,

    I have a rather simple Qt Quick project written in QML, I can run lupdate main.qml -ts whatever_sk.ts to produce create the correct ts file. But if I run lupdate on my .pro file (I added TRANSLATION = whatever_sk.ts) the in this case lupdate won't find the main.qml file so I receive the following:

    Found 0 source text(s) (0 new and 0 already existing)
    

    Any ideas why lupdate can not find the main.qml source file?

    SOLVED:
    as indicated by Volker. Thanks!

    We can get richer only with progress

    1 Reply Last reply
    0
    • BilbonSacquetB Offline
      BilbonSacquetB Offline
      BilbonSacquet
      wrote on last edited by
      #2

      I have no idea ...

      But you could create a .pri file with all the sources and include it in the .pro file. And after use the .pri file to generate the translation.

      1 Reply Last reply
      0
      • G Offline
        G Offline
        goetz
        wrote on last edited by
        #3

        "QTBUG-14056":https://bugreports.qt.nokia.com//browse/QTBUG-14056 has a workaround. It's a known problem, but without a good solution, tough.

        http://www.catb.org/~esr/faqs/smart-questions.html

        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