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 can I write characters like "é", "ã" on Qt Creator?
Qt 6.11 is out! See what's new in the release blog

How can I write characters like "é", "ã" on Qt Creator?

Scheduled Pinned Locked Moved General and Desktop
11 Posts 8 Posters 4.8k 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.
  • p3c0P Offline
    p3c0P Offline
    p3c0
    Moderators
    wrote on last edited by
    #2

    Copy pasting those characters would work. But that would be tedious. If you set the keyboard layout as per your launguage then i guess those will get typed properly in QtCreator.

    157

    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #3

      I think, you have to tell creator in which format he should store his files (utf8, etc.). Not each compiler / IDE understand such characters otherwise...

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      1 Reply Last reply
      0
      • K Offline
        K Offline
        KireRex
        wrote on last edited by
        #4

        And how I do this?

        1 Reply Last reply
        0
        • N Offline
          N Offline
          NicuPopescu
          wrote on last edited by
          #5

          Tools->Options->Text Editor->Behaviour->File Encodings

          ... but utf-8 is the default one, so you should be allowed to type characters with diacritical marks

          1 Reply Last reply
          0
          • K Offline
            K Offline
            KireRex
            wrote on last edited by
            #6

            It's already utf-8, but I still cant type characters with diacritical marks.

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

              Hi,

              What version of Qt Creator are you using ?

              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
              • C Offline
                C Offline
                ChrisW67
                wrote on last edited by
                #8

                And what platform? This could be X11 mangling things before they get to Qt Creator

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  KireRex
                  wrote on last edited by
                  #9

                  Qt Creator 2.7.0 on Ubuntu 13.04. I have already used Geany and the text editor to type programs, but Qt Creator was the first one to present this "problem".

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    tobias.hunger
                    wrote on last edited by
                    #10

                    Try using the stand-alone Qt Creator 2.8 packages. Those are built against Qt 4. If that shows the same problem, then please check the bug tracker for issues in Qt 5 with combining marks (or file a new bug if none is there yet).

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      john_god
                      wrote on last edited by
                      #11

                      Hi
                      I'm portuguese, and my QtCreator 2.8.1, 64bits works just fine, in Linux Caixa Magica 20 (ubuntu based). I'm using PT language in my system.

                      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