Conan.io package for Qt library. This package includes by default the Qt Base module (Core, Gui, Widgets, Network, ...). Others modules can be added using options.
The packages generated with this conanfile can be found in bintray.com.
$ conan install Qt/5.8.0@osechet/testing
If you handle multiple dependencies in your project is better to add a conanfile.txt
[requires]
Qt/5.8.0@osechet/testing
[options]
Qt:shared=true # false
# On Windows, you can choose the opengl mode, default is 'desktop'
Qt:opengl=desktop # dynamic
# If you need specific Qt modules, you can add them as follow:
Qt:websockets=true
Qt:xmlpatterns=true
[generators]
txt
cmake
Complete the installation of requirements for your project running:
conan install .
Project setup installs the library (and all his dependencies) and generates the files conanbuildinfo.txt and conanbuildinfo.cmake with all the paths and variables that you need to link with your dependencies.
$ pip install conan_package_tools
$ python build.py
$ conan upload Qt/5.8.0@osechet/testing --all