Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. App crashes because of one translation

App crashes because of one translation

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
5 Posts 3 Posters 301 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.
  • V Offline
    V Offline
    visbah
    wrote on last edited by
    #1
    <message>
        <source>Insert Plugin</source>
        <translation>Einfügen </translation>
    </message>
    

    This translation was causing the crash. After introducing the space after 'Einfügen' solves the issue. Why am I observing this?

    1 Reply Last reply
    0
    • Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Please provide a minimal, compilable example of your problem.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0
      • V Offline
        V Offline
        visbah
        wrote on last edited by visbah
        #3

        It's part of a large app in a organization. This 'Insert Plugin' is used as a menu item in a menu bar

        Screenshot 2024-10-24 at 6.55.31 PM.png

        1 Reply Last reply
        0
        • Christian EhrlicherC Online
          Christian EhrlicherC Online
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          If your app is crashing then you have to debug it. If you want help from others you have to provide a minimal compilable example. That's the life of a developer.
          There is no reason for a crash just because of a space in a string so you must do something wrong.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          1
          • S Offline
            S Offline
            SimonSchroeder
            wrote on last edited by
            #5

            It looks a lot like you are on macOS. By default menu entries will be rearranged to their "proper" position on macOS if they match a specific string. "Einfügen" is certainly such a string. And it is a single menu action and not a submenu. I know there is a switch in Qt to turn it off, but I couldn't find it right away.

            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