Skip to content

sintef-ocean/conan-qwt

 
 

Repository files navigation

GCC Conan Clang Conan MSVC Conan

DEPRECATED! conan-center has a qwt package.

Conan.io recipe for qwt.

The package is usually consumed using the conan install command or a conanfile.txt.

How to use this package

  1. Add remote to conan's package remotes:

    $ conan remote add sintef https://artifactory.smd.sintef.no/artifactory/api/conan/conan-local
    $ conan remote add bincrafters https://bincrafters.jfrog.io/artifactory/api/conan/public-conan
    $ conan config set general.revisions_enabled=1
  2. Using conanfile.txt in your project with cmake

    Add a conanfile.txt to your project. This file describes dependencies and your configuration of choice, e.g.:

    [requires]
    qwt/[>=6.2.0]@sintef/stable
    
    [options]
    
    
    [imports]
    licenses, * -> ./licenses @ folder=True
    
    [generators]
    cmake
    cmake_paths
    cmake_find_package
    

    Insert into your CMakeLists.txt something like the following lines:

    cmake_minimum_required(VERSION 3.13)
    project(TheProject CXX)
    
    find_package(harfbuzz MODULE REQUIRED) # Needed for now
    include(${CMAKE_BINARY_DIR}/conan_paths.cmake)
    include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
    conan_set_vs_runtime()
    
    find_package(Qt5 COMPONENTS Widgets REQUIRED)
    find_package(Qwt MODULE REQUIRED)
    
    add_executable(the_executor code.cpp)
    target_link_libraries(the_executor Qwt::Qwt Qt5::Widgets)

    Then, do

    $ mkdir build && cd build
    $ conan install .. -s build_type=<build_type>

    where <build_type> is e.g. Debug or Release. You can now continue with the usual dance with cmake commands for configuration and compilation. For details on how to use conan, please consult Conan.io docs

Package options

Option Default Domain
shared True [True, False]
plot True [True, False]
widgets True [True, False]
svg True [True, False]
opengl True [True, False]
mathml False [True, False]
designer False [True, False]
examples False [True, False]
playground False [True, False]

Known recipe issues

Note: Not all package options have been tested and may not work.

Note: Clang 8 and 9 are built using ubuntu 20.04 due to some transitive dependencies being built with glibc 2.28.

Releases

No releases published

Packages

No packages published

Languages

  • Python 58.3%
  • C++ 38.7%
  • CMake 3.0%