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

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 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
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on 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 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
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on 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

          • Login

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