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. Why does Qt create empty.lproj?
Qt 6.11 is out! See what's new in the release blog

Why does Qt create empty.lproj?

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 4.0k 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.
  • K Offline
    K Offline
    kainjow
    wrote on last edited by
    #1

    Does anyone know why Qt creates a blank file on OS X in the bundle at Contents/Resources/empty.lproj ? Seems kind of strange. If it's going to create something like this, it should at least just call it English.lproj and be useful.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kainjow
      wrote on last edited by
      #2

      I see in /qmake/generators/unix/unixmake.cpp it's getting appended to QMAKE_BUNDLE_RESOURCE_FILE, but there is no clear reason why (only happens for app bundles).

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

        I don't know the exact reason, but it seems that it is related to application translation. The interwebs are not very insightful on this.

        http://www.catb.org/~esr/faqs/smart-questions.html

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

          I've written dozens of Cocoa apps, commercial and freeware, some fully localized. Never seen this before. I didn't see any other reference to it in the Qt source either. Might have to file a bug or find some other way to contact the devs.

          1 Reply Last reply
          0
          • G Offline
            G Offline
            govage
            wrote on last edited by
            #5

            My investigation shows that this file is needed to translate the strings in native dialogs according to the selected system locale.

            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