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. Qt Linguist source code not available
Forum Update on Monday, May 27th 2025

Qt Linguist source code not available

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 2 Posters 3.1k 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.
  • A Offline
    A Offline
    acas_antea
    wrote on 25 Jun 2013, 09:35 last edited by
    #1

    Hi everyone
    I'm here on the forum because I have a little problem of localization. I designed my interface in Qt Designer and all the texts I put in the UI with this tool is not found by Qt linguist.
    What I do is a lupdate in visual studio and in Qt Linguist i find MyFileGUIClass with 0 items, in the "source and forms" pannel there is "source code not available".
    I don't know how to make things work.

    Someone to help me?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 25 Jun 2013, 09:50 last edited by
      #2

      Are your string properly marked for translation with tr()?

      (Z(:^

      1 Reply Last reply
      0
      • A Offline
        A Offline
        acas_antea
        wrote on 25 Jun 2013, 14:02 last edited by
        #3

        MyFileGUIClass is a ui file generated by QT Designer (I can change it but it will be erased each time I change my UI). All the strings are declared with QApplication::translate()

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sierdzio
          Moderators
          wrote on 26 Jun 2013, 07:48 last edited by
          #4

          All the forms are in qmake's profile, too?

          Some UI elements like tooltips can be turned off when it comes to translation (see Translatable property), but by default they should all be there.

          (Z(:^

          1 Reply Last reply
          0

          1/4

          25 Jun 2013, 09:35

          • Login

          • Login or register to search.
          1 out of 4
          • First post
            1/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved