title: How to build&run Unreal C++ project on Linux?
body: <p>I'm trying to build my first Unreal C++ project on Linux.</p>
  <p>I built the engine from source in accordance with &quot;<a href="https://docs.unrealengine.com/en-US/SharingAndReleasing/Linux/BeginnerLinuxDeveloper/SettingUpQtCreator/index.html" rel="nofollow noreferrer">Linux Quick Start</a>&quot; guide. Then I installed Qt Creator and followed the &quot;<a href="https://docs.unrealengine.com/en-US/SharingAndReleasing/Linux/BeginnerLinuxDeveloper/SettingUpQtCreator/index.html" rel="nofollow noreferrer">How to Set up Qt Creator for UE4</a>&quot; guide.</p>
  <p>I successfully set up and ran UE4Editor, and created a new C++ project. Unfortunately when I try running the project it complains:</p>
  <p><a href="https://i.stack.imgur.com/FoIWu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FoIWu.png" alt="enter image description here" /></a></p>
  <p>And when I press &quot;yes&quot; this error message is shown:</p>
  <p><a href="https://i.stack.imgur.com/HqKLj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HqKLj.png" alt="enter image description here" /></a></p>
  <p>Here's the error message from the logs:</p>
  <pre><code>ERROR: Building would modify the following engine files:
         
         /media/redacted-disk/UnrealEngine/Engine/Binaries/Linux/Android/UE4Editor.modules
         /media/redacted-disk/UnrealEngine/Engine/Binaries/Linux/Linux/UE4Editor.modules
         /media/redacted-disk/UnrealEngine/Engine/Binaries/Linux/UE4Editor.modules
         /media/redacted-disk/UnrealEngine/Engine/Plugins/2D/Paper2D/Binaries/Linux/UE4Editor.modules
         /media/redacted-disk/UnrealEngine/Engine/Plugins/AI/AISupport/Binaries/Linux/UE4Editor.modules
        ... many more
  </code></pre>
  <p>I tried rebuilding UE4 from IDE, then building again - but the error still persists. Same thing happens if I try starting UE4Editor from the engine files and opening the project from there.</p>
  <p>What could cause this error? Why does it even try to rebuild the engine when I'm tring run a project?</p>