Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. Ampersand on text not working in windows version of Qt
Qt 6.11 is out! See what's new in the release blog

Ampersand on text not working in windows version of Qt

Scheduled Pinned Locked Moved Language Bindings
4 Posts 2 Posters 2.3k 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.
  • B Offline
    B Offline
    Blackbear
    wrote on last edited by
    #1

    I use the "&" in some widgets to enable alt key. I noticed when running the code in Windows 7 I don't see the underline in the character and the alt key doesn't trigger the widget. The exact same code works in Linux.

    Has anyone else seen this? Is it a problem on a particular Qt release? Is there a fix?

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

      Hi,

      You should give the Qt version you are currently using.

      You should also have a look at the "bug report system":http://bugreports.qt-project.org to see if it's something.

      To ensure it might be a bug, please create a minimal compilable example application that shows the difference of behavior.

      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
      • B Offline
        B Offline
        Blackbear
        wrote on last edited by
        #3

        Sorry, I should have mentioned that this is python/pyside. A compilable testcase is NA.

        Qt version is 4.8.3.

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

          You should anyway try to create a minimal application. That way you can determine if it's a Qt bug or a PySide thing.

          Also, another thing to try is a more recent version of Qt like 4.8.6 is around the corner.

          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

          • Login

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