mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-02-08 05:50:07 -05:00
BuildGuideQtCreator.md edited online with Bitbucket
This commit is contained in:
parent
7b48f768cd
commit
0f5755eaf9
@ -1,4 +1,4 @@
|
|||||||
#Build Guide For Visual Studio 2013 or Qt Creator
|
#Build Guide For Visual Studio 2015 or Qt Creator
|
||||||
##Tools
|
##Tools
|
||||||
|
|
||||||
###git
|
###git
|
||||||
@ -7,15 +7,15 @@ Install [git](https://git-scm.com/downloads).
|
|||||||
|
|
||||||
###Visual Studio
|
###Visual Studio
|
||||||
|
|
||||||
Install [Microsoft Visual Studio 2013 or later](https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx), then install the latest updates.
|
Install [Microsoft Visual Studio 2015 or later](https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx), then install the latest updates.
|
||||||
|
|
||||||
###Qt
|
###Qt
|
||||||
|
|
||||||
Install Qt for Windows 64-bit (VS 2013) 5.5.x (http://www.qt.io/download/).
|
Install Qt for Windows 64-bit (VS 2015) 5.8 (http://www.qt.io/download/).
|
||||||
|
|
||||||
Add system environment variable named `QTPATH` and point it to the location of the Qt folder. On a default install, this will be something like:
|
Add system environment variable named `QTPATH` and point it to the location of the Qt folder. On a default install, this will be something like:
|
||||||
|
|
||||||
`C:\Qt\Qt5.5.1\5.5\msvc2013_64`
|
`C:\Qt\5.8\msvc2015_64`
|
||||||
|
|
||||||
###Wix
|
###Wix
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ This will download and build `glm libpng libxml zlib`. You will have a folder st
|
|||||||
|
|
||||||
###Begin build with Qt Creator
|
###Begin build with Qt Creator
|
||||||
|
|
||||||
Open the Qt Project `fractorium/main.pro` using Qt Creator with the default config of *Desktop Qt [version] MSVC2013 64bit*.
|
Open the Qt Project `fractorium/main.pro` using Qt Creator with the default config of *Desktop Qt [version] MSVC2015 64bit*.
|
||||||
Make sure *Shadow build* in *Edit build configuration* for both *Debug* and *Release* is unchecked.
|
Make sure *Shadow build* in *Edit build configuration* for both *Debug* and *Release* is unchecked.
|
||||||
|
|
||||||
Switch to the *Release* configuration.
|
Switch to the *Release* configuration.
|
||||||
@ -106,15 +106,15 @@ Install the [Visual Studio Qt Addon](http://www.qt.io/download/).
|
|||||||
|
|
||||||
Run Visual Studio and verify there is a menu item named *Qt5*. Click on it and click *Qt Options*.
|
Run Visual Studio and verify there is a menu item named *Qt5*. Click on it and click *Qt Options*.
|
||||||
|
|
||||||
Add a new Qt version to the list with the exact name of "Qt 5.5", and set its path to the same as `$QTPATH`, which will be something like:
|
Add a new Qt version to the list with the exact name of "Qt5", and set its path to the same as `$QTPATH`, which will be something like:
|
||||||
|
|
||||||
`C:\Qt\Qt5.5.1\5.5\msvc2013_64`
|
`C:\Qt\5.8\msvc2015_64`
|
||||||
|
|
||||||
The name "Qt 5.5" must match exactly and this step must be completed before the Fractorium solution is opened. If not, the Qt add-in will completely ruin all solution and project files that use Qt.
|
The name "Qt5" must match exactly and this step must be completed before the Fractorium solution is opened. If not, the Qt add-in will completely ruin all solution and project files that use Qt.
|
||||||
|
|
||||||
Set the default version to the newly created Qt version and click *Ok*.
|
Set the default version to the newly created Qt version and click *Ok*.
|
||||||
|
|
||||||
Open the file Fractorium.sln under Builds/MSVC/2013
|
Open the file Fractorium.sln under Builds/MSVC/2015
|
||||||
|
|
||||||
Set the configuration to release, and build all.
|
Set the configuration to release, and build all.
|
||||||
|
|
||||||
@ -133,6 +133,9 @@ and Visual Studio will place its outputs in:
|
|||||||
The output contents will be:
|
The output contents will be:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
boxtail_pack_02.gradient
|
||||||
|
boxtail_pack_03_triangle.gradient
|
||||||
|
boxtail_pack_04_mineshack.gradient
|
||||||
dark.qss
|
dark.qss
|
||||||
ember.dll
|
ember.dll
|
||||||
ember.exp
|
ember.exp
|
||||||
@ -143,50 +146,77 @@ embercl.exp
|
|||||||
embercl.lib
|
embercl.lib
|
||||||
embergenome.exe
|
embergenome.exe
|
||||||
emberrender.exe
|
emberrender.exe
|
||||||
|
fardareismai_pack_01_variety_number_128.gradient
|
||||||
|
fardareismai_pack_02_b_sides.gradient
|
||||||
|
fardareismai_pack_03_old_and_new.gradient
|
||||||
|
fardareismai_pack_04_hoard.gradient
|
||||||
flam3-palettes.xml
|
flam3-palettes.xml
|
||||||
|
fractaldesire_pack_01.gradient
|
||||||
fractorium.exe
|
fractorium.exe
|
||||||
libxml2.dll
|
libxml2.dll
|
||||||
Qt5Core.dll
|
Qt5Core.dll
|
||||||
Qt5Gui.dll
|
Qt5Gui.dll
|
||||||
Qt5Widgets.dll
|
Qt5Widgets.dll
|
||||||
|
rce_ordinary_pack_01_colornation.gradient
|
||||||
|
tatasz_pack_01.gradient
|
||||||
|
tatasz_pack_02_colder.gradient
|
||||||
|
tatasz_pack_02_dark.gradient
|
||||||
|
tatasz_pack_02_warmer.gradient
|
||||||
|
tatasz_pack_03.gradient
|
||||||
tbb.dll
|
tbb.dll
|
||||||
platforms\qwindows.dll
|
platforms\qwindows.dll
|
||||||
```
|
```
|
||||||
|
|
||||||
Double click fractorium.exe to run it, and use the command line to run the others.
|
Double click fractorium.exe to run it, and use the command line to run the others.
|
||||||
|
|
||||||
To run on a computer without Visual Studio 2013, these files also need to be in the folder:
|
To run on a computer without Visual Studio 2015, these files also need to be in the folder:
|
||||||
|
|
||||||
```
|
```
|
||||||
MSVC2013\VC\redist\x64\Microsoft.VC120.CRT\msvcp120.dll
|
MSVC2015\VC\redist\x64\Microsoft.VC140.CRT\msvcp140.dll
|
||||||
MSVC2013\VC\redist\x64\Microsoft.VC120.CRT\msvcr120.dll
|
MSVC2015\VC\redist\x64\Microsoft.VC140.CRT\vcruntime140.dll
|
||||||
MSVC2013\VC\redist\x64\Microsoft.VC120.CRT\vccorlib120.dll
|
MSVC2015\VC\redist\x64\Microsoft.VC140.CRT\vccorlib140.dll
|
||||||
|
MSVC2015\VC\redist\x64\Microsoft.VC140.CRT\concrt140.dll
|
||||||
```
|
```
|
||||||
|
|
||||||
or you can install [Visual C++ Redistributable Packages for Visual Studio 2013 (64 bit)](https://www.microsoft.com/en-us/download/details.aspx?id=40784)
|
or you can install [Visual C++ Redistributable Packages for Visual Studio 2015 (64 bit)](https://www.microsoft.com/en-us/download/details.aspx?id=53840)
|
||||||
|
|
||||||
##Final file structure for distribution
|
##Final file structure for distribution
|
||||||
|
|
||||||
```
|
```
|
||||||
[YOUR FOLDER]
|
[YOUR FOLDER]
|
||||||
│
|
│
|
||||||
|
├─ boxtail_pack_02.gradient
|
||||||
|
├─ boxtail_pack_03_triangle.gradient
|
||||||
|
├─ boxtail_pack_04_mineshack.gradient
|
||||||
├─ dark.qss
|
├─ dark.qss
|
||||||
├─ ember.dll
|
├─ ember.dll
|
||||||
├─ emberanimate.exe
|
├─ emberanimate.exe
|
||||||
├─ embercl.dll
|
├─ embercl.dll
|
||||||
├─ embergenome.exe
|
├─ embergenome.exe
|
||||||
├─ emberrender.exe
|
├─ emberrender.exe
|
||||||
|
├─ fardareismai_pack_01_variety_number_128.gradient
|
||||||
|
├─ fardareismai_pack_02_b_sides.gradient
|
||||||
|
├─ fardareismai_pack_03_old_and_new.gradient
|
||||||
|
├─ fardareismai_pack_04_hoard.gradient
|
||||||
├─ flam3-palettes.xml
|
├─ flam3-palettes.xml
|
||||||
|
├─ fractaldesire_pack_01.gradient
|
||||||
├─ fractorium.exe
|
├─ fractorium.exe
|
||||||
├─ libxml2.dll
|
├─ libxml2.dll
|
||||||
├─ Qt5Core.dll
|
├─ Qt5Core.dll
|
||||||
├─ Qt5Gui.dll
|
├─ Qt5Gui.dll
|
||||||
├─ Qt5Widgets.dll
|
├─ Qt5Widgets.dll
|
||||||
|
├─ rce_ordinary_pack_01_colornation.gradient
|
||||||
|
├─ tatasz_pack_01.gradient
|
||||||
|
├─ tatasz_pack_02_colder.gradient
|
||||||
|
├─ tatasz_pack_02_dark.gradient
|
||||||
|
├─ tatasz_pack_02_warmer.gradient
|
||||||
|
├─ tatasz_pack_03.gradient
|
||||||
├─ tbb.dll
|
├─ tbb.dll
|
||||||
│
|
│
|
||||||
├─ vccorlib120.dll (optional)
|
├─ msvcp140.dll (optional)
|
||||||
├─ msvcp120.dll (optional)
|
├─ vcruntime140.dll (optional)
|
||||||
├─ msvcr120.dll (optional)
|
├─ vccorlib140.dll (optional)
|
||||||
|
├─ concrt140.dll (optional)
|
||||||
│
|
│
|
||||||
└─platforms
|
└─platforms
|
||||||
│
|
│
|
||||||
|
Loading…
Reference in New Issue
Block a user