Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating installer for Qt + OpenGL + GLUT + GLEW app

We (my classmates and I in college) have created a 3D medical visualization software using the programs / libraries listed in the title. Now we would love to create an installer for our app, but we don't seem to find the right solution. I've been looking around, and seen some cool programs that compile everything you got and create the installer, but my question is as follows:

Does it compile, link, and add to the installer GLUT and GLEW libraries?

We've had a hard time installing all of that crap on windows, i just can't picture a doctor going through the same painfull process, if you know what I mean...

So, is there any application that can make this possible?

like image 615
tfrascaroli Avatar asked Dec 28 '25 20:12

tfrascaroli


1 Answers

First off: OpenGL is not a library, it's an API. And the only way to get proper support for it in Windows is to install the original graphics drivers, downloaded from the GPU vendor's homepage. So as part of the installer you should detect the installed GPU and check for the installed drivers, possibly redirecting the user to the driver download page of the GPU vendor.

Installers are pretty much standard stuff. The most easy, and reliable way to go, is to place copies of all the DLL files of the used libraries in the same directory as the program executable. Have a look at the NullSoft Installer System

You say you use Qt together with GLUT? Why? Qt and GLUT don't play together. The only reason to use GLUT I see is the teapot.

GLEW is a pretty standard DLL, but I usually tent to statically link it with my renderer module.

like image 54
datenwolf Avatar answered Dec 31 '25 19:12

datenwolf



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!