Skip to content

QtCreator Setup

seanpaultaylor edited this page Nov 10, 2014 · 24 revisions

Install Linux Dependencies

sudo apt-get install build-essential gcc cmake libglu1-mesa-dev libogg-dev libopenal-dev libgtk2.0-dev curl libpcrecpp0:i386 lib32z1-dev

Install the External Dependencies

Before you get started you will have to download the dependencies separately:

Install QT 5.3.2 (includes QtCreator)

Download and install the latest Qt 5.3.2 that comes with QtCreator:

  • [http://qt-project.org/downloads](Qt 5.3.2 + QtCreator)
  • Install to the default directory of ~/Qt

Open and Configure (gameplay)

  • Open gameplay/gameplay.pro
  • Under "Configure Project" tab select "Desktop Qt 5.3 GCC 64bit" and expand "Details" section.
  • Change the enormous default user based build paths for Debug and Release to:
Debug = "Debug"
Release ="Release"

Open and Configure (sample-browser)

  • Open samples/browser/sample-browser.pro
  • Under "Configure Project" tab select "Desktop Qt 5.3 GCC 64bit" and expand "Details" section.
  • Change the enormous default user based build paths for Debug and Release to:
Debug = "Debug"
Release ="Release"
  • Under Dependencies tab select "gameplay"

Build and Run

  • Build gameplay and sample-browser projects
  • To run the sample-browser, select the sample-browser project
  • Select the "Projects" section on the left to edit the project properties.
  • Chagne the run settings under the Desktop Qt 5.3 BCC 64bit kit by changing to the Run sub-tab.
  • Change the working directory to:
%{buildDir}/..
Clone this wiki locally