Choppy GUI

This is a discussion on Choppy GUI within the C++ Programming forums, part of the General Programming Boards category; I have developed a program using the Qt library for my GUI. I had been using borland to compile my ...

  1. #1
    Registered User
    Join Date
    Sep 2005
    Posts
    2

    Choppy GUI

    I have developed a program using the Qt library for my GUI. I had been using borland to compile my program, but due to a need for non-borland compatible libraries in another project I have switched over to MSVC++ .Net. I did not get the full visual studio package so I do NOT have the optimized compiler.

    My problem is the GUI tends to be a bit choppy. Moving a dialog box around creates a tail effect. Using the full screen button, the window immediately filles up the full screen, but the Qt widgets will not reposition themsleves without a second delay or so.

    I did not have this problem at all with borland, so I am pretty sure the problem lays with MSVC++. I do not know if the optimized vs. non-optimized compiler is creating a problem.

    Any help would be greatly appreciated.

  2. #2
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Funny, the last time I experienced that was when using VB6 or any of the .NET Framework tools.

    I have no idea why it happens, but it's fine when using MSVC++ 6 or indeed using Qt, wxWidgets etc
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  3. #3
    ---
    Join Date
    May 2004
    Posts
    1,379
    Since you were using non standard techniques with the borland compiler, there is some thing that you have forgotten to change when you changed to MSVC. It wouldn't be the compiler directly but the way you are using it. I have never used Qt so that is all I can say.

  4. #4
    Registered User
    Join Date
    Aug 2003
    Posts
    470
    My problem is the GUI tends to be a bit choppy. Moving a dialog box around creates a tail effect. Using the full screen button, the window immediately filles up the full screen, but the Qt widgets will not reposition themsleves without a second delay or so.
    That's odd. I've never used QT but you might be able to get hints at what's wrong by breaking within the second delay and then doing a stack trace.

    I did not have this problem at all with borland, so I am pretty sure the problem lays with MSVC++. I do not know if the optimized vs. non-optimized compiler is creating a problem.
    Unlikely, I think. You'd probably have more problems with the optimizing compiler. But perhaps the msvc++ compiler is linking with a debug version of QT that does some kind of logging or expensive background checks.

  5. #5
    Registered User
    Join Date
    Sep 2005
    Posts
    2
    Turns out it is a problem caused by a widget I use that allows me to display visualizations created with the vtk library in my Qt windows. I recently changed to a new version of this and didn't consider that it might be the culprit.

    Thanks to those of you that offered your help.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. GUI Programming...
    By ShadeS_07 in forum C++ Programming
    Replies: 12
    Last Post: 12-28-2008, 03:58 PM
  2. .NET And GUI Programming :: C++
    By kuphryn in forum C++ Programming
    Replies: 4
    Last Post: 01-27-2002, 03:22 PM
  3. GUI Programming :: C++ Exclusive
    By kuphryn in forum C++ Programming
    Replies: 5
    Last Post: 01-25-2002, 02:22 PM
  4. C++: Reference Book, GUI, Networking & Beyond
    By kuphryn in forum C++ Programming
    Replies: 4
    Last Post: 11-10-2001, 07:03 PM
  5. GUI (Graphical User Interface) Help Needed
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 10-11-2001, 10:35 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21