Results 1 to 10 of 10

Thread: avoiding mainwindow from freezing

  1. #1
    Join Date
    Apr 2012
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default avoiding mainwindow from freezing

    Hi,

    How to create 2 connection simultaneously without freezing the mainwindow?

    Thanks!

  2. #2
    Join Date
    May 2012
    Posts
    136
    Thanks
    2
    Thanked 27 Times in 24 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: avoiding mainwindow from freezing

    What kind of connection are you refering to?

  3. #3
    Join Date
    Apr 2012
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: avoiding mainwindow from freezing

    thanks.

    smtp and imap at the same time and will display all the commands sent and returned msg in listviews.
    pls give some advice.

  4. #4
    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: avoiding mainwindow from freezing

    Why would it freeze the window?
    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.


  5. #5
    Join Date
    Apr 2012
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: avoiding mainwindow from freezing

    Quote Originally Posted by wysota View Post
    Why would it freeze the window?
    i dont know since i haven't tried it with qt.
    i remember back there when using delphi i faced this problem.
    can you please give me advice on the best way to do those things?

  6. #6
    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: avoiding mainwindow from freezing

    The best way is to read some documentation and take a look at some of the numerous examples available and learn from them.
    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.


  7. #7
    Join Date
    Apr 2012
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: avoiding mainwindow from freezing

    thanks master
    very helpful

    i thought this was a "Newbie" and not a "Self learning" forum

  8. #8
    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: avoiding mainwindow from freezing

    Being a newbie doesn't free you from learning. We can give you hints but we will not do your work for you. If you go through learning basics and ask specific questions, you'll get specific answers. Right now we could only quote the docs or point you to them so there is little sense in doing that if you can read the docs yourself.
    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.


  9. #9
    Join Date
    Apr 2012
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: avoiding mainwindow from freezing

    that's what i want.
    a hint.
    on what should i look for, what should i avoid.
    *sigh*

    nevermind, i'll go search myself.

    just close this thread.

    Thanks.
    Last edited by doniking; 8th June 2012 at 08:58.

  10. #10
    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: avoiding mainwindow from freezing

    Quote Originally Posted by doniking View Post
    that's what i want.
    a hint.
    on what should i look for, what should i avoid.
    You should avoid calls that block the UI and you should look for learning how to do networking wih Qt asynchronously. I don't know how helpful it is but since you wanted a hint at this stage, here you go...
    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.


Similar Threads

  1. Thread freezing
    By porterneon in forum Qt Programming
    Replies: 0
    Last Post: 3rd November 2011, 10:38
  2. QSystemNetworkInfo networkModeChanged freezing
    By DrZ in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 21st July 2011, 12:03
  3. Reading lots of Data from QProcess without freezing
    By nightghost in forum Qt Programming
    Replies: 12
    Last Post: 27th January 2010, 08:23
  4. Thread freezing GUI
    By TheGrimace in forum Qt Programming
    Replies: 26
    Last Post: 27th June 2007, 15:57

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.