Forum Replies Created
-
AuthorPosts
-
PhilippeBlocked
Hey,
I used the version linked in the guide, so msvc2013_64-5.5.1 to no avail
Then, I used a previous opengl version: msvc2013_64_opengl-5.3.0 and it got me further.I hit some problems with cmake, namely on Qt5GuiConfigExtras.cmake which made an error because of glu32. So I looked it up and it seems you need Windows SDK. I’ve got 8.1 but I guess any recent version is ok. Added
set (CMAKE_PREFIX_PATH "C:/Program Files (x86)/Windows Kits/8.1/Lib/winv6.3/um/x64")
to said cmake file.Then… While building, hit 2 errors in qdatetime.h related to min/max stuff. So I added
/DNOMINMAX
toCMAKE_CXX_FLAGS
. Everything built ok.At launch, I was greated with a cmd error:
This application failed to start because it could not find or load the Qt platform plugin "windows"
It seems that even tough Qt path is set, I still have to copy Qt5Core.dll, Qt5Gui.dll and Qt5Widgets.dllSo… yeah. It finally works. I don’t know if some of these errors are specific to my config, but it seems Qt5OpenGl is needed, and the version linked in some case doesn’t have it. I don’t know if there’s another workaround (that plus all the cmake stuff to add).
PhilippeBlockedOk, I checked the dependancies, and found that the ones on the website were for 32bit windows.
So I set Qt path in PATH, set boost path in PATH also. I’m now using the 64 bits version.However, at launch, I now get:
“le point d’entrée de procédure
?glGetTexLevelParameteriv@QOpenGLFunction ….. est introuvable dans Qt5OpenGL.dll”So I guess the Qt version you’re using and the qt version you’re linking on the website are different.
-
AuthorPosts