Skip to content

HowTo build QuickBox from sources

Fanda Vacek edited this page Sep 29, 2016 · 1 revision

QuickBox setup for Windows environment step by step

Notice:
1. Even for the 64-bit Win OS use the 32-bit Qt framework a DB. Otherwise there is an incompatibility in DB access.
2. Windows 8 Home edition does not support PostgreSQL installation.

A. Qt Framework

  1. Use the installation package http://www.qt.io/download-open-source/# (qt-opensource-windows-x86-1.6.0-6-online.exe)
  2. QT setup options check only(for 64-bit system) (visible in Qt\MaintenanceTool.exe):
    QT 5.4 - options
    a. MinGW 4.9.1 OpenGL
    b. Windows Runtime 8.1 x64
    c. Msvc2013 64-bit
    QT 5.3
    d. Uncheck all
    Tools
    e. MinGW 4.9.1
    Extras
    f. Uncheck all

B. Database (step 1):

  1. Install PostgeSQL (32-bit) - http://www.enterprisedb.com/products-services-training/pgdownload#windows
    a. Set the password - (postgres)
    b. Port default
    c. Locale = C (support UTF-8)
    d. Stack Builder – skip = Uncheck
  2. Install administration pgAdmin III tool

C. Database (step 2):

  1. Create database quickevent with owner postgres

D. GIT:

  1. GIT installation options
    a. Check - Check Additional Icons
    b. All other – default setting

E. Quickbox project download:

  1. Start GIT GUI
  2. Create new repository – local repository path
  3. Clone repository
    a. Source https://github.com/fvacek/quickbox
    b. Destination ex.: D:\GIT\quickbox

F. After 1. compilation copy plugins, css into compiled directory (examples):

  1. Plugins:
    a. From D:\GIT\quickbox\quickevent\plugins\qml
    b. into _ D:\GIT\build-quickbox-Desktop_Qt_Qt_Version_MinGW_32bit-Release\bin\divers\quickevent\plugins_
  2. Css: a. From D:\GIT\quickbox\quickevent\style
    b. into D:\GIT\build-quickbox-Desktop_Qt_Qt_Version_MinGW_32bit-Release\bin\divers\quickevent\style

G. Add windows system PATH (example):

  1. D:\Qt\5.4\mingw491_32\bin;
  2. D:\Qt\Tools\mingw491_32\bin;
  3. C:\Program Files (x86)\PostgreSQL\9.3\bin

H. Create branch in GIT – SSH key

Description Fanda