Giter Club home page Giter Club logo

qt_cpackifw's Introduction

Qt meets CPackIFW

Skel for Qt/CPackIFW based build systems.

Introduction

The web isn't full of examples of use for CPackIFW yet. That's a fact.
I spent a few hours configuring a minimal build system that worked on Linux, Windows and OSX. To do that I looked into the code of CMake and I opened a bug to the CPackIFW module. Then I wrote to the author of the module asking for a workaround, I must admit that he's a really nice person and he gave me a couple of hints that helped me to find the right way.
So far so good. At the end of the day I've a build system up and running that I can use almost everywhere to prepare a standalone installer for my application. That being said, I don't want to spend the same amount of time next time to pack it from scratch and that's why I created a minimal project from which to start in case.

Requirements

Currently, qt_cpackifw requires:

  • CMake version 3.4 or later.
  • Qt Installer Framework 2.0 or later.

Unfortunately, for CPackIFW is still relatively young and it has been designed originally for Linux and Windows systems, it has some issues on OSX. I've documented them directly in the CMakeLists.txt file.
Note also that the generator expression $<TARGET_BUNDLE_DIR:tgt> isn't available since CMake version 3.9. Because of that, the CMakeLists.txt contains a few workarounds to overcome these shortcomings.

Targets

From within the build directory, just run the following commands to create the package:

$ cmake ..
$ make package

License

Copyright (c) 2017 Michele Caini.
Code released under the MIT license.

qt_cpackifw's People

Contributors

skypjack avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

kolod datadiode

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.