Skip to content

antekone/qt5-external-resources-cmake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

***NOTE***: As of Qt5.5, you can also use this function:
***
*** qt5_add_binary_resources(target inputfile ... OPTIONS ... DEST ...)
***
*** More info:
***
*** http://doc.qt.io/qt-5/cmake-manual.html
***
*** Thanks to A. Klitzing for this info!

Qt5 External Resource support for CMake

More info:

http://anadoxin.org/blog/cmake-support-for-qt5s-external-resources.html

How to use
==========

Step 1. Clone this repo:

    $ git clone https://github.com/antekone/qt5-external-resources-cmake.git

Step 2. Include the CMake script inside your CMakeLists.txt:

    ...
    include(/path/to/Qt5ExternalResources.cmake)
    ...

Step 3. Use the `qt5_add_external_resources` function where needed:

    qt5_add_external_resources(output.rcc input.qrc)

Step 4. Consult examples/hello-world if you encounter any problems.

About

Support for Qt5's external resources for CMake

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages