What do you use Qt for then?
What do you use Qt for then?
and what should I can use except qt ?
Eeem... I'm afraid I don't understand. I asked you what you use Qt for, because there is no single line of Qt code here anywhere. You are using glut for your user interface so it's not obvious where is Qt in that so I asked you to clarify it. Becuase from what I see you can get rid of most glut calls (all related to windows and event loops) and implement them in Qt. And you won't need threads so your problem will go away by itself. You don't need threads with glut alone too as you can use the idle function to handle the network.
Bookmarks