Guide to use QtCreator for Unreal Engine 4!

Thank you so much ,

I just saw your message, I’m sorry. I though I would receive an email informing a new answer was post on this topic, bit it didn’t. Anyways, at last I could got working my opencv library. Yep, I had to add includes and *.lib to “projectname”.Build.cs indeed.

By the way, I found problems with OpenCV 3.0, so, to get it working, I had to downgrade my OCV version from 3.0 to 2.4.1.0 and everything went fine. That took me so much frustration time, so I hope this post helps as many people as possible.

If someone asks, this is what I added to my “projectname”.Build.cs file. At the end of the constructor method:


if (Target.Platform == UnrealTargetPlatform.Win64)
        {
            PublicAdditionalLibraries.AddRange(new string] { 
                "C:/opencv2410/build/x64/vc12/lib/opencv_core2410.lib", 
                "C:/opencv2410/build/x64/vc12/lib/opencv_highgui2410.lib", 
                "C:/opencv2410/build/x64/vc12/lib/opencv_imgproc2410.lib", 
                "C:/opencv2410/build/x64/vc12/lib/opencv_calib3d2410.lib"});
            PublicIncludePaths.AddRange(new string] { "C:/opencv2410/build/include"});
        }

If you want to try more platforms / modes you should add corresponding libraries :wink:

Best regards and thank you again for your response