CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Libs
Widgets
ctkIconEnginePlugin.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Library: CTK
4
5
Copyright (c) Kitware Inc.
6
7
Licensed under the Apache License, Version 2.0 (the "License");
8
you may not use this file except in compliance with the License.
9
You may obtain a copy of the License at
10
11
http://www.apache.org/licenses/LICENSE-2.0.txt
12
13
Unless required by applicable law or agreed to in writing, software
14
distributed under the License is distributed on an "AS IS" BASIS,
15
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
See the License for the specific language governing permissions and
17
limitations under the License.
18
19
=========================================================================*/
20
21
#ifndef __ctkIconEnginePlugin_h
22
#define __ctkIconEnginePlugin_h
23
24
#include <QtGlobal>
25
26
// The MOC is not able to parse "#if QT_VERSION >= 0x..." in Qt 5 and
27
// "#if QT_VERSION >= QT_VERSION_CHECK(...)" in Qt4. As a workaround,
28
// we check for the Qt version here (not parsed by MOC) and provide two
29
// versions of the actual header file according to the used Qt version.
30
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
31
# include <
ctkIconEnginePlugin_qt5.h
>
32
#else
33
# include <
ctkIconEnginePlugin_qt4.h
>
34
#endif
35
36
#endif
ctkIconEnginePlugin_qt4.h
ctkIconEnginePlugin_qt5.h
Generated on Mon Aug 9 2021 00:00:00 for CTK by
1.9.1