-SET(GUI_HEADERS ViewerTools_CubeAxesDlgBase.h ViewerTools_DialogBase.h ViewerTools_FontWidgetBase.h)
-QT4_WRAP_CPP(GUI_HEADERS_MOC ${GUI_HEADERS})
-SET(ViewerTools_SOURCES
- ViewerTools_CubeAxesDlgBase.cxx
- ViewerTools_DialogBase.cxx
- ViewerTools_FontWidgetBase.cxx
+
+# additional preprocessor / compiler flags
+ADD_DEFINITIONS(${QT_DEFINITIONS})
+
+# libraries to link to
+SET(_link_LIBRARIES ${QT_LIBRARIES} qtx)
+
+# --- headers ---
+
+# header files / to be processed by moc
+SET(_moc_HEADERS
+ ViewerTools_CubeAxesDlgBase.h
+ ViewerTools_DialogBase.h
+ ViewerTools_FontWidgetBase.h