Results 1 to 3 of 3

Thread: Compiling time changes, and how!

  1. #1
    Join Date
    Jan 2006
    Location
    Lincoln, NE USA
    Posts
    177
    Thanks
    3
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Exclamation Compiling time changes, and how!

    If you've taken a look at the simple QT4 tutorial, (which can be downloaded by right clicking on: http://www.qtcentre.org/forum/attach...5&d=1138742423
    and selecting "Save As..." Note: it's labled as a bz2 but it is really a zip file. Just rename the extension and unzip it. It contains an HTML file with several images. All edits, additions, improvements, etc., welcomed!) which describes my Homestead application, you'll know that it is an SDI with four frames. On three of the frames are about 30 QLineEdit controls. When the controls are disabled the Qt default foreground and background style is rendered.

    My users were complaining that the default disabled text was too dim to read. So, I used the Designer to manually change the disabled text atttribute to be as dark as the enabled text attribute. The results look nice, but the process was really LABOR INTENSIVE and made me wish AGAIN for a group edit capability in the Designer, one where I could select a bunch of controls of the same type (or which possess some of the same properties) and then make a change to all of them at one time! (Are you listening, Trolltech?)

    I am using commerical QT4.10 with MSVC++ 2003 with QT Integration. After making only those changes the compile time on my app went from under 4 minutes to over 20 minutes! When I compiled under the DOS box the time to compile was just as long.

  2. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: Compiling time changes, and how!

    Did the compile time increase only the first time after the changes or everytime when you build your project after making these changes? Do you have some type of console in Visual Studio that shows you compiler output so you can see where it spends so much time?
    It's nice to be important but it's more important to be nice.

  3. #3
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    99
    Thanks
    1
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Compiling time changes, and how!

    Hello GreyGeek,

    Thanks for sharing this!
    I would recommend everybody to read it!

    I have a question about "depends" in your tutorial.
    You say this is a free tool from microsoft. I searched the net but didn't come up with a download link of the tool. Could you provide us a link?

    Does anyone know if there is a linux variant of this functionality?

    Thanks

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.