Results 1 to 20 of 57

Thread: The return of the king!

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    Join Date
    Jan 2006
    Posts
    368
    Thanks
    14
    Thanked 18 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: The return of the king!

    Here are some of my tips, feel free to ignore them :

    1. The problems you have need to be addressed by just using the correct includes, and refactoring the whole code.
    2. Doxygen has an option to generate the includes for each file. You will see that almost-everything-includes-almost-everything on your project.
    3. You can also generate UML diagrams to understand the project "from above". This will help you the refactoring.
    4. The components of the application should be stand alone. This will will help the debugging, as each component cannot be debugged on it's own, on small test cases (other small applcations)
    5. The directory structure is very hard to comprehend.
    6. I still an unsure how to rebuild the whole application as release, or debug, as there are a lot of sub-projects. Should I change them all to "release"? (how about including a $SOURCE_ROOT/config.pri on each sub project?)
    7. You have classes with mixed targets: that handle configuration and also GUI. Again, this is bad practice, as you cannot unit-test those classes, not take them outside of the projects.
    Last edited by elcuco; 8th July 2006 at 12:02.

Similar Threads

  1. [SOLVED] DirectShow Video Player Inside Qt
    By ToddAtWSU in forum Qt Programming
    Replies: 16
    Last Post: 3rd November 2011, 07:47
  2. Carriage Return in QString
    By incapacitant in forum Newbie
    Replies: 7
    Last Post: 2nd December 2010, 09:18
  3. When is the best time to delete a QCanvasItem
    By irudkin in forum Qt Programming
    Replies: 12
    Last Post: 8th March 2007, 21:28
  4. Replies: 4
    Last Post: 24th March 2006, 22:50
  5. Adding numbers to circles in QPaint
    By therealjag in forum Qt Programming
    Replies: 1
    Last Post: 12th February 2006, 10:21

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.