Code Monkey home page Code Monkey logo

qtz's Introduction

Qtz Framework Build Status

Qtz is a Qt-based Application Development Framework. Currently Qtz consists of the following libraries:

  • QtzCore
    • Solar Hijri (Jalali) Date and Time [1]
    • Persian Number Formatter (Numeral to String converter)
    • Single Application Instance Mechanism
    • Settings Backend
  • QtzSecurity
    • Authentication
    • Access Control Lists
    • Simple Encryption / Decryption and Hash algorithms
    • Software License Management
    • Virtual Machine Detection
    • Unique Hardware Identifier
  • QtzData
    • Asynchronous Data Model (Thanks to obeezzy)
    • Database Integration Backend (multiple RDMs)
    • Data Management Utilities (vendor-agnostic backup, restore, encryption tools)
    • Data Analysis Tools
  • QtzWidgets
    • Advanced Editor Widgets (Editable Label, Various Tables, etc.)
    • Hexadecimal Editor (Based on Dax89's work)
    • Data Management GUI
    • Security GUI Backend
    • OpenCV Image Viewer
    • Miscellaneous

Dependencies

This library depends on Qt5, QCA and OpenCV. Following versions of these libraries were used to build Qtz. Any compatible version should also do the work.

Dependency Version
QCA 2.3.4
OpenCV 4.x

You will also need a modern C++ compiler that implements C++17 specification. The library is built and tested on following environments:

Operating System Version / Distro Compiler
Windows 10 MSVC 16 (Visual Studio 2019)

Install Pre-Built Binaries

Debian/Ubuntu packages are available at following repository. You will need repository key to validate you got the package from the person you think you're getting it from. This prevent anyone injecting packages into your updates:

In order to install public key:

wget -qO - https://deb.ametisco.ir/key.gpg | sudo apt-key add -

Fingerprint of the above key must be:

8995 8D90 8EB5 CD04 46D7 D45D 457C EB8B 9CA8 25CC

Add repository:

sudo add-apt-repository "deb https://deb.ametisco.ir/ bionic ametis"

Install software:

sudo apt install \
    libqtzcore-dev libqtzdata-dev libqtzsecurity-dev libqtzwidgets-dev

Compile

To compile Qtz on *nix like environments type:

mkdir build && cd build
cmake ..
cmake --build .

To speed up build process you may want to use make -j<N> where <N> is number of your processors.

Test

Qtz is shipped with a comprehensive automated test suite. In order to run tests, you need to specify input data to test program. After compiling the library, go to build directory and run tst_qtz and pass input parameters in command line as specified below:

--enable-mysql Enables MySQL test suite. Default: set.
--disable-mysql Disables MySQL test suite. Default: not-set.
--mysql-database Specifies MySQL database name. If --disable-mysql is set, this parameter is ignored.
--mysql-host Specifies MySQL host. If --disable-mysql is set, this parameter is ignored.
--mysql-port Specifies MySQL port number. If --disable-mysql is set, this parameter is ignored. Default: 3306
--mysql-username Specifies MySQL username. If --disable-mysql is set, this parameter is ignored. Default: root
--mysql-password Specifies MySQL user's password. If --disable-mysql is set, this parameter is ignored.
--mysql-root-password Specifies MySQL root's password. If --disable-mysql is set, this parameter is ignored.

Install

If build has been finished successfully, you may want to install it:

sudo cmake --install .

Notes

  1. The Jalali (Solar Hijri) calendar implementation and its widget are considered to be deprecated and will be removed in the future versions. Several calendaring system implementations have already been merged into Qt version 5.14 and is available since then.

qtz's People

Contributors

soroush avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

qtz's Issues

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.