I created a small application using hellogl example given in QT. I created multiple opengl windows using QT creator
Qt is awesome to use.

2. how can i integrate qt with my game engine ? i am using Horde3D game engine

i want to simply add this small application in to my game engine code can some one direct ?

3. am i really in the right direction that if i create an instance of window and call it again as follows

Qt Code:
  1. Window window;
  2. Window window2;
  3.  
  4. if (((float)widgetArea / (float)desktopArea) < 0.75f){
  5. window.show();
  6. a=true;
  7. }
  8. else
  9. { window.showMaximized();}
  10.  
  11.  
  12. if (((float)widgetArea / (float)desktopArea) < 0.75f){
  13. window2.show();
  14. }
  15. else
  16. { window2.showMaximized();}
To copy to clipboard, switch view to plain text mode 
am i doing it right? and can i integrate it with my game engine and display my scene in these two windows?
Thank You once again