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. File names should be lowercase?
Forum Updated to NodeBB v4.3 + New Features

File names should be lowercase?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 337 Views 2 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.
  • A Offline
    A Offline
    AndrzejB
    wrote on last edited by
    #1

    I can observe that Qt sources, KDE projects, uses lowercase for file names. Why? Upper and lower case is not problem for case sensitive filesystems., but also Windows preserves case. Maybe problem is in case insensitive systems when two file names is distinguish only in case? File names with capital letters are more readable by human, usually file names are class names, which area two or more words joined together. .

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

      Hi,

      The reason is likely lost in the sands of time but in any case, the user facing headers naming follows the class name.

      On a side note, macOS uses case insensitive by default for their filesystem.

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

        Qt case sensitive headers are short and includes appropriate lowercase headers. This case sensitive headers are created by installer? How installer knows this filename for lowercase include?

        SGaistS 1 Reply Last reply
        0
        • A AndrzejB

          Qt case sensitive headers are short and includes appropriate lowercase headers. This case sensitive headers are created by installer? How installer knows this filename for lowercase include?

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @AndrzejB the installer does nothing in that regard. They are generated if memory serves well.

          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