OpenMS
Loading...
Searching...
No Matches
Qt5Port.h
Go to the documentation of this file.
1// Copyright (c) 2002-present, The OpenMS Team -- EKU Tuebingen, ETH Zurich, and FU Berlin
2// SPDX-License-Identifier: BSD-3-Clause
3//
4// --------------------------------------------------------------------------
5// $Maintainer: Chris Bielow $
6// $Authors: Chris Bielow $
7// --------------------------------------------------------------------------
8
9#pragma once
10
11
12namespace OpenMS
13{
14
16template <typename T, template<typename> typename C>
17QSet<T> toQSet(const C<T> &container)
18{
19 return QSet<T>(container.begin(), container.end());
20}
21
22} // namespace OpenMS
You can set more CMake variables adding< code > linking and adding include directories</td ></tr >< tr >< th valign="top"> CMAKE_PREFIX_PATH</td >< td > Additional search path for the contrib libraries[MacOSX only] If you want to use libraries installed via Homebrew or MacPorts you might need to provide the corresponding paths< code > e g< code > C
Definition common-cmake-parameters.doxygen:35
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
QSet< T > toQSet(const C< T > &container)
Drop-in for QT5's QStringList::toSet
Definition Qt5Port.h:17