Linux Ubuntu 14.04 Qt Creator Hanging when Debugging
First of all I am new here so I may not inform my question in the most proper way, please excuse any faults I may make. If there is any additional information that must be provided, please let me know and I will provide it.
Unreal Engine: 4.11
OS: Ubuntu 14.04
Qt Creator: 3.6.0
Unreal Engine has been successfully built on Linux, following the wiki guide (https://wiki.unrealengine.com/Building_On_Linux)
When executing the debugging step in Qt Creator, it sometimes executes sometimes correctly and is able to open the unreal project but sometimes the debugging hangs and the Qt Creator uses up around 7.2 GB of Ram. I have left the IDE in this state for over 30 min, and nothing changes and no output information appears in the IDE, so I do not understand what it is hanging and why it consumes so much ram.
The strangest part is that this is not constant, sometimes the problem occurs and stop at this point and sometimes it is able to execute the debugging process entirely and open the Unreal project in the Unreal Editor normally. It is also inconsistent in the fact that it may execute correctly with a project once or twice but then when executed again, with the same project, this problem may occur.
When Qt Creator hangs in this state I must kill the Qt Creator process and try again and hope that next time it will build successfully.
Thank you very much for your inputs.
I have figured out the problem and possible solutions (though they are not the ideal solutions).
The problem occurs when the Clean Project Step is executed in Qt Creator. Doing this will delete around 4600 files from the Unreal Engine directory, specifically around 260 files from the Binaries/Linux folder, including the UE4Editor file.
I believe what happens is that when executing a qmake or build step after performing the clean, the Qt Creator would not be able to access certain files and, therefore, go into a loop state.
This is not the ideal solution. It would be better to be able to use the Clean Step in a more clever way than I have. If anyone has any suggestions, I would be glad to hear them.
The argument I used in the Clean Step was (Make arguments: Project_NameEditor ARGS="-clean")
p.s. How do I mark this question as resolved?
Follow this question
Once you sign in you will be able to subscribe for any updates here