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

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.
  • L Offline
    L Offline
    Lays147
    wrote on 19 Jun 2015, 20:14 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 19 Jun 2015, 20:31 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

      L 1 Reply Last reply 19 Jun 2015, 20:57
      0
      • S SGaist
        19 Jun 2015, 20:31

        Hi,

        What language does that computer use ?

        L Offline
        L Offline
        Lays147
        wrote on 19 Jun 2015, 20:57 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
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 19 Jun 2015, 21:34 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
          • L Offline
            L Offline
            Lays147
            wrote on 19 Jun 2015, 21:56 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

            3/5

            19 Jun 2015, 20:57

            • Login

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