Code Monkey home page Code Monkey logo

qtcreatorsourcecodeaccess's Introduction

Qt Creator Source Code Accessor

QtCreatorSourceCodeAccess

This project is under the MIT license. By submitting a patch to the project you agree to assign it the same MIT license as the project. See LICENSE.txt. Instructions

Clone this to your UnrealEngine directory at Engine/Plugins/Developer.

Compile the plugin. May require a full recompile of the editor. (Restart editor)

Enable this as your code view editor.

Add to Engine/Config/Linux/LinuxEngine.ini

[/Script/SourceCodeAccess.SourceCodeAccessSettings] PreferredAccessor=QtCreatorSourceCodeAccessor

qtcreatorsourcecodeaccess's People

Contributors

akosmaroy avatar cybik avatar fire avatar mysterymanspb avatar null3rr0r avatar salahaddin avatar shatur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

qtcreatorsourcecodeaccess's Issues

QtCreatorSourceCodeAccessor

QtCreatorSourceCodeAccessor.cpp(51,36) : error: no member named 'GetSolutionPath' in 'IDesktopPlatform'
if(FDesktopPlatformModule::Get()->GetSolutionPath(FullPath)){
UE 4.4

compile error with EU 4.18

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

Issue with 4.12.5

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?

QtCreator does not open

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

Fails to load on 4.20.3

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

Not identifying clang

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

Doesn't work with Unreal Engine 4.1

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.

Plugin compile error for UE 4.10.1

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.

Editor Does not open

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.

UE4 Editor Can't Find Qt Creator

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

Qt5.5.0 doesn't run debug my project

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!

See:
hero pro - hero - qt creator_022
hero pro - hero - qt creator_023
hero pro - hero - qt creator_024
hero pro - hero - qt creator_025
hero - qt creator_021

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.

Header "ModuleManager.h" not found

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.

Compile the plugin

"Compile the plugin."

I'm new, how to compile a Unreal Engine Plugin under Linux?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.