Download

Running UE4 4.23 example C++ project from Qt Creator fails

I built UE4 from branch 4.23 on Ubuntu 16.04 and followed the directions for Qt Creator integration from here and step 6.9 (running CPP project) fails – Qt Creator reports in the compile output that build succeeded but the application output shows the following error:



14:38:02: Starting /home/jeffreycreswell/apps/UnrealEngine/Engine/Binaries/Linux/UE4Editor "/home/jeffreycreswell/Documents/Unreal Projects/DrivingCPP_Prj/DrivingCPP_Prj.uproject"...

14:38:02: Failed to start program. Path or permissions wrong?

14:38:02: /home/jeffreycreswell/apps/UnrealEngine/Engine/Binaries/Linux/UE4Editor exited with code -1

14:38:02: The process failed to start. Either the invoked program "/home/jeffreycreswell/apps/UnrealEngine/Engine/Binaries/Linux/UE4Editor" is missing, or you may have insufficient permissions to invoke the program.


The path is fine and the permissions are


 
 -rwxrwxr-x 1 jeffreycreswell jeffreycreswell    405480 Sep  6 19:11 UE4Editor 

which should be fine; I’m able to launch the editor without issue from terminal or a desktop entry.

What could be going wrong?

figured it out: the documentation https://docs.unrealengine.com/en-US/Platforms/Linux/BeginnerLinuxDeveloper/SettingUpQtCreator/index.html screenshot under Step #5 of section “Creating a C++ Project” shows the wrong working directory. Instead of %{buildDir} it should apparently be the <ue4 root>/Engine/Binaries/Linux directory that was specified as working dir for building/running the engine itself.

Thanks, had the same problem