From aa50b377a7d904e35cf3a26e4c8a054108011ffd Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Wed, 20 Mar 2019 13:41:37 +0100 Subject: CMake: Add widgets examples Change-Id: Ib6142b93df066e3658eb189b50ca74c455fe7e56 Reviewed-by: Alexandru Croitor --- examples/widgets/draganddrop/puzzle/CMakeLists.txt | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 examples/widgets/draganddrop/puzzle/CMakeLists.txt (limited to 'examples/widgets/draganddrop/puzzle') diff --git a/examples/widgets/draganddrop/puzzle/CMakeLists.txt b/examples/widgets/draganddrop/puzzle/CMakeLists.txt new file mode 100644 index 0000000000..2622dd068e --- /dev/null +++ b/examples/widgets/draganddrop/puzzle/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from puzzle.pro. + +##################################################################### +## puzzle Binary: +##################################################################### + +add_qt_executable(puzzle + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/draganddrop/puzzle" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/draganddrop/puzzle" + SOURCES + main.cpp + mainwindow.cpp mainwindow.h + pieceslist.cpp pieceslist.h + puzzlewidget.cpp puzzlewidget.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(puzzle "puzzle" PREFIX "/images" FILES + example.jpg) + + +#### Keys ignored in scope 1:.:puzzle.pro:: +# QMAKE_PROJECT_NAME = "dndpuzzle" -- cgit v1.2.3