fire-archive / qtcreatorsourcecodeaccess Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
We are now in 4.9 release version and this error continues here: https://answers.unrealengine.com/questions/182813/no-compiler-was-found-1.html
I keep getting an error in the lower left part of the screen:
Could not edit the code editing IDE. /home/me/Programs/Unreal4/Projects/Test/ could not be found.
Test is the name of my Project.
I am using Qt Creator 3.0.1 (from apt-get install), the "release" branch for UE4, and the "4.6" branch for this repo. I changed the Engine/Config/Linux/LinuxEngine.ini file, and ran make UE4Editor as stated here:
https://wiki.unrealengine.com/Linux_Known_Issues#Running_2
UE Version : 4.21.1
The module failed to build out of the box because of not finding said header until i changed the include under
QtCreatorSourceCodeAccess/Source/QtCreatorSourceCodeAccess/Private/QtCreatorSourceCodeAccessPrivatePCH.h
to
Modules/ModuleManager.h
Just a heads up.
QtCreatorSourceCodeAccessor.cpp(51,36) : error: no member named 'GetSolutionPath' in 'IDesktopPlatform'
if(FDesktopPlatformModule::Get()->GetSolutionPath(FullPath)){
UE 4.4
Got error while compiling new version of Unreal Engine under Linux. The error is:
In file included from /home/shiko/Soft/UnrealEngine-promoted/Engine/Plugins/Developer/QtCreatorSourceCodeAccess/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UE4Editor/Development/QtCreatorSourceCodeAccess/Module.QtCreatorSourceCodeAccess.cpp:2:
In file included from /home/shiko/Soft/UnrealEngine-promoted/Engine/Plugins/Developer/QtCreatorSourceCodeAccess/Source/QtCreatorSourceCodeAccess/Private/QtCreatorSourceCodeAccessModule.cpp:25:
/home/shiko/Soft/UnrealEngine-promoted/Engine/Plugins/Developer/QtCreatorSourceCodeAccess/Source/QtCreatorSourceCodeAccess/Private/QtCreatorSourceCodeAccessModule.h:36:31: error: field type 'FQtCreatorSourceCodeAccessor' is an abstract class
Workaround: add new function member to FQtCreatorSourceCodeAccessor class:
virtual void RefreshAvailability() override; //this into QtCreatorSourceCodeAccessor.h file
void FQtCreatorSourceCodeAccessor::RefreshAvailability(){} /*this line into QtCreatorSourceCodeAccessor.cpp file */
I'm not sure if the function should be empty but at least this allows the UnrealEditor to compile.
@cybik @salamanderrake, I'm trying to make sure this code is under the mit license.
Can you reaffirm that what both of you wrote as assigned to me under mit license?
"Compile the plugin."
I'm new, how to compile a Unreal Engine Plugin under Linux?
After I cloned I modified the configuration and ran the Editor, it exited at startup with the following message:
[2015.10.09-05.11.52:780][ 0]LogModuleManager:Warning: ModuleManager: Unable to load module 'QtCreatorSourceCodeAccess' because the file '/home/laith/Projects/UnrealEngine-release/Engine/Binaries/Linux/' was not found.
Hi,
When trying to compile this module with UE 4.18, I get the following error:
$ make VERBOSE=1 UE4Editor
bash "/home/akos/src/erzsebet/src/UnrealEngine/Engine/Build/BatchFiles/Linux/Build.sh" UE4Editor Linux Development
Building UE4Editor...
Using 'git status' to determine working set for adaptive non-unity build.
Performing 4 actions (8 in parallel)
[2/4] Compile Module.QtCreatorSourceCodeAccess.cpp
[1/4] Compile Module.SensibleEditorSourceCodeAccess.cpp
In file included from In file included from /home/akos/src/erzsebet/src/UnrealEngine/Engine/Plugins/Developer/SensibleEditorSourceCodeAccess/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/SensibleEditorSourceCodeAccess/Module.SensibleEditorSourceCodeAccess.cpp/home/akos/src/erzsebet/src/UnrealEngine/Engine/Plugins/Developer/QtCreatorSourceCodeAccess/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/QtCreatorSourceCodeAccess/Module.QtCreatorSourceCodeAccess.cpp::22:
:
In file included from In file included from /home/akos/src/erzsebet/src/UnrealEngine/Engine/Plugins/Developer/SensibleEditorSourceCodeAccess/Source/SensibleEditorSourceCodeAccess/Private/SensibleEditorSourceCodeAccessModule.cpp/home/akos/src/erzsebet/src/UnrealEngine/Engine/Plugins/Developer/QtCreatorSourceCodeAccess/Source/QtCreatorSourceCodeAccess/Private/QtCreatorSourceCodeAccessModule.cpp::2223:
:
/home/akos/src/erzsebet/src/UnrealEngine/Engine/Plugins/Developer/QtCreatorSourceCodeAccess/Source/QtCreatorSourceCodeAccess/Private/QtCreatorSourceCodeAccessModule.h/home/akos/src/erzsebet/src/UnrealEngine/Engine/Plugins/Developer/SensibleEditorSourceCodeAccess/Source/SensibleEditorSourceCodeAccess/Private/SensibleEditorSourceCodeAccessModule.h::3635::3133:: errorerror: :
fieldfield typetype 'FQtCreatorSourceCodeAccessor' 'FSensibleSourceCodeAccessor'is isan anabstract abstractclass class
FQtCreatorSourceCodeAccessor QtCreatorSourceCodeAccessor;
^
FSensibleSourceCodeAccessor SensibleEditorSourceCodeAccessor;
^
Developer/SourceCodeAccess/Public/ISourceCodeAccessor.h:58Developer/SourceCodeAccess/Public/ISourceCodeAccessor.h::1558:: 15: note: note
: unimplemented
pureunimplemented virtualpure methodvirtual 'OpenSolutionAtPath'method in'OpenSolutionAtPath'
in'FSensibleSourceCodeAccessor'
'FQtCreatorSourceCodeAccessor'
virtual bool OpenSolutionAtPath(const FString& InSolutionPath) = 0;
^
virtual bool OpenSolutionAtPath(const FString& InSolutionPath) = 0;
Developer/SourceCodeAccess/Public/ISourceCodeAccessor.h ^:
64:15: Developer/SourceCodeAccess/Public/ISourceCodeAccessor.hnote:: 64:
15 :unimplemented pure notevirtual: method
'DoesSolutionExist'unimplemented inpure
virtual'FQtCreatorSourceCodeAccessor' method
'DoesSolutionExist' in
'FSensibleSourceCodeAccessor' virtual bool DoesSolutionExist() const = 0;
^
virtual bool DoesSolutionExist() const = 0;
^
In file included from /home/akos/src/erzsebet/src/UnrealEngine/Engine/Plugins/Developer/QtCreatorSourceCodeAccess/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/QtCreatorSourceCodeAccess/Module.QtCreatorSourceCodeAccess.cpp:2:
In file included from /home/akos/src/erzsebet/src/UnrealEngine/Engine/Plugins/Developer/QtCreatorSourceCodeAccess/Source/QtCreatorSourceCodeAccess/Private/QtCreatorSourceCodeAccessModule.cpp:24:
In file included from /home/akos/src/erzsebet/src/UnrealEngine/Engine/Plugins/Developer/QtCreatorSourceCodeAccess/Source/QtCreatorSourceCodeAccess/Private/QtCreatorSourceCodeAccessPrivatePCH.h:25:
Runtime/Core/Public/Core.h:6:1: warning: Monolithic headers should not be used
by this module. Please change it to explicitly include the headers it
needs. [-W#pragma-messages]
MONOLITHIC_HEADER_BOILERPLATE()
^
Runtime/Core/Public/Misc/MonolithicHeaderBoilerplate.h:6:42: note: expanded from
macro 'MONOLITHIC_HEADER_BOILERPLATE'
#define MONOLITHIC_HEADER_BOILERPLATE() COMPILE_WARNING("Monolit...
^
/home/akos/src/erzsebet/src/UnrealEngine/Engine/Source/Runtime/Core/Public/HAL/Platform.h:578:29: note:
expanded from macro 'COMPILE_WARNING'
#define COMPILE_WARNING(x) GCC_DIAGNOSTIC_HELPER(GCC warning x)
^
/home/akos/src/erzsebet/src/UnrealEngine/Engine/Source/Runtime/Core/Public/HAL/Platform.h:577:35: note:
expanded from macro 'GCC_DIAGNOSTIC_HELPER'
#define GCC_DIAGNOSTIC_HELPER(x) _Pragma(#x)
^
<scratch space>:3:6: note: expanded from here
GCC warning "Monolithic headers should not be used by this module. Plea...
^
In file included from /home/akos/src/erzsebet/src/UnrealEngine/Engine/Plugins/Developer/SensibleEditorSourceCodeAccess/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/SensibleEditorSourceCodeAccess/Module.SensibleEditorSourceCodeAccess.cpp:2:
In file included from /home/akos/src/erzsebet/src/UnrealEngine/Engine/Plugins/Developer/SensibleEditorSourceCodeAccess/Source/SensibleEditorSourceCodeAccess/Private/SensibleEditorSourceCodeAccessModule.cpp:23:
In file included from /home/akos/src/erzsebet/src/UnrealEngine/Engine/Plugins/Developer/SensibleEditorSourceCodeAccess/Source/SensibleEditorSourceCodeAccess/Private/SensibleEditorSourceCodeAccessPrivatePCH.h:24:
Runtime/Core/Public/Core.h:6:1: warning: Monolithic headers should not be used
by this module. Please change it to explicitly include the headers it
needs. [-W#pragma-messages]
MONOLITHIC_HEADER_BOILERPLATE()
^
Runtime/Core/Public/Misc/MonolithicHeaderBoilerplate.h:6:42: note: expanded from
macro 'MONOLITHIC_HEADER_BOILERPLATE'
#define MONOLITHIC_HEADER_BOILERPLATE() COMPILE_WARNING("Monolit...
^
/home/akos/src/erzsebet/src/UnrealEngine/Engine/Source/Runtime/Core/Public/HAL/Platform.h:578:29: note:
expanded from macro 'COMPILE_WARNING'
#define COMPILE_WARNING(x) GCC_DIAGNOSTIC_HELPER(GCC warning x)
^
/home/akos/src/erzsebet/src/UnrealEngine/Engine/Source/Runtime/Core/Public/HAL/Platform.h:577:35: note:
expanded from macro 'GCC_DIAGNOSTIC_HELPER'
#define GCC_DIAGNOSTIC_HELPER(x) _Pragma(#x)
^
<scratch space>:3:6: note: expanded from here
GCC warning "Monolithic headers should not be used by this module. Plea...
^
In file included from In file included from /home/akos/src/erzsebet/src/UnrealEngine/Engine/Plugins/Developer/QtCreatorSourceCodeAccess/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/QtCreatorSourceCodeAccess/Module.QtCreatorSourceCodeAccess.cpp/home/akos/src/erzsebet/src/UnrealEngine/Engine/Plugins/Developer/SensibleEditorSourceCodeAccess/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/SensibleEditorSourceCodeAccess/Module.SensibleEditorSourceCodeAccess.cpp::22:
:
/home/akos/src/erzsebet/src/UnrealEngine/Engine/Plugins/Developer/QtCreatorSourceCodeAccess/Source/QtCreatorSourceCodeAccess/Private/QtCreatorSourceCodeAccessModule.cpp/home/akos/src/erzsebet/src/UnrealEngine/Engine/Plugins/Developer/SensibleEditorSourceCodeAccess/Source/SensibleEditorSourceCodeAccess/Private/SensibleEditorSourceCodeAccessModule.cpp::2726::11:: errorerror: :
cannotcannot initializeinitialize returnreturn objectobject ofof typetype 'IModuleInterface *''IModuleInterface *' withwith anan
rvaluervalue ofof typetype 'FSensibleSourceCodeAccessModule *''FQtCreatorSourceCodeAccessModule *'
IMPLEMENT_MODULE( FSensibleSourceCodeAccessModule, SensibleEditorSourceCodeAccess );IMPLEMENT_MODULE( FQtCreatorSourceCodeAccessModule, QtCreatorSourceCodeAccess );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Runtime/Core/Public/Modules/ModuleManager.hRuntime/Core/Public/Modules/ModuleManager.h::733733::1111:: notenote: : expandedexpanded fromfrom macromacro
'IMPLEMENT_MODULE''IMPLEMENT_MODULE'
return new ModuleImplClass(); \ return new ModuleImplClass(); \
^~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
1 warning and 2 errors generated.
1 warning and 2 errors generated.
ERROR: UBT ERROR: Failed to produce item: /home/akos/src/erzsebet/src/UnrealEngine/Engine/Plugins/Developer/QtCreatorSourceCodeAccess/Binaries/Linux/libUE4Editor-QtCreatorSourceCodeAccess.so
Total build time: 197.70 seconds (Local executor: 0.00 seconds)
Makefile:178: recipe for target 'UE4Editor' failed
make: *** [UE4Editor] Error 5
this is on ubuntu 17.10.
$ qtchooser -list-versions
4
5
default
qt4-x86_64-linux-gnu
qt4
qt5-x86_64-linux-gnu
qt5
I wonder what I am doing wrong
I have many hours trying build an Unreal Project with QtCreator and i can't do it.
I compile entire editor with this plugin included, i see the video and do all steps very well and i have nothing!
There are the General Messages:
Could not find qmake configuration file default.
Error while parsing file /media/tulipan/Datos/Proyectos/Personal/Unreal Projects/Hero/Hero.pro. Giving up.
Warnings while parsing QML type information of /home/tulipan/Qt/5.5/gcc_64/qml:
<dump of /home/tulipan/Qt/5.5/gcc_64/qml>:1:24: Reading only version 1.1 parts.
<dump of /home/tulipan/Qt/5.5/gcc_64/qml>:10:5: Expected only Component and ModuleApi object definitions.
And this is the Compile Output:
22:06:18: Running steps for project Hero...
22:06:18: Starting: "/home/tulipan/Qt/5.5/gcc_64/bin/qmake" '/media/tulipan/Datos/Proyectos/Personal/Unreal Projects/Hero/Hero.pro' -r -spec linux-clang CONFIG+=debug
22:47:16: The process "/home/tulipan/Qt/5.5/gcc_64/bin/qmake" crashed.
22:47:16: Canceled build/deployment.
22:47:16: Elapsed time: 40:58.
I had to kill the process, can you see? 40 minutes!!!
I'm not understand what happen, i can open the Editor manually from terminal, but not from QtCreator!
As you can see i have Clang 3.6 and QtCreator 3.5 with Qt 5.5.
Thanks for your help.
Unreal puts a space in the default path for Projects. This breaks the accessor.
Error Message:
LogModuleManager:Warning: ModuleManager: Unable to load module 'QtCreatorSourceCodeAccess' because the file '/usr/local/share/UE/UnrealEngine/Engine/Binaries/Linux/' was not found.
In the Readme it says:
"Compile the plugin. May require a full recompile of the editor. (Restart editor)"
How?
Discover what is needed for 4.11
The following error is generated when I try to compile it for my project. Perhaps the API has changed?
In file included from /home/svergenz/Projects/UnrealEngine/Engine/Plugins/Developer/QtCreatorSourceCodeAccess/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UE4Editor/Development/QtCreatorSourceCodeAccess/Module.QtCreatorSourceCodeAccess.cpp:2:
In file included from /home/svergenz/Projects/UnrealEngine/Engine/Plugins/Developer/QtCreatorSourceCodeAccess/Source/QtCreatorSourceCodeAccess/Private/QtCreatorSourceCodeAccessModule.cpp:25:
/home/svergenz/Projects/UnrealEngine/Engine/Plugins/Developer/QtCreatorSourceCodeAccess/Source/QtCreatorSourceCodeAccess/Private/QtCreatorSourceCodeAccessModule.h:36:31: error: field type 'FQtCreatorSourceCodeAccessor' is an abstract class
FQtCreatorSourceCodeAccessor QtCreatorSourceCodeAccessor;
^
Developer/SourceCodeAccess/Public/ISourceCodeAccessor.h:18:15: note: unimplemented pure virtual method 'RefreshAvailability' in 'FQtCreatorSourceCodeAccessor'
virtual void RefreshAvailability() = 0;
^
In file included from /home/svergenz/Projects/UnrealEngine/Engine/Plugins/Developer/QtCreatorSourceCodeAccess/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UE4Editor/Development/QtCreatorSourceCodeAccess/Module.QtCreatorSourceCodeAccess.cpp:2:
/home/svergenz/Projects/UnrealEngine/Engine/Plugins/Developer/QtCreatorSourceCodeAccess/Source/QtCreatorSourceCodeAccess/Private/QtCreatorSourceCodeAccessModule.cpp:27:1: error: cannot initialize return object of type 'IModuleInterface *' with an rvalue of type 'FQtCreatorSourceCodeAccessModule *'
IMPLEMENT_MODULE( FQtCreatorSourceCodeAccessModule, QtCreatorSourceCodeAccess );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Runtime/Core/Public/Modules/ModuleManager.h:683:11: note: expanded from macro 'IMPLEMENT_MODULE'
return new ModuleImplClass(); \
^~~~~~~~~~~~~~~~~~~~~
2 errors generated.
Can build this after making changes to "ModuleManager.h" as in #28.
Application starts to loads and gives a warning about running a plugin for 4.18.
Then "Plugin failed to load because module 'QtCreatorSourceCodeAccess' could not be found..."
on Ubuntu 16.04LTS using qtcreator 4.8.0
Hi!
On my system there was no clang file, so I had to make the link clang reffering to clang-3.5.
Is it an idea to change the code, using regex to just identify "clang"?
Best regards
Hi guys,
i was able to compile,install and enable your plugin. But the qt-creator does not start when hitting:
'Open Qt Creator'
I'm using qt 5.17.2 meanwhile its LTS version
and Unreal Engine 4.24.2-0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.