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. How to make Qt Linquist find the source code files?
Forum Updated to NodeBB v4.3 + New Features

How to make Qt Linquist find the source code files?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 912 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.
  • L Offline
    L Offline
    Leon
    wrote on last edited by
    #1

    So my ts files are at appname/data/translations and the source files are at appname/src
    everytime i open any of the ts files a get
    @Source code not available@
    under sources and forms

    in order to make linquist understand were source files are i must run lupdate as
    @lupdate [options] [source-file|path]... -ts ts-files@
    so i run
    @lupdate src -ts data/translations/appname-el.ts
    @
    but still same error..

    1 Reply Last reply
    0
    • JeroentjehomeJ Offline
      JeroentjehomeJ Offline
      Jeroentjehome
      wrote on last edited by
      #2

      Hi,
      Add the translation source files to your project file (with the proper relative or absolute path) and run QtLinquist again.
      Or first place your language files in the same place in your project file and run it then. When that works, move the language files and add the path in the pro file.
      That was my mistake before I got it to work.

      Greetz, Jeroen

      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