Guide to use QtCreator for Unreal Engine 4!

Sweet. But how do I do that? If I try to compile in QtCreator it says it can’t open the UE4Editor DLL. If I press compile in the editor it doesn’t seem to make any changes.

EDIT: Well, the compile button is working now, not sure what went wrong before.

Hi guys,

thanks for describing this for QTCreator under Windows. I currently try this with QT Creator using MacOS and need some help with:

I just uncommented this from defines.pri
DEFINES += “UBT_COMPILED_PLATFORM=Win64”
DEFINES += “WIN32=1”
DEFINES += “_WIN32_WINNT=0x0600”
DEFINES += “WINVER=0x0600”
DEFINES += “PLATFORM_WINDOWS=1”

Is there is Mac Substitue for that?

3./ Create a file BUILD_DLL.bat and copy this into :
Code:
UnrealBuildTool.exe YourProjectEditor Win64 Development “%CD%\YourProject.uproject” -rocket

-> I need the Mac equivalent for this. I searched for UnrealBuildTool but i tseems to be for Windows only.
I would think that xcodebuild CLI tool will be employed, right?

If somebody knows about this on a mac:
START UE4Editor.exe “%CD%\YourProject.uproject” Your_Map?game=YourProject -game -ResX=1280 -ResY=720
EXIT

I guess that UE4Editor has to be on the PATH (/Users/Shared/UnrealEngine/4.3/Engine/Binaries/Mac)
You would speed up my research if the other Mac+QTCreator users would share their insights here or in that wiki article :slight_smile:

thanks

Can we just run a find and replace on 4.3 to 4.4 to use this with 4.4? Or have any paths changed/been added?

I second the request for Qt Creator .pro file support in the Unreal Build Tool!

You have to open the visual file with visual and go to project propertie, this is where I found all include etc, I may update the post one of these day… But don’t have much time recently sorry !

I have to say hats off to Microsoft, respect guys. They listened to complaints about the way VS handles large solutions and there you go

Speedy, impressive!

I tried to update the hard references to unreal version using a variable called UNREAL_VERSION = 4.5 but in fact it is not working at all. Qt Creator intellisesne does not work anymore.

Why is your INCLUDEPATH so short? trying to optimize the .pro file generator on linux and the list I parse is over, without cleaning it up a bit, 2500+ lines.

Also why do you include some Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu//Inc/ paths along with other not /Intermediate/ paths?

Hello. I am also trying to get QtCreator to work because my IntelliSense for VS 2013 is so slow.
I got it working with the help of this tutorial and the video, thanks. The problem I am facing now is that I want to develop for UT and I don’t know which folders to include, or how to get a list all the includes I need. Can I extract this from the Visual Studio project somehow?

Hi there!

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 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 :frowning:

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


#include "opencv2/highgui.hpp"
#include "opencv2/imgproc.hpp"

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
PCH.MyQtProject.MyQtProject.h.cpp
MyQtProjectHUD.cpp
MyQtProjectGameMode.cpp
MyQtProjectCharacter.cpp
MyQtProject.generated.cpp
MyQtProjectProjectile.cpp
MyQtProject.cpp
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.

Any idea?
Thank you so much and best regards :slight_smile:

Hi !

I’m glad I’ve helped you, btw I’m not the main contributor for the wiki anymore ^^, what you need to understand is that the project file of qtcreator (the .pro) is not the one used for compilation, it exist only for the intellisense feature.

I don’t know exactly what you need to do to include external lib but you should look at your .cs files which is the build system. Take a look to this A new, community-hosted Unreal Engine Wiki - Announcements and Releases - Unreal Engine Forums

Should be pretty close to what you need I think.

Bests

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

Glad it does help you and thank your for sharing your solution !

Bests

Hi guys
What’s aboyt CLion?

The current version of Qt Creator still works with this tutorial?

I did everything according to this tutorial and wiki and at least I can see the highlight of the source code.
Just do not compile directly only in MVS14 or UE4editor!

Thanks! Works like a charm

Current unreal engine version(4.26) generate a lot of headers files. I’ve take some that generated for visual studio here for anyone experiencing missing includes.

# Engine include path

INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\Engine"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Engine\Classes"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Engine\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\Core"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\TraceLog\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Core\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\TraceLog"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\CoreUObject"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\CoreUObject\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\NetCore"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Net"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Net\Core\Classes"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Net\Core\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\ApplicationCore"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\ApplicationCore\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\RHI"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\RHI\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\Json"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Json\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\SlateCore"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\SlateCore\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\InputCore"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\InputCore\Classes"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\InputCore\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\Slate"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Slate\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\ImageWrapper"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\ImageWrapper\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\Messaging"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Messaging\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\MessagingCommon"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\MessagingCommon\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\RenderCore"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\RenderCore\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\AnalyticsET"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Analytics"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Analytics\AnalyticsET\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\Analytics"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Analytics\Analytics\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\Sockets"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Sockets\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\NetCommon"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Net\Common\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\AssetRegistry"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\AssetRegistry\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\EngineMessages"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\EngineMessages\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\EngineSettings"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\EngineSettings\Classes"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\EngineSettings\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\SynthBenchmark"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\SynthBenchmark\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\Renderer"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Renderer\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\GameplayTags"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\GameplayTags\Classes"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\GameplayTags\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\PacketHandler"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\PacketHandlers"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\PacketHandlers\PacketHandler\Classes"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\PacketHandlers\PacketHandler\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\ReliabilityHandlerComponent"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\PacketHandlers\ReliabilityHandlerComponent\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\AudioPlatformConfiguration"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\AudioPlatformConfiguration\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\MeshDescription"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\MeshDescription\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\StaticMeshDescription"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\StaticMeshDescription\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\PakFile"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\PakFile\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\RSA"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\RSA\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\NetworkReplayStreaming"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\NetworkReplayStreaming"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\NetworkReplayStreaming\NetworkReplayStreaming\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\PhysicsCore"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\PhysicsCore\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\DeveloperSettings"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\DeveloperSettings\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\Chaos"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Experimental"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Experimental\Chaos\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\ChaosCore"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Experimental\ChaosCore\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\ThirdParty\Intel"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\Voronoi"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Experimental\Voronoi\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\ThirdParty"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\SignalProcessing"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\SignalProcessing\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\AudioExtensions"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\AudioExtensions\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\AudioMixerCore"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\AudioMixerCore\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\PropertyAccess"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\PropertyAccess\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\UnrealEd"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Programs\UnrealLightmass\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Developer\Android\AndroidDeviceDetection\Public\Interfaces"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\UnrealEd\Classes"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\UnrealEd\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\DirectoryWatcher"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Developer"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Developer\DirectoryWatcher\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\Documentation"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\Documentation\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\Projects"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Projects\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\SandboxFile"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\SandboxFile\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\EditorStyle"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\EditorStyle\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\SourceControl"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Developer\SourceControl\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\UnrealEdMessages"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\UnrealEdMessages\Classes"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\UnrealEdMessages\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\GameplayDebugger"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Developer\GameplayDebugger\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\BlueprintGraph"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\BlueprintGraph\Classes"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\BlueprintGraph\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\EditorSubsystem"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\EditorSubsystem\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\HTTP"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Online"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Online\HTTP\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\UnrealAudio"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\UnrealAudio\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\FunctionalTesting"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Developer\FunctionalTesting\Classes"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Developer\FunctionalTesting\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\AutomationController"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Developer\AutomationController\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\Localization"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Developer\Localization\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\AudioEditor"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\AudioEditor\Classes"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\AudioEditor\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\AudioMixer"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\AudioMixer\Classes"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\AudioMixer\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\TargetPlatform"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Developer\TargetPlatform\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\LevelEditor"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\LevelEditor\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\Settings"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Developer\Settings\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\IntroTutorials"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\IntroTutorials\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\HeadMountedDisplay"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\HeadMountedDisplay\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\VREditor"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\VREditor"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\VREditor\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\CommonMenuExtensions"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\CommonMenuExtensions\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\Landscape"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Landscape\Classes"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Landscape\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\PropertyEditor"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\PropertyEditor\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\ActorPickerMode"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\ActorPickerMode\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\SceneDepthPickerMode"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\SceneDepthPickerMode\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\DetailCustomizations"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\DetailCustomizations\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\ClassViewer"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\ClassViewer\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\GraphEditor"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\GraphEditor\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\StructViewer"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\StructViewer\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\ContentBrowser"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\ContentBrowser\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\ContentBrowserData"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\ContentBrowserData\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\CollectionManager"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Developer\CollectionManager\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\UELibSampleRate"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\ThirdParty\libSampleRate\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\NetworkFileSystem"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\NetworkFileSystem\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\UMG"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\UMG\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\MovieScene"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\MovieScene\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\TimeManagement"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\TimeManagement\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\MovieSceneTracks"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\MovieSceneTracks\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\AnimationCore"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\AnimationCore\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\PropertyPath"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\PropertyPath\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\NavigationSystem"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\NavigationSystem\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\MeshBuilder"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Developer\MeshBuilder\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\MaterialShaderQualitySettings"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\MaterialShaderQualitySettings\Classes"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\InteractiveToolsFramework"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Experimental\InteractiveToolsFramework\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\ToolMenusEditor"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\ToolMenusEditor\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\ToolMenus"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Developer\ToolMenus\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\XAudio2"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Windows"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\Windows\XAudio2\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\AudioMixerXAudio2"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\AssetTagsEditor"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\AssetTagsEditor\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\AddContentDialog"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\AddContentDialog\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\MeshUtilities"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\ThirdParty\Intel\Embree\Embree2140\Win64\include"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Developer\MeshUtilities\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\MeshMergeUtilities"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Developer\MeshMergeUtilities\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\HierarchicalLODUtilities"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Developer\HierarchicalLODUtilities\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\MeshReductionInterface"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Developer\MeshReductionInterface\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\AssetTools"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Developer\AssetTools\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\KismetCompiler"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\KismetCompiler\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\GameplayTasks"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\GameplayTasks\Classes"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\GameplayTasks\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\AIModule"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\AIModule\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\AIModule\Classes"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\Kismet"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\Kismet\Classes"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Editor\Kismet\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\ClothingSystemRuntimeInterface"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\ClothingSystemRuntimeInterface\Public"
INCLUDEPATH += "..\Build\Win64\UE4Editor\Inc\TheReclaimer"
INCLUDEPATH += "..\..\Source"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\AugmentedReality"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\AugmentedReality\Public"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Intermediate\Build\Win64\UE4Editor\Inc\MRMesh"
INCLUDEPATH += "$$UNREAL_PATH\UE_4.26\Engine\Source\Runtime\MRMesh\Public"
INCLUDEPATH += "$$VISUAL_PATH\2019\Community\VC\Tools\MSVC\14.28.29910\INCLUDE"
INCLUDEPATH += "C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um"
INCLUDEPATH += "C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt"
INCLUDEPATH += "C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared"
INCLUDEPATH += "C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um"
INCLUDEPATH += "C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt"

Also when I use qt-creator default auto-detected compiler and debugger, there’re some weird errors that the editor raised. So I tried set up the custom build kits from here
(The guide also includes using the tools to auto generate qt-creator project, if you want, you could also follow it).