Qt not show Opengl
-
Hi all
I want to run a opengl program but not show any thing in main window(Qt Creator 4.3.1-Qt 5.9.0). I used to run this program in a old version Qt and run without any problem. I checked Qt +=opengl and add
LIBS += -LC:\Qt\Qt5.9.0\5.9\mingw53_32\lib -lglew32
LIBS += -lopengl32
but just show a white page.I try run other program with opengl but it had the same problem again.
[0_1522130212899_New folder.rar](Uploading 100%) -
Hi and welcome to devnet,
What old version of Qt is it working on ?
What version of Windows are you running ?
What's your graphic hardware ? -
I do not remember, but I think Qt5.1(because my hard drive is crash)
window 7-32 bit
intel (R) HD Graphics Family -
function glClearColor(0.5, 1, 0.1, 1); is work, but not show any lines.
-
What do you mean by that ?
-
i reinstall Qt(Qt Creator 4.0.3)and try run example from Qt(activeqt) . first has error after i added
LIBS += -lopengl32 run and page appeared but does not show any thing. -
Hi
Depending on how old the Qt where it used to work it,
maybe the openGL requirements have been
raised.Did you check with some other openGL application that
in fact the intel HD does work ?
Like
https://sourceforge.net/projects/openglchecker/ -
Hi
thinks , mrjj
my GL version : 3.0.0
GLSL version : 1.30
GLX version : -
How I can raised opengl and link to Qt?
-
hi
can it runs its samples and all ?
I would try upgrade driver if any newer exits.
http://www.guru3d.com/files-details/intel-hd-graphics-driver-download-4590.html
Or directly from Intel. -
all benchmarks is run.
i install a new driver from intel site , but do not change any thing.