Results 1 to 3 of 3

Thread: What would be most appropriate way to do code style checking in Qt creator?

  1. #1
    Join Date
    Aug 2011
    Posts
    11
    Qt products
    Qt4
    Platforms
    Unix/X11

    Post What would be most appropriate way to do code style checking in Qt creator?

    I have server that would not let to upload source code that does not follows some style (for example camel notation). Given that I have source for such style checker, what is the best way to integrate it into a Qt creator to check whether my code will pass that style validation. (Should it be plugin or something else)

    Could you direct me to documentation or at least a name of tool that could help me with it?

  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: What would be most appropriate way to do code style checking in Qt creator?

    subversion pre-commit hook, if you're using svn.
    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
    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: What would be most appropriate way to do code style checking in Qt creator?

    ==========================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.

Similar Threads

  1. [Qt Creator] Coding style.[Help]
    By "BumbleBee" in forum Newbie
    Replies: 8
    Last Post: 13th October 2011, 20:56
  2. Qt Style Sheet Vs Code
    By Ashutosh2k1 in forum Qt Programming
    Replies: 4
    Last Post: 4th May 2011, 06:45
  3. Qt Creator qt creator code model
    By Vanir in forum Qt Tools
    Replies: 0
    Last Post: 5th October 2010, 11:10
  4. Replies: 3
    Last Post: 22nd February 2010, 22:11
  5. Replies: 2
    Last Post: 9th January 2010, 16:41

Tags for this Thread

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.