FIND_PACKAGE(Qt4 REQUIRED)

MESSAGE (STATUS "Use file: ${QT_USE_FILE}")

SET(QT_USE_QTXML 1)

include(UseQt4)

include_directories(${QT_INCLUDE_DIR})
include_directories(${QT_QT_INCLUDE_DIR})
include_directories(${QT_QTCORE_INCLUDE_DIR})
include_directories(${QT_QTGUI_INCLUDE_DIR})
include_directories(${QT_QTXML_INCLUDE_DIR})
#include_directories(${QT_QTSVG_INCLUDE_DIR})

#QT4_WRAP_UI(ui_design_main_window.h design_main_window.ui)
#wrap_ui#

#QT4_WRAP_CPP(moc_gnuplot_connection gnuplot_connection.h)
#wrap_cpp#

add_executable(xmlwidget 
#dependencias#
)

TARGET_LINK_LIBRARIES(xmlwidget ${Qt4_LIBRARIES} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTXML_LIBRARY})

install	(
		PROGRAMS xmlwidget
		DESTINATION bin
	)
