Skip to content

Commit 8992222

Browse files
author
Matthias Koefferlein
committed
Enabling Qt-less builds
1 parent 378d2cd commit 8992222

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

src/ant/ant/antRulerOptionsPage.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
2121
*/
2222

23+
#if defined(HAVE_QT)
24+
2325
#include "antRulerOptionsPage.h"
2426
#include "antConfig.h"
2527
#include "laySnap.h"
@@ -112,3 +114,6 @@ RulerOptionsPage::setup (lay::Dispatcher *root)
112114
static tl::RegisteredClass<lay::EditorOptionsPageFactoryBase> s_factory_ruler_options (new lay::EditorOptionsPageFactory<RulerOptionsPage> ("ant::RulerOptions"), 0);
113115

114116
}
117+
118+
#endif
119+

src/ant/ant/antRulerOptionsPage.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
2121
*/
2222

23+
#if defined(HAVE_QT)
2324

2425
#ifndef HDR_antRulerOptionsPage
2526
#define HDR_antRulerOptionsPage
@@ -60,3 +61,6 @@ Q_OBJECT
6061
}
6162

6263
#endif
64+
65+
#endif
66+

0 commit comments

Comments
 (0)