kelvinchin12070811 / ADSI

An experiment project which sign digital artwork with cryptography method

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Artwork Digital Signature Identifier

Artwork Digital Signature Identifier is an experiment that try to sign a digital artwork with Asynmetric Encryption. This project is prepared for Final Year Project for SEGi University

System Requirements Specification Form: form

FYP Report: report

Installation

The project is configured with cmake and vcpkg.

Required library

Setup Qt

Get Qt 5.15.2 from the Official Qt website

Setup vcpkg and install required libraries

Note: Install vcpkg require git installed.

  1. install vcpkg with the following command.

    PowerShell

    git clone https://github.com/microsoft/vcpkg.git
    Set-Location vcpkg
    ./bootstrap-vcpkg
    ./vcpkg integrate install
    

    cmd

    git clone https://github.com/microsoft/vcpkg.git
    cd vcpkg
    ./bootstrap-vcpkg
    ./vcpkg integrate install
    
  2. Install required library

    ./vcpkg install cryptopp boost sqlte3 sqlite-orm ecm
    
  3. kf5widgetsaddons require additional steps

    Note: If install Qt directly from vcpkg will not require this steps, install them directly with vcpkg.

    1. Open ./vcpkg/ports/kf5widgetsaddons/CONTROL

    2. make change of the following line

      Build-Depends: ecm, qt5-base, qt5-tools
      

      to

      Build-Depends: ecm
      
    3. install kf5widgetsaddons as following

      ./vcpkg install kf5widgetsaddons --editable
      

      The build should failed as no Qt library found.

    4. Head to ./vcpkg/buildtrees/kf5widgetsaddons and delete all files instead of src folder

    5. Open ./src/{version}/CMakeLists.txt and add the following line right after the cmake_minimum_required line

      list(APPEND CMAKE_PREFIX_PATH "{Path to qt toolkit}")
      

      example

      list(APPEND CMAKE_PREFIX_PATH "C:/Qt/5.15.2/msvc2019_64")
      
    6. Run ./vcpkg install kf5widgetsaddons --editable again, might need to change REQUIRED_QT_VERSION to match Qt installation version at CMakeLists.txt as previous steps.

  4. Setup vcpkg for cmake in IDE of choice, take a look at vcpkg official documentation

License

MPL 2.0

About

An experiment project which sign digital artwork with cryptography method

License:Mozilla Public License 2.0


Languages

Language:C++ 96.0%Language:CMake 3.7%Language:Python 0.3%