GithubHelp home page GithubHelp logo

auto-updater's Introduction

Auto-Updater

A Qt C++ project that allows application to download updated installer and install it automatically.

Built with

Qt5 - Cross-platform software development for embedded & desktop

Getting Started

These instructions will help you add this plugin to your project.

Prerequisites

Things needed for this plugin:

  • libeay32.dll or libeay64.dll
  • ssleay32.dll or ssleay64.dll
  • openssl.exe

Adding plugin to project

You also need to add "network" in your project's .pro

QT += network

Then add the Auto-Updater plugin to your project. Copy the this plugin to your project's destination.

include(<project-destination>/Auto_Updater.pri)

Run QMake and you will now see the Auto-Updater folder included in your project

Public Functions

  • setDownloadPath(QString) - Downloaded file will be saved in this path.
  • setUpdaterIcon(QPixmap) - Set your application's icon.
  • setFileInformation(QString, QString) - Set the Filename and File Extension of the downloaded file respectively.
  • setDownloadURL(QString) - Set the download URL of the file.

Sample Implementation

Auto_Updater autoUpdate = new Auto_Updater();
autoUpdate->setDownloadURL("<download-url>");
autoUpdate->setDownloadPath("<downloaded-file-destination>");
autoUpdate->setFileInformation("<filename>", "<file-extension>");
autoUpdate->show();

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.