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. UTF Encoding ERROR
QtWS25 Last Chance

UTF Encoding ERROR

Scheduled Pinned Locked Moved General and Desktop
utf-8encoding
5 Posts 2 Posters 1.7k 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.
  • Lays147L Offline
    Lays147L Offline
    Lays147
    wrote on last edited by
    #1

    Well, I give up to try config my app with shared libraries, then i configured my QtCreator to use the statics libraries to build my app.
    Well, the app finally runs in another machine without qt, but the strings not appears correctly. See the img: http://i62.tinypic.com/2z68gma.png
    How i fixed de Enconding?

    Lays Rodrigues
    Newby on Qt - Learning always!
    Using QT 5.7
    ArchLinux

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      What language does that computer use ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      Lays147L 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        What language does that computer use ?

        Lays147L Offline
        Lays147L Offline
        Lays147
        wrote on last edited by
        #3

        @SGaist My computer system is in english, and that to. But i build the system in portuguese, and generate a ts file in english.

        Lays Rodrigues
        Newby on Qt - Learning always!
        Using QT 5.7
        ArchLinux

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Does it use a particular font ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • Lays147L Offline
            Lays147L Offline
            Lays147
            wrote on last edited by Lays147
            #5

            @SGaist Its using Serif. In the terminal there, when he run the app the follow error appears: Qt fontDatabase: cannot find font directory /home/user.../ . Is qt install correctly?
            I think the app is searching for a font in the folder of Qt. But if i make the app static, this font dont need be with the app? Well if i need to copy the font files, how to link to my app?

            Lays Rodrigues
            Newby on Qt - Learning always!
            Using QT 5.7
            ArchLinux

            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