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. QtQuick project using translation - when opening ts files in linguist I get a message saying the file does not appear to be associated with the one cu

QtQuick project using translation - when opening ts files in linguist I get a message saying the file does not appear to be associated with the one cu

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 847 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
    Dolphin
    wrote on last edited by
    #1

    Simple test project with a button in main.cpp and a string in main.qml -> both need to be translated. The qm files are being created fine and running the app gives a translation. When I open the ts files in Linguist I get a message saying they do not seem to be related. They are related in a sense (same application) and Linguist obviously looks for a relationship between files (which would be sensible in the same project). How do I do this?

    Currently the exe project settings calls lupdate on the exe.pro and the qml ts file is created using a batch file to run lupdate. Is there a way to do the two processes in one - if building updated all ts files that would be awesome.

    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