Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-5901

Qt Designer does not respect LF line endings of .ui file on windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • Qt Creator 2.4.0
    • Qt Creator 2.2.1
    • Widget Designer
    • None
    • windows 7 ultimate - 64 bit
    • bd5a1a9bcea4da782494a02f17d37ea42eb01d9b

    Description

      If I run "dos2unix" on a ".ui" file, then load it into Qt Creator on a windows machine (win7 ultimate 64bit) then edit the layout with "Qt Designer" (presumably also just running Qt Designer as standalone does this) after making some change and saving the file back out, then the line endings are restored back to CRLF instead of just LF as they were when the file was read in. This is inconsistent behavior from QT editors in general which seem to preserve whatever line endings were in the file when it was opened.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            jrowellfx James Rowell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes