Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Have Qt creator stop adding /*##^## ... ##^##*/ to files
Forum Updated to NodeBB v4.3 + New Features

Have Qt creator stop adding /*##^## ... ##^##*/ to files

Scheduled Pinned Locked Moved Solved QML and Qt Quick
8 Posts 4 Posters 858 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.
  • J Offline
    J Offline
    javs
    wrote on last edited by
    #1

    Hi all,

    The design view of Qt creator makes changes to my source files.
    I know that by the Observer pricipal, you always change anything you look at, but Creator adds /##^## ... ##^##/ to my files, to keep a record as to how i look at files.
    Can anybody tell me how to stop this behavior?
    My files are under version control and dont appreciate these changes.

    Any help is appreciated.

    Jasper

    jsulmJ 1 Reply Last reply
    0
    • J javs

      Hi all,

      The design view of Qt creator makes changes to my source files.
      I know that by the Observer pricipal, you always change anything you look at, but Creator adds /##^## ... ##^##/ to my files, to keep a record as to how i look at files.
      Can anybody tell me how to stop this behavior?
      My files are under version control and dont appreciate these changes.

      Any help is appreciated.

      Jasper

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @javs said in Have Qt creator stop adding /*##^## ... ##^##*/ to files:

      The design view of Qt creator makes changes to my source files

      What files do you mean?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • J Offline
        J Offline
        javs
        wrote on last edited by
        #3

        Hi jsulm,

        All the QML files.
        When i open a file change one character and save in Qt creators design view, it automatically adds the 'comment' below.
        I keep having to remove it again, when i want to commit my changes to GIT.

           /*##^##
           Designer {
               D{i:0;autoSize:true;height:480;width:640}
           }
           ##^##*/
        

        Cheers,

        Jasper

        J.HilkJ 1 Reply Last reply
        0
        • J javs

          Hi jsulm,

          All the QML files.
          When i open a file change one character and save in Qt creators design view, it automatically adds the 'comment' below.
          I keep having to remove it again, when i want to commit my changes to GIT.

             /*##^##
             Designer {
                 D{i:0;autoSize:true;height:480;width:640}
             }
             ##^##*/
          

          Cheers,

          Jasper

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on last edited by
          #4

          @javs doesn't happen for me, but I remember it used to happen, what version of QtC are you using?


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          1 Reply Last reply
          0
          • J Offline
            J Offline
            javs
            wrote on last edited by
            #5

            Hi,

            I am using Qt Creator 4.15.0 on linux.

            1 Reply Last reply
            0
            • J Offline
              J Offline
              javs
              wrote on last edited by
              #6

              Does nobody have the same problem?

              JKSHJ 1 Reply Last reply
              0
              • J javs

                Does nobody have the same problem?

                JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by JKSH
                #7

                @javs said in Have Qt creator stop adding /*##^## ... ##^##*/ to files:

                When i open a file change one character and save in Qt creators design view, it automatically adds the 'comment' below.
                I keep having to remove it again, when i want to commit my changes to GIT.

                   /*##^##
                   Designer {
                       D{i:0;autoSize:true;height:480;width:640}
                   }
                   ##^##*/
                

                ...

                Does nobody have the same problem?

                I remember I saw this happen in the past, but it doesn't happen for me anymore.

                Try upgrading to the latest version of Qt Creator (4.15.2)

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  javs
                  wrote on last edited by
                  #8

                  Thanks!
                  That solved the problem.

                  1 Reply Last reply
                  1

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved