guys! have working project win32 winapi functions draws cube. create wndclass , opengl context there drawing. can use same functions winmain , winproc in qt windows message processing? tried it, using hwnd of window, without creating wndclass. after have window without drawing area , rendering. should use winapi functions next unloading theese functions in dll , use them in python , delphi.
here cpp-file http://rgho.st/7kwppfxzg
qt cross platform framework , takes care of hiding away things winmain , windowprocs , instead provides platform neutral abstraction.
fortunately opengl directly supported qt - , have page showing how integrate opengl qt here:
Comments
Post a Comment