Coder Social home page Coder Social logo

yamahigashi / fabricui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aheadio/fabricui

1.0 2.0 0.0 2.92 MB

A Qt library for all of the Fabric user interface components

License: BSD 3-Clause "New" or "Revised" License

C++ 87.94% C 0.75% Python 11.24% Shell 0.01% CSS 0.06%

fabricui's Introduction

FabricUI Library Source

Copyright (c) 2010-2016, Fabric Software Inc. All rights reserved.

Introduction

Fabric Software makes available the source code for the FabricUI library, used in various parts of Fabric Engine. The primary purpose of making the source code available is to allow users to rebuild the library in a different environment than the one the Fabric Engine binary distribution assumes. For instance, FabricUI can be rebuilt against a custom version of Qt.

Licensing

The FabricUI library source is made available under the terms of a new (3-clause) BSD open-source license; see the file LICENSE.txt for details.

Prerequsites

  • You must have the C++ compiler toolchain installed for your platform

    • Windows: currently the scripts only build against Visual Studio 2013 (at Fabric we use Visual Studio 2013 Express for Windows Desktop). However, it should be possible to use a different version of Visual Studio by changing the value of MSVC_VERSION in SConstruct

    • CentOS 6: current Linux looks for a build of gcc located under /opt/centos5/usr/bin/. However, it should be possible to remove the lines in SConscript that reference these paths to make it instead use the default system compiler (or change them to a different compiler)

    • Mac OS X: the compiler that comes with Xcode since at least 2013, along with the command lines tools package, should work fine

  • You must have Qt installed. If you specify QT_DIR in the environment then it will be used to look for the Qt installation, otherwise the build scripts will attept to find it as follows:

    • Windows: will look for the default Qt 4.8 installation, available from http://www.qt.io/download/

    • CentOS 6: will look for the Qt 4.6 build available from the built-in CentOS repository and that gets installed through apt

    • Mac OS X: will look for Qt 4.8 from homebrew (http://brew.sh/)

  • You must have Python installed

    • Windows: Download the latest Python 2.7.x from https://www.python.org/downloads/

    • CentOS 6: install Python 2.6 from the built-in CentOS repository

    • Mac OS X: already comes with Python installed

  • You must have SCons installed. On all platforms, use the either easy_install or or pip to install the SCons package for Python.

Performing the Build

You need to have the Fabric environment set up. Refer to http://docs.fabric-engine.com/FabricEngine/latest/HTML/GettingStartedGuide/baseinstallation.html for instructions on installing Fabric and setting up the environment.

The build happens directly into $FABRIC_DIR, ie. the top level of your unpacked distribution. If you don't want to replace the existing files in your Fabric distribution, make a copy of it and use the copy for $FABRIC_DIR.

To run the build, simple change directory to the top level of your FabricUI checkout and run "scons". It should build all of the UI source files and produce the new library in place of the old one.

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.