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

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

      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.

        For Gerrit Dashboard: QTCREATORBUG-5901
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes