Unreal Qt Project Generator Save

A small command line tool which generates QtCreator (qmake) projects for Unreal Engine 4 game development.

Project README

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.
Open Source Agenda is not affiliated with "Unreal Qt Project Generator" Project. README Source: nibau/Unreal-Qt-project-generator
Stars
37
Open Issues
0
Last Commit
5 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating