Results 1 to 8 of 8

Thread: Is there an easy way to see the difference betwen two code files?

  1. #1
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Is there an easy way to see the difference betwen two code files?

    I'm searching something like windiff.
    I know QT has version control utilities, but in this case my need is simplest.
    I only want to see the differences betwen two files.
    Any help, Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Is there an easy way to see the difference betwen two code files?

    So what is wrong with windiff?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jul 2010
    Location
    Indonesia
    Posts
    83
    Thanked 17 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Maemo/MeeGo

    Default Re: Is there an easy way to see the difference betwen two code files?

    If you do not use SCM, on Win platform you can use Notepad++ and use Compare plugin.
    ~ We are nothing in this universe ~

  4. #4
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Is there an easy way to see the difference betwen two code files?

    I'm asking for some plugin for QT-QTcreator.
    Thanks

  5. #5
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Is there an easy way to see the difference betwen two code files?

    I know QT has version control utilities
    not to my knowledge.
    You can specify a version control tool when you create a project.
    Since I am not a QtCreator user I can't say to what extent the version control is then integrated and accessible in the QtCreator, but I would expect to have a context menu with the selected version control tool functions, and most have a diff function.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  6. #6
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Is there an easy way to see the difference betwen two code files?

    Even for the simplest of applications I find version control invaluable for this feature alone.

  7. #7
    Join Date
    Jul 2010
    Location
    Indonesia
    Posts
    83
    Thanked 17 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Maemo/MeeGo

    Default Re: Is there an easy way to see the difference betwen two code files?

    I love Git.
    ~ We are nothing in this universe ~

  8. #8
    Join Date
    Apr 2011
    Posts
    124
    Thanks
    1
    Thanked 10 Times in 10 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows Symbian S60

    Default Re: Is there an easy way to see the difference betwen two code files?

    I'm kind of fond of "Beyond Compare": http://www.scootersoftware.com/

Similar Threads

  1. Replies: 0
    Last Post: 28th October 2010, 14:24
  2. Replies: 7
    Last Post: 11th December 2009, 06:01
  3. Transvering project betwen Linux and Windows
    By frenk_castle in forum Newbie
    Replies: 3
    Last Post: 22nd November 2009, 12:34
  4. changes in code not making any difference in output
    By sh123 in forum Qt Programming
    Replies: 13
    Last Post: 10th January 2009, 09:44
  5. Replies: 4
    Last Post: 9th January 2008, 16:28

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.