I know this is an old topic, but it has been so useful to me in order to get unreal first person shooter into my QtCreator. So, in first place: thank you Antares for your explanation at this forum and the wiki, good job.
Now I have the uproject working on qtcreator, I would like to use some opencv libraries to merge a couple of projects so I though this should be easy if I already have openCV running in my Qt; I only have to add a new INCLUDEPATH and one LIBS += and everything should work but it didn’t
I’ve added the next line to the end of includes.pri:
INCLUDEPATH += "c:\opencv\release\install\include"
And this one after include(includes.pri) at MyQtProject.pro
LIBS += C:/opencv/release/bin/*.dll
These are the lines I have to add to a fresh project in order to get openCV running and available just by adding corresponding includes. I’ve added two includes at MyQtProjectCharacter.cpp
But when I try to compile the project, QtCreator launch an exception saying that these files don’t exist… :-S
09:44:31: Running steps for project MyQtProject...
09:44:31: Starting: "C:\Program Files\Epic Games\4.7\Engine\Build\BatchFiles\Clean.bat" MyQtProjectEditor Win64 DebugGame "D:\Unreal\Projects\******\MyQtProject\MyQtProject.uproject" -rocket
Cleaning MyQtProjectEditor Binaries...
09:44:32: The process "C:\Program Files\Epic Games\4.7\Engine\Build\BatchFiles\Clean.bat" exited normally.
09:44:32: Starting: "C:\Program Files\Epic Games\4.7\Engine\Build\BatchFiles\Build.bat" MyQtProjectEditor Win64 DebugGame "D:\Unreal\Projects\******\MyQtProject\MyQtProject.uproject" -rocket
Parsing headers for MyQtProjectEditor
Reflection code generated for MyQtProjectEditor
Performing 10 actions (4 in parallel)
[3/10] Resource MyQtProject.rc
[2/10] Resource ModuleVersionResource.rc.inl
D:\Unreal\Projects\******\MyQtProject\Source\MyQtProject\MyQtProjectCharacter.cpp(9) : fatal error C1083: Cannot open include file: 'highgui.hpp': No such file or directory
-------- End Detailed Actions Stats -----------------------------------------------------------
ERROR: UBT ERROR: Failed to produce item: D:\Unreal\Projects\******\MyQtProject\Binaries\Win64\UE4Editor-MyQtProject-Win64-DebugGame.dll
Cumulative action seconds (8 processors): 0,00 building projects, 8,49 compiling, 0,00 creating app bundles, 0,00 generating debug info, 0,00 linking, 0,00 other
UBT execution time: 13,48 seconds
09:44:46: The process "C:\Program Files\Epic Games\4.7\Engine\Build\BatchFiles\Build.bat" exited normally.
09:44:46: Elapsed time: 00:15.
I have checked the url and they are valid, so I can’t figure why I’m getting this issue.
Thank you so much and best regards