Results 1 to 2 of 2

Thread: QExtSerialPort 1.1 (or 1.2 don't know) after invoking close() GUI freezes.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2011
    Posts
    86
    Thanks
    4
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default QExtSerialPort 1.1 (or 1.2 don't know) after invoking close() GUI freezes.

    Like in the title.
    First i invoke close() to close COM port.
    After that I emit signal which makes GUI changes look, it works, i see the changes (like different icons on buttons) BUT interface "freezes". QTextEdit window do not actualizes its content and after moving mouse pointer above buttons i can't see highlighting. I have to click button which open some modal window (witch is also frozen) and close it and then interface start to work. If i close app during that strange behavior debug console do not hide and program is running in the background with 40-50% of processor use.

    I know that those description is kinda enigmatic but i don't now nothing more. My code is rather big, i can't show it all. If i make comment //close(); function everything works fine except that i COM port isn't closed.

    In my another app i also use QextSerialPort and nothing similar is happening. I can close port and work with GUI.

    Anybody?

  2. #2
    Join Date
    Sep 2011
    Posts
    86
    Thanks
    4
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: QExtSerialPort 1.1 (or 1.2 don't know) after invoking close() GUI freezes.

    Finnaly found the reason. It was timer running too fast. I stopped it but it still made gui frozen.

Similar Threads

  1. qmake not invoking uic?
    By Regenlied in forum Newbie
    Replies: 7
    Last Post: 9th August 2011, 16:07
  2. midi child does not close when I call close()
    By qlands in forum Qt Programming
    Replies: 7
    Last Post: 29th July 2011, 22:25
  3. Replies: 2
    Last Post: 17th December 2010, 19:01
  4. invoking Matlb through QT
    By sal in forum Newbie
    Replies: 2
    Last Post: 22nd May 2010, 22:43
  5. Invoking a browser...???
    By deepusrp in forum Newbie
    Replies: 4
    Last Post: 12th June 2007, 17:32

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
  •  
Qt is a trademark of The Qt Company.