Results 1 to 3 of 3

Thread: GUI completely nonfunctional in Release configuration.

  1. #1
    Join Date
    Aug 2009
    Posts
    17
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default GUI completely nonfunctional in Release configuration.

    Hi all,

    I've tried to build my app in release configuration today and I have encountered a very strage thing: the GUI is completely not working in release: no button can be clicked, no widget is repanited .. But in debug configuration everything is fine.

    I'm trying to fix this since the morning, but without any success. So, please, give me some advice where the problem can be. I'm developing in VS2005, Vista.
    Thanks a lot.

  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: GUI completely nonfunctional in Release configuration.

    The problem can be in your code. It's likely you are blocking the event loop. I'd suggest attaching to the running process with a debugger to see the backtrace so that you can see which method is blocking the loop.
    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
    Aug 2009
    Posts
    17
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: GUI completely nonfunctional in Release configuration.

    Thanks wysota. You're right, the problem is in my code, specifically in one class. If I create an object of this class and access to any of it's variables inside CGView::drawBackground(), the GUI freezes up.

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.