Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

QT Problems, NEED HELP ASAP

Status
Not open for further replies.

Ma3x323

Programmer
Jun 27, 2001
148
0
0
US
For anybody who knows QT:
OK we have a project in school that is creating a meeting scheduler. I was assigned in creating the GUI and of course we picked linux to be the OS so I had to learn QT. In our project we have 3 modules:
GUI - Consists of QT widgets and application
Client - Which receives inputs from GUI and sends and receives messages from server.
Message - This is our message center. Sends messages to server using a network protocol.
Server - Contains all the data we need for a schedule.

OK, we came to a problem in which we can connect to the server 1 every like 5 or 6 tries. And after connecting, the messages received by the client is either scrambled or
it crashes the server or the client.
WE narrowed down the problem to a wait or an event that QT needs to have. Like MFC where it has to wait til it receives a message or something like that. It seems like QT is not letting anything run on the background and that it doesn't wait for any messages to be received, therefore screwing up the messages.
So the big question is, does anybody know how to fix this? Probably a wait function or a run function or threading for QT. Need help ASAP. Due in 48 hours!!

Thanks in advance for those who anwered. -Feryl
--> Just a silly software engineer wannabee.
If you feel a post has been helpful to you, click on the link at the bottom of their post to cast a vote for "TipMaster Of The Week". You don't need to be the one who asked the question to vote.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top