find_package(Qt4 4.6 COMPONENTS QtCore REQUIRED)
set(QT_DONT_USE_QTGUI TRUE)
include(${QT_USE_FILE})

find_package(Boost REQUIRED)
include_directories(${Boost_INCLUDE_DIRS})

set(SOURCES
  uffatomtyper.cpp
  uffcalculation.cpp
  uffforcefield.cpp
  uffparameters.cpp
  uffplugin.cpp
)

add_chemkit_plugin(uff ${SOURCES})
target_link_libraries(uff chemkit ${QT_LIBRARIES})

find_package(Boost REQUIRED)
include_directories(${Boost_INCLUDE_DIRS})

set(SOURCES
  uffatomtyper.cpp
  uffcalculation.cpp
  uffforcefield.cpp
  uffparameters.cpp
  uffplugin.cpp
)

add_chemkit_plugin(uff ${SOURCES})
target_link_libraries(uff chemkit)

Remove Qt dependency from the uff plugin
Remove Qt dependency from the uff plugin

This removes the dependence on QtCore from the uff
plugin.
