1 # This file serves as an example of how to use cmake with QtGstreamer.
2 # It can be used for building this example either in the QtGstreamer source tree or standalone.
4 find_package(QtGstreamer REQUIRED)
5 include_directories(${QTGSTREAMER_INCLUDES})
6 add_definitions(${QTGSTREAMER_DEFINITIONS})
7 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${QTGSTREAMER_FLAGS}")
8 add_executable(player main.cpp)
9 target_link_libraries(player ${QTGSTREAMER_LIBRARIES})