Git Product home page Git Product logo

unreal-qt-project-generator's Introduction

Unreal Qt project generator (uProGen)

Overview

This small console utility generates QtCreator (qmake) projects for Unreal Engine 4 game development. It should work with any version of Unreal Engine 4.

The tool can generate .pro files with:

  • Configuration for Unreal Engine development (C++11 support, no Qt)
  • All your current source and header files included
  • All Unreal Engine defines and includes added
  • 5 different build and launch targets (the same which are included in the Visual Studio project: Debug game, Development Editor, Shipping, etc...)
  • Additional Cooking target (allows to cook content for standalone builds directly from within QtCreator)

Usage information

Before you can use the tool you should configure your QtCreator installation for Unreal Engine development. Just follow the tutorial in my post: https://forums.unrealengine.com/development-discussion/c-gameplay-programming/30348-tool-tut-win-unreal-qt-creator-project-generator-v0-3.

Installation:

  1. Download the latest version from https://github.com/nibau/Unreal-Qt-project-generator/releases/latest
  2. Extract the contents of the zip file to your preferred location
  3. First make sure that .pro files are associated with QtCreator, then execute uProGen for the initial configuration
  4. (Optional) Add the uProGen folder to your PATH variable, so you can launch uProGen from any location

Usage:

  1. Open a cmd window and navigate to your project folder (where .uproject file is located)
  2. Run uProGen (the resulting .pro file is stored in the Intermediate\ProjectFiles subdirectory)

Additional information

Unreal Engine projects can only be debugged with CDB on Windows (GDB not supported).

Since QtCreator 4.7, Clang code model is enabled by default. If you experience slow or unreliable auto-completion with UE projects, I recommend switching to the built-in code model by disabling "ClangCodeModel" under Help -> About Plugins -> C++.

Important: I have tested the tool on my computers with Windows 8.1 64bit, Qt 5.4/5.5/5.7, QtCreator 3.3.0/3.5.0/4.1.0 and Unreal Engine 4.4/4.5/4.8/4.9/4.13.

How to build

Just open the .sln file with Visual Studio 2013/2015 and hit build (.NET Framework 4.0 required, no other dependencies).
The qtBuildPreset.xml file needs to be in the same folder as the executable when you want to run the tool.

unreal-qt-project-generator's People

Contributors

nibau avatar ypsylon 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  avatar  avatar

Watchers

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

unreal-qt-project-generator's Issues

Mention to disable QtCreator 4.7 new clang based code model

Hi,

The new replacement for the QtCreator code model/autocompletion is with the size of the Unreal Engine way to slow. Luckily the old code model is still available simply by disabling the clang code model via:

QtCreator -> Help -> About Plugins -> c++ -> ClangCodeModel *//Disable the plugin and restart QtCreator

I think we should mention this somewhere in the readme :)

This is similar to this project/issue xBazilio/UE4_Win_QtCreatorSourceCodeAccess#6

Unknown debugger type "No engine"

I successfully created a Qt project, I can compile and run it in release mode, but in debug mode I get:
"Unknown debugger type "No engine". Unable to create a debugger engine of the type "No engine" "

unknowndebugger

Anyway: Thanks a lot for this amazing tool !!!

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.