I’m having some difficulty getting QtCreator to build my C++ project correctly inside the IDE. I managed to get the UE4 engine compiled and running, as well as getting a new C++ project created. I configured QtCreator as described in the UE4 documentation, and I’m able to successfully run it from the IDE without issue.
My problem is that I don’t seem to be able to change the source for my project from within QtCreator and have it recompile correctly. To test if it was working, I basically opened up one of my source files, typed in some nonsense junk, and told it to build my UE4 project. Every time it builds successfully and completely ignores the changes I’ve made.
On the other hand, if I compile from the editor by hitting the “Compile” button, it encounters c++ compilation errors (which is correct!) and throws out an error message.
I skimmed through the log after running compile and extracted this command that it seemed the editor was using:
/home/zecknaal/UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool.exe Jack Development Linux -project=“/home/zecknaal/Unreal Projects/Jack/Jack.uproject” -editorrecompile -progress -NoHotReloadFromIDE
If I add that as a build step in QtCreator, it does trigger the same compile call to my project on build, so I am able to technically get QtCreator to trigger a real build for my project. However, that leaves me totally unable to use nice features in my IDE to track compilation issues, and I just have to skim the output log to find my problems.
I assume that this is not the correct way to build a project and that I’ve set something up correctly in my build settings. Here’s what I have now:
And more info:
I feel like what I might have managed to do is set up my project to rebuild UE4Editor again and again and that’s why it isn’t able to accurately pick up the changes I’ve made to my project. Does anybody know what I did wrong?