Qt not show Opengl
-
wrote on 27 Mar 2018, 05:57 last edited by
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 ? -
wrote on 27 Mar 2018, 07:04 last edited by
I do not remember, but I think Qt5.1(because my hard drive is crash)
window 7-32 bit
intel (R) HD Graphics Family -
wrote on 27 Mar 2018, 13:46 last edited by
function glClearColor(0.5, 1, 0.1, 1); is work, but not show any lines.
-
What do you mean by that ?
-
wrote on 31 Mar 2018, 10:38 last edited by
-
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/ -
wrote on 31 Mar 2018, 11:29 last edited by
-
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. -
wrote on 31 Mar 2018, 13:09 last edited by
all benchmarks is run.
i install a new driver from intel site , but do not change any thing.
10/10