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/CMakeLists.txt | 33 +++++ examples/widgets/animation/CMakeLists.txt | 8 ++ .../widgets/animation/animatedtiles/CMakeLists.txt | 26 ++++ examples/widgets/animation/easing/CMakeLists.txt | 23 ++++ .../widgets/animation/moveblocks/CMakeLists.txt | 15 +++ examples/widgets/animation/states/CMakeLists.txt | 25 ++++ examples/widgets/animation/stickman/CMakeLists.txt | 29 +++++ .../widgets/animation/sub-attaq/CMakeLists.txt | 142 +++++++++++++++++++++ examples/widgets/desktop/CMakeLists.txt | 4 + examples/widgets/desktop/screenshot/CMakeLists.txt | 16 +++ examples/widgets/desktop/systray/CMakeLists.txt | 23 ++++ examples/widgets/dialogs/CMakeLists.txt | 14 ++ .../widgets/dialogs/classwizard/CMakeLists.txt | 27 ++++ examples/widgets/dialogs/extension/CMakeLists.txt | 16 +++ examples/widgets/dialogs/findfiles/CMakeLists.txt | 16 +++ .../widgets/dialogs/licensewizard/CMakeLists.txt | 23 ++++ .../widgets/dialogs/standarddialogs/CMakeLists.txt | 16 +++ examples/widgets/dialogs/tabdialog/CMakeLists.txt | 16 +++ .../widgets/dialogs/trivialwizard/CMakeLists.txt | 15 +++ examples/widgets/draganddrop/CMakeLists.txt | 7 + .../draganddrop/draggableicons/CMakeLists.txt | 23 ++++ .../draganddrop/draggabletext/CMakeLists.txt | 21 +++ .../widgets/draganddrop/dropsite/CMakeLists.txt | 17 +++ .../draganddrop/fridgemagnets/CMakeLists.txt | 22 ++++ examples/widgets/draganddrop/puzzle/CMakeLists.txt | 26 ++++ examples/widgets/effects/CMakeLists.txt | 4 + examples/widgets/effects/blurpicker/CMakeLists.txt | 30 +++++ .../widgets/effects/fademessage/CMakeLists.txt | 21 +++ examples/widgets/gestures/CMakeLists.txt | 3 + .../widgets/gestures/imagegestures/CMakeLists.txt | 17 +++ examples/widgets/graphicsview/CMakeLists.txt | 20 +++ .../graphicsview/anchorlayout/CMakeLists.txt | 15 +++ .../basicgraphicslayouts/CMakeLists.txt | 22 ++++ examples/widgets/graphicsview/boxes/CMakeLists.txt | 55 ++++++++ examples/widgets/graphicsview/chip/CMakeLists.txt | 44 +++++++ .../graphicsview/collidingmice/CMakeLists.txt | 21 +++ .../graphicsview/diagramscene/CMakeLists.txt | 39 ++++++ .../graphicsview/dragdroprobot/CMakeLists.txt | 22 ++++ .../graphicsview/elasticnodes/CMakeLists.txt | 18 +++ .../graphicsview/embeddeddialogs/CMakeLists.txt | 28 ++++ .../widgets/graphicsview/flowlayout/CMakeLists.txt | 20 +++ .../graphicsview/padnavigator/CMakeLists.txt | 43 +++++++ .../graphicsview/simpleanchorlayout/CMakeLists.txt | 15 +++ .../weatheranchorlayout/CMakeLists.txt | 25 ++++ examples/widgets/itemviews/CMakeLists.txt | 27 ++++ .../widgets/itemviews/addressbook/CMakeLists.txt | 20 +++ .../itemviews/basicsortfiltermodel/CMakeLists.txt | 16 +++ examples/widgets/itemviews/chart/CMakeLists.txt | 30 +++++ .../itemviews/coloreditorfactory/CMakeLists.txt | 17 +++ .../itemviews/combowidgetmapper/CMakeLists.txt | 16 +++ .../itemviews/customsortfiltermodel/CMakeLists.txt | 23 ++++ examples/widgets/itemviews/dirview/CMakeLists.txt | 15 +++ .../itemviews/editabletreemodel/CMakeLists.txt | 23 ++++ .../widgets/itemviews/fetchmore/CMakeLists.txt | 17 +++ .../widgets/itemviews/flattreeview/CMakeLists.txt | 15 +++ .../widgets/itemviews/frozencolumn/CMakeLists.txt | 21 +++ .../widgets/itemviews/interview/CMakeLists.txt | 32 +++++ .../widgets/itemviews/pixelator/CMakeLists.txt | 31 +++++ examples/widgets/itemviews/puzzle/CMakeLists.txt | 23 ++++ .../itemviews/simpledommodel/CMakeLists.txt | 19 +++ .../itemviews/simpletreemodel/CMakeLists.txt | 22 ++++ .../itemviews/simplewidgetmapper/CMakeLists.txt | 16 +++ .../itemviews/spinboxdelegate/CMakeLists.txt | 16 +++ .../widgets/itemviews/spreadsheet/CMakeLists.txt | 35 +++++ .../widgets/itemviews/stardelegate/CMakeLists.txt | 18 +++ .../widgets/itemviews/storageview/CMakeLists.txt | 20 +++ examples/widgets/layouts/CMakeLists.txt | 6 + .../widgets/layouts/basiclayouts/CMakeLists.txt | 16 +++ .../widgets/layouts/borderlayout/CMakeLists.txt | 17 +++ .../widgets/layouts/dynamiclayouts/CMakeLists.txt | 16 +++ examples/widgets/layouts/flowlayout/CMakeLists.txt | 17 +++ examples/widgets/mac/CMakeLists.txt | 7 + .../mac/qmaccocoaviewcontainer/CMakeLists.txt | 19 +++ .../widgets/mac/qmacnativewidget/CMakeLists.txt | 19 +++ examples/widgets/mainwindows/CMakeLists.txt | 8 ++ .../widgets/mainwindows/application/CMakeLists.txt | 26 ++++ .../widgets/mainwindows/dockwidgets/CMakeLists.txt | 32 +++++ .../widgets/mainwindows/mainwindow/CMakeLists.txt | 35 +++++ examples/widgets/mainwindows/mdi/CMakeLists.txt | 27 ++++ examples/widgets/mainwindows/menus/CMakeLists.txt | 16 +++ examples/widgets/mainwindows/sdi/CMakeLists.txt | 26 ++++ examples/widgets/painting/CMakeLists.txt | 14 ++ examples/widgets/painting/affine/CMakeLists.txt | 23 ++++ .../widgets/painting/basicdrawing/CMakeLists.txt | 23 ++++ .../widgets/painting/composition/CMakeLists.txt | 23 ++++ .../painting/concentriccircles/CMakeLists.txt | 17 +++ examples/widgets/painting/deform/CMakeLists.txt | 21 +++ .../widgets/painting/fontsampler/CMakeLists.txt | 25 ++++ examples/widgets/painting/gradients/CMakeLists.txt | 21 +++ .../painting/imagecomposition/CMakeLists.txt | 22 ++++ .../widgets/painting/painterpaths/CMakeLists.txt | 26 ++++ .../widgets/painting/pathstroke/CMakeLists.txt | 21 +++ examples/widgets/painting/shared/CMakeLists.txt | 64 ++++++++++ .../painting/transformations/CMakeLists.txt | 17 +++ examples/widgets/richtext/CMakeLists.txt | 6 + examples/widgets/richtext/calendar/CMakeLists.txt | 16 +++ examples/widgets/richtext/orderform/CMakeLists.txt | 25 ++++ .../richtext/syntaxhighlighter/CMakeLists.txt | 17 +++ examples/widgets/richtext/textedit/CMakeLists.txt | 75 +++++++++++ examples/widgets/scroller/CMakeLists.txt | 3 + .../widgets/scroller/graphicsview/CMakeLists.txt | 18 +++ examples/widgets/statemachine/CMakeLists.txt | 11 ++ .../statemachine/eventtransitions/CMakeLists.txt | 15 +++ .../widgets/statemachine/factorial/CMakeLists.txt | 22 ++++ .../widgets/statemachine/pingpong/CMakeLists.txt | 22 ++++ examples/widgets/statemachine/rogue/CMakeLists.txt | 17 +++ .../statemachine/trafficlight/CMakeLists.txt | 15 +++ .../statemachine/twowaybutton/CMakeLists.txt | 15 +++ examples/widgets/tools/CMakeLists.txt | 20 +++ examples/widgets/tools/codecs/CMakeLists.txt | 20 +++ examples/widgets/tools/completer/CMakeLists.txt | 23 ++++ .../widgets/tools/customcompleter/CMakeLists.txt | 22 ++++ examples/widgets/tools/echoplugin/CMakeLists.txt | 4 + .../tools/echoplugin/echowindow/CMakeLists.txt | 33 +++++ .../widgets/tools/echoplugin/plugin/CMakeLists.txt | 22 ++++ examples/widgets/tools/i18n/CMakeLists.txt | 38 ++++++ examples/widgets/tools/plugandpaint/CMakeLists.txt | 4 + .../widgets/tools/plugandpaint/app/CMakeLists.txt | 29 +++++ .../tools/plugandpaint/plugins/CMakeLists.txt | 4 + .../plugandpaint/plugins/basictools/CMakeLists.txt | 29 +++++ .../plugins/extrafilters/CMakeLists.txt | 27 ++++ examples/widgets/tools/regexp/CMakeLists.txt | 16 +++ .../widgets/tools/regularexpression/CMakeLists.txt | 21 +++ .../widgets/tools/settingseditor/CMakeLists.txt | 22 ++++ examples/widgets/tools/styleplugin/CMakeLists.txt | 4 + .../tools/styleplugin/plugin/CMakeLists.txt | 32 +++++ .../tools/styleplugin/stylewindow/CMakeLists.txt | 31 +++++ .../tools/treemodelcompleter/CMakeLists.txt | 22 ++++ examples/widgets/tools/undo/CMakeLists.txt | 44 +++++++ .../widgets/tools/undoframework/CMakeLists.txt | 24 ++++ examples/widgets/touch/CMakeLists.txt | 6 + examples/widgets/touch/dials/CMakeLists.txt | 16 +++ examples/widgets/touch/fingerpaint/CMakeLists.txt | 25 ++++ examples/widgets/touch/knobs/CMakeLists.txt | 16 +++ examples/widgets/touch/pinchzoom/CMakeLists.txt | 22 ++++ examples/widgets/tutorials/CMakeLists.txt | 7 + .../widgets/tutorials/addressbook/CMakeLists.txt | 9 ++ .../tutorials/addressbook/part1/CMakeLists.txt | 19 +++ .../tutorials/addressbook/part2/CMakeLists.txt | 19 +++ .../tutorials/addressbook/part3/CMakeLists.txt | 19 +++ .../tutorials/addressbook/part4/CMakeLists.txt | 19 +++ .../tutorials/addressbook/part5/CMakeLists.txt | 20 +++ .../tutorials/addressbook/part6/CMakeLists.txt | 20 +++ .../tutorials/addressbook/part7/CMakeLists.txt | 20 +++ .../tutorials/gettingStarted/CMakeLists.txt | 2 + .../tutorials/gettingStarted/gsQt/CMakeLists.txt | 7 + .../gettingStarted/gsQt/part1/CMakeLists.txt | 15 +++ .../gettingStarted/gsQt/part2/CMakeLists.txt | 15 +++ .../gettingStarted/gsQt/part3/CMakeLists.txt | 15 +++ .../gettingStarted/gsQt/part4/CMakeLists.txt | 15 +++ .../gettingStarted/gsQt/part5/CMakeLists.txt | 15 +++ .../tutorials/modelview/1_readonly/CMakeLists.txt | 19 +++ .../modelview/2_formatting/CMakeLists.txt | 19 +++ .../modelview/3_changingmodel/CMakeLists.txt | 19 +++ .../tutorials/modelview/4_headers/CMakeLists.txt | 19 +++ .../tutorials/modelview/5_edit/CMakeLists.txt | 20 +++ .../tutorials/modelview/6_treeview/CMakeLists.txt | 19 +++ .../modelview/7_selections/CMakeLists.txt | 19 +++ .../widgets/tutorials/modelview/CMakeLists.txt | 9 ++ examples/widgets/tutorials/notepad/CMakeLists.txt | 49 +++++++ examples/widgets/tutorials/widgets/CMakeLists.txt | 6 + .../tutorials/widgets/childwidget/CMakeLists.txt | 15 +++ .../tutorials/widgets/nestedlayouts/CMakeLists.txt | 15 +++ .../tutorials/widgets/toplevel/CMakeLists.txt | 15 +++ .../tutorials/widgets/windowlayout/CMakeLists.txt | 15 +++ examples/widgets/widgets/CMakeLists.txt | 27 ++++ .../widgets/widgets/analogclock/CMakeLists.txt | 19 +++ examples/widgets/widgets/calculator/CMakeLists.txt | 17 +++ .../widgets/widgets/calendarwidget/CMakeLists.txt | 16 +++ .../widgets/widgets/charactermap/CMakeLists.txt | 17 +++ examples/widgets/widgets/codeeditor/CMakeLists.txt | 16 +++ .../widgets/widgets/digitalclock/CMakeLists.txt | 16 +++ .../widgets/widgets/elidedlabel/CMakeLists.txt | 21 +++ examples/widgets/widgets/groupbox/CMakeLists.txt | 16 +++ examples/widgets/widgets/icons/CMakeLists.txt | 24 ++++ .../widgets/widgets/imageviewer/CMakeLists.txt | 24 ++++ examples/widgets/widgets/lineedits/CMakeLists.txt | 16 +++ .../widgets/widgets/mousebuttons/CMakeLists.txt | 19 +++ examples/widgets/widgets/movie/CMakeLists.txt | 19 +++ examples/widgets/widgets/scribble/CMakeLists.txt | 25 ++++ .../widgets/widgets/shapedclock/CMakeLists.txt | 16 +++ examples/widgets/widgets/sliders/CMakeLists.txt | 17 +++ examples/widgets/widgets/spinboxes/CMakeLists.txt | 16 +++ examples/widgets/widgets/styles/CMakeLists.txt | 23 ++++ examples/widgets/widgets/stylesheet/CMakeLists.txt | 56 ++++++++ examples/widgets/widgets/tablet/CMakeLists.txt | 26 ++++ examples/widgets/widgets/tetrix/CMakeLists.txt | 18 +++ examples/widgets/widgets/tooltips/CMakeLists.txt | 24 ++++ examples/widgets/widgets/validators/CMakeLists.txt | 24 ++++ examples/widgets/widgets/wiggly/CMakeLists.txt | 17 +++ .../widgets/widgets/windowflags/CMakeLists.txt | 17 +++ examples/widgets/windowcontainer/CMakeLists.txt | 18 +++ 192 files changed, 4052 insertions(+) create mode 100644 examples/widgets/CMakeLists.txt create mode 100644 examples/widgets/animation/CMakeLists.txt create mode 100644 examples/widgets/animation/animatedtiles/CMakeLists.txt create mode 100644 examples/widgets/animation/easing/CMakeLists.txt create mode 100644 examples/widgets/animation/moveblocks/CMakeLists.txt create mode 100644 examples/widgets/animation/states/CMakeLists.txt create mode 100644 examples/widgets/animation/stickman/CMakeLists.txt create mode 100644 examples/widgets/animation/sub-attaq/CMakeLists.txt create mode 100644 examples/widgets/desktop/CMakeLists.txt create mode 100644 examples/widgets/desktop/screenshot/CMakeLists.txt create mode 100644 examples/widgets/desktop/systray/CMakeLists.txt create mode 100644 examples/widgets/dialogs/CMakeLists.txt create mode 100644 examples/widgets/dialogs/classwizard/CMakeLists.txt create mode 100644 examples/widgets/dialogs/extension/CMakeLists.txt create mode 100644 examples/widgets/dialogs/findfiles/CMakeLists.txt create mode 100644 examples/widgets/dialogs/licensewizard/CMakeLists.txt create mode 100644 examples/widgets/dialogs/standarddialogs/CMakeLists.txt create mode 100644 examples/widgets/dialogs/tabdialog/CMakeLists.txt create mode 100644 examples/widgets/dialogs/trivialwizard/CMakeLists.txt create mode 100644 examples/widgets/draganddrop/CMakeLists.txt create mode 100644 examples/widgets/draganddrop/draggableicons/CMakeLists.txt create mode 100644 examples/widgets/draganddrop/draggabletext/CMakeLists.txt create mode 100644 examples/widgets/draganddrop/dropsite/CMakeLists.txt create mode 100644 examples/widgets/draganddrop/fridgemagnets/CMakeLists.txt create mode 100644 examples/widgets/draganddrop/puzzle/CMakeLists.txt create mode 100644 examples/widgets/effects/CMakeLists.txt create mode 100644 examples/widgets/effects/blurpicker/CMakeLists.txt create mode 100644 examples/widgets/effects/fademessage/CMakeLists.txt create mode 100644 examples/widgets/gestures/CMakeLists.txt create mode 100644 examples/widgets/gestures/imagegestures/CMakeLists.txt create mode 100644 examples/widgets/graphicsview/CMakeLists.txt create mode 100644 examples/widgets/graphicsview/anchorlayout/CMakeLists.txt create mode 100644 examples/widgets/graphicsview/basicgraphicslayouts/CMakeLists.txt create mode 100644 examples/widgets/graphicsview/boxes/CMakeLists.txt create mode 100644 examples/widgets/graphicsview/chip/CMakeLists.txt create mode 100644 examples/widgets/graphicsview/collidingmice/CMakeLists.txt create mode 100644 examples/widgets/graphicsview/diagramscene/CMakeLists.txt create mode 100644 examples/widgets/graphicsview/dragdroprobot/CMakeLists.txt create mode 100644 examples/widgets/graphicsview/elasticnodes/CMakeLists.txt create mode 100644 examples/widgets/graphicsview/embeddeddialogs/CMakeLists.txt create mode 100644 examples/widgets/graphicsview/flowlayout/CMakeLists.txt create mode 100644 examples/widgets/graphicsview/padnavigator/CMakeLists.txt create mode 100644 examples/widgets/graphicsview/simpleanchorlayout/CMakeLists.txt create mode 100644 examples/widgets/graphicsview/weatheranchorlayout/CMakeLists.txt create mode 100644 examples/widgets/itemviews/CMakeLists.txt create mode 100644 examples/widgets/itemviews/addressbook/CMakeLists.txt create mode 100644 examples/widgets/itemviews/basicsortfiltermodel/CMakeLists.txt create mode 100644 examples/widgets/itemviews/chart/CMakeLists.txt create mode 100644 examples/widgets/itemviews/coloreditorfactory/CMakeLists.txt create mode 100644 examples/widgets/itemviews/combowidgetmapper/CMakeLists.txt create mode 100644 examples/widgets/itemviews/customsortfiltermodel/CMakeLists.txt create mode 100644 examples/widgets/itemviews/dirview/CMakeLists.txt create mode 100644 examples/widgets/itemviews/editabletreemodel/CMakeLists.txt create mode 100644 examples/widgets/itemviews/fetchmore/CMakeLists.txt create mode 100644 examples/widgets/itemviews/flattreeview/CMakeLists.txt create mode 100644 examples/widgets/itemviews/frozencolumn/CMakeLists.txt create mode 100644 examples/widgets/itemviews/interview/CMakeLists.txt create mode 100644 examples/widgets/itemviews/pixelator/CMakeLists.txt create mode 100644 examples/widgets/itemviews/puzzle/CMakeLists.txt create mode 100644 examples/widgets/itemviews/simpledommodel/CMakeLists.txt create mode 100644 examples/widgets/itemviews/simpletreemodel/CMakeLists.txt create mode 100644 examples/widgets/itemviews/simplewidgetmapper/CMakeLists.txt create mode 100644 examples/widgets/itemviews/spinboxdelegate/CMakeLists.txt create mode 100644 examples/widgets/itemviews/spreadsheet/CMakeLists.txt create mode 100644 examples/widgets/itemviews/stardelegate/CMakeLists.txt create mode 100644 examples/widgets/itemviews/storageview/CMakeLists.txt create mode 100644 examples/widgets/layouts/CMakeLists.txt create mode 100644 examples/widgets/layouts/basiclayouts/CMakeLists.txt create mode 100644 examples/widgets/layouts/borderlayout/CMakeLists.txt create mode 100644 examples/widgets/layouts/dynamiclayouts/CMakeLists.txt create mode 100644 examples/widgets/layouts/flowlayout/CMakeLists.txt create mode 100644 examples/widgets/mac/CMakeLists.txt create mode 100644 examples/widgets/mac/qmaccocoaviewcontainer/CMakeLists.txt create mode 100644 examples/widgets/mac/qmacnativewidget/CMakeLists.txt create mode 100644 examples/widgets/mainwindows/CMakeLists.txt create mode 100644 examples/widgets/mainwindows/application/CMakeLists.txt create mode 100644 examples/widgets/mainwindows/dockwidgets/CMakeLists.txt create mode 100644 examples/widgets/mainwindows/mainwindow/CMakeLists.txt create mode 100644 examples/widgets/mainwindows/mdi/CMakeLists.txt create mode 100644 examples/widgets/mainwindows/menus/CMakeLists.txt create mode 100644 examples/widgets/mainwindows/sdi/CMakeLists.txt create mode 100644 examples/widgets/painting/CMakeLists.txt create mode 100644 examples/widgets/painting/affine/CMakeLists.txt create mode 100644 examples/widgets/painting/basicdrawing/CMakeLists.txt create mode 100644 examples/widgets/painting/composition/CMakeLists.txt create mode 100644 examples/widgets/painting/concentriccircles/CMakeLists.txt create mode 100644 examples/widgets/painting/deform/CMakeLists.txt create mode 100644 examples/widgets/painting/fontsampler/CMakeLists.txt create mode 100644 examples/widgets/painting/gradients/CMakeLists.txt create mode 100644 examples/widgets/painting/imagecomposition/CMakeLists.txt create mode 100644 examples/widgets/painting/painterpaths/CMakeLists.txt create mode 100644 examples/widgets/painting/pathstroke/CMakeLists.txt create mode 100644 examples/widgets/painting/shared/CMakeLists.txt create mode 100644 examples/widgets/painting/transformations/CMakeLists.txt create mode 100644 examples/widgets/richtext/CMakeLists.txt create mode 100644 examples/widgets/richtext/calendar/CMakeLists.txt create mode 100644 examples/widgets/richtext/orderform/CMakeLists.txt create mode 100644 examples/widgets/richtext/syntaxhighlighter/CMakeLists.txt create mode 100644 examples/widgets/richtext/textedit/CMakeLists.txt create mode 100644 examples/widgets/scroller/CMakeLists.txt create mode 100644 examples/widgets/scroller/graphicsview/CMakeLists.txt create mode 100644 examples/widgets/statemachine/CMakeLists.txt create mode 100644 examples/widgets/statemachine/eventtransitions/CMakeLists.txt create mode 100644 examples/widgets/statemachine/factorial/CMakeLists.txt create mode 100644 examples/widgets/statemachine/pingpong/CMakeLists.txt create mode 100644 examples/widgets/statemachine/rogue/CMakeLists.txt create mode 100644 examples/widgets/statemachine/trafficlight/CMakeLists.txt create mode 100644 examples/widgets/statemachine/twowaybutton/CMakeLists.txt create mode 100644 examples/widgets/tools/CMakeLists.txt create mode 100644 examples/widgets/tools/codecs/CMakeLists.txt create mode 100644 examples/widgets/tools/completer/CMakeLists.txt create mode 100644 examples/widgets/tools/customcompleter/CMakeLists.txt create mode 100644 examples/widgets/tools/echoplugin/CMakeLists.txt create mode 100644 examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt create mode 100644 examples/widgets/tools/echoplugin/plugin/CMakeLists.txt create mode 100644 examples/widgets/tools/i18n/CMakeLists.txt create mode 100644 examples/widgets/tools/plugandpaint/CMakeLists.txt create mode 100644 examples/widgets/tools/plugandpaint/app/CMakeLists.txt create mode 100644 examples/widgets/tools/plugandpaint/plugins/CMakeLists.txt create mode 100644 examples/widgets/tools/plugandpaint/plugins/basictools/CMakeLists.txt create mode 100644 examples/widgets/tools/plugandpaint/plugins/extrafilters/CMakeLists.txt create mode 100644 examples/widgets/tools/regexp/CMakeLists.txt create mode 100644 examples/widgets/tools/regularexpression/CMakeLists.txt create mode 100644 examples/widgets/tools/settingseditor/CMakeLists.txt create mode 100644 examples/widgets/tools/styleplugin/CMakeLists.txt create mode 100644 examples/widgets/tools/styleplugin/plugin/CMakeLists.txt create mode 100644 examples/widgets/tools/styleplugin/stylewindow/CMakeLists.txt create mode 100644 examples/widgets/tools/treemodelcompleter/CMakeLists.txt create mode 100644 examples/widgets/tools/undo/CMakeLists.txt create mode 100644 examples/widgets/tools/undoframework/CMakeLists.txt create mode 100644 examples/widgets/touch/CMakeLists.txt create mode 100644 examples/widgets/touch/dials/CMakeLists.txt create mode 100644 examples/widgets/touch/fingerpaint/CMakeLists.txt create mode 100644 examples/widgets/touch/knobs/CMakeLists.txt create mode 100644 examples/widgets/touch/pinchzoom/CMakeLists.txt create mode 100644 examples/widgets/tutorials/CMakeLists.txt create mode 100644 examples/widgets/tutorials/addressbook/CMakeLists.txt create mode 100644 examples/widgets/tutorials/addressbook/part1/CMakeLists.txt create mode 100644 examples/widgets/tutorials/addressbook/part2/CMakeLists.txt create mode 100644 examples/widgets/tutorials/addressbook/part3/CMakeLists.txt create mode 100644 examples/widgets/tutorials/addressbook/part4/CMakeLists.txt create mode 100644 examples/widgets/tutorials/addressbook/part5/CMakeLists.txt create mode 100644 examples/widgets/tutorials/addressbook/part6/CMakeLists.txt create mode 100644 examples/widgets/tutorials/addressbook/part7/CMakeLists.txt create mode 100644 examples/widgets/tutorials/gettingStarted/CMakeLists.txt create mode 100644 examples/widgets/tutorials/gettingStarted/gsQt/CMakeLists.txt create mode 100644 examples/widgets/tutorials/gettingStarted/gsQt/part1/CMakeLists.txt create mode 100644 examples/widgets/tutorials/gettingStarted/gsQt/part2/CMakeLists.txt create mode 100644 examples/widgets/tutorials/gettingStarted/gsQt/part3/CMakeLists.txt create mode 100644 examples/widgets/tutorials/gettingStarted/gsQt/part4/CMakeLists.txt create mode 100644 examples/widgets/tutorials/gettingStarted/gsQt/part5/CMakeLists.txt create mode 100644 examples/widgets/tutorials/modelview/1_readonly/CMakeLists.txt create mode 100644 examples/widgets/tutorials/modelview/2_formatting/CMakeLists.txt create mode 100644 examples/widgets/tutorials/modelview/3_changingmodel/CMakeLists.txt create mode 100644 examples/widgets/tutorials/modelview/4_headers/CMakeLists.txt create mode 100644 examples/widgets/tutorials/modelview/5_edit/CMakeLists.txt create mode 100644 examples/widgets/tutorials/modelview/6_treeview/CMakeLists.txt create mode 100644 examples/widgets/tutorials/modelview/7_selections/CMakeLists.txt create mode 100644 examples/widgets/tutorials/modelview/CMakeLists.txt create mode 100644 examples/widgets/tutorials/notepad/CMakeLists.txt create mode 100644 examples/widgets/tutorials/widgets/CMakeLists.txt create mode 100644 examples/widgets/tutorials/widgets/childwidget/CMakeLists.txt create mode 100644 examples/widgets/tutorials/widgets/nestedlayouts/CMakeLists.txt create mode 100644 examples/widgets/tutorials/widgets/toplevel/CMakeLists.txt create mode 100644 examples/widgets/tutorials/widgets/windowlayout/CMakeLists.txt create mode 100644 examples/widgets/widgets/CMakeLists.txt create mode 100644 examples/widgets/widgets/analogclock/CMakeLists.txt create mode 100644 examples/widgets/widgets/calculator/CMakeLists.txt create mode 100644 examples/widgets/widgets/calendarwidget/CMakeLists.txt create mode 100644 examples/widgets/widgets/charactermap/CMakeLists.txt create mode 100644 examples/widgets/widgets/codeeditor/CMakeLists.txt create mode 100644 examples/widgets/widgets/digitalclock/CMakeLists.txt create mode 100644 examples/widgets/widgets/elidedlabel/CMakeLists.txt create mode 100644 examples/widgets/widgets/groupbox/CMakeLists.txt create mode 100644 examples/widgets/widgets/icons/CMakeLists.txt create mode 100644 examples/widgets/widgets/imageviewer/CMakeLists.txt create mode 100644 examples/widgets/widgets/lineedits/CMakeLists.txt create mode 100644 examples/widgets/widgets/mousebuttons/CMakeLists.txt create mode 100644 examples/widgets/widgets/movie/CMakeLists.txt create mode 100644 examples/widgets/widgets/scribble/CMakeLists.txt create mode 100644 examples/widgets/widgets/shapedclock/CMakeLists.txt create mode 100644 examples/widgets/widgets/sliders/CMakeLists.txt create mode 100644 examples/widgets/widgets/spinboxes/CMakeLists.txt create mode 100644 examples/widgets/widgets/styles/CMakeLists.txt create mode 100644 examples/widgets/widgets/stylesheet/CMakeLists.txt create mode 100644 examples/widgets/widgets/tablet/CMakeLists.txt create mode 100644 examples/widgets/widgets/tetrix/CMakeLists.txt create mode 100644 examples/widgets/widgets/tooltips/CMakeLists.txt create mode 100644 examples/widgets/widgets/validators/CMakeLists.txt create mode 100644 examples/widgets/widgets/wiggly/CMakeLists.txt create mode 100644 examples/widgets/widgets/windowflags/CMakeLists.txt create mode 100644 examples/widgets/windowcontainer/CMakeLists.txt (limited to 'examples/widgets') diff --git a/examples/widgets/CMakeLists.txt b/examples/widgets/CMakeLists.txt new file mode 100644 index 0000000000..1b18fc8622 --- /dev/null +++ b/examples/widgets/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from widgets.pro. + +add_subdirectory(animation) +add_subdirectory(desktop) +add_subdirectory(dialogs) +if(QT_FEATURE_draganddrop) # special case + add_subdirectory(draganddrop) +endif() +add_subdirectory(effects) +add_subdirectory(gestures) +add_subdirectory(graphicsview) +add_subdirectory(itemviews) +add_subdirectory(layouts) +add_subdirectory(painting) +add_subdirectory(richtext) +add_subdirectory(scroller) +add_subdirectory(statemachine) +add_subdirectory(tools) +add_subdirectory(touch) +add_subdirectory(tutorials) +add_subdirectory(widgets) + +if(TARGET Qt::Gui AND QT_FEATURE_opengl) + add_subdirectory(windowcontainer) +endif() + +if(QT_FEATURE_cursor) # special case + add_subdirectory(mainwindows) +endif() + +if(APPLE_OSX) + add_subdirectory(mac) +endif() diff --git a/examples/widgets/animation/CMakeLists.txt b/examples/widgets/animation/CMakeLists.txt new file mode 100644 index 0000000000..15f62728da --- /dev/null +++ b/examples/widgets/animation/CMakeLists.txt @@ -0,0 +1,8 @@ +# Generated from animation.pro. + +add_subdirectory(animatedtiles) +add_subdirectory(easing) +add_subdirectory(moveblocks) +add_subdirectory(states) +add_subdirectory(stickman) +add_subdirectory(sub-attaq) diff --git a/examples/widgets/animation/animatedtiles/CMakeLists.txt b/examples/widgets/animation/animatedtiles/CMakeLists.txt new file mode 100644 index 0000000000..0af95adcf8 --- /dev/null +++ b/examples/widgets/animation/animatedtiles/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from animatedtiles.pro. + +##################################################################### +## animatedtiles Binary: +##################################################################### + +add_qt_executable(animatedtiles + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/animation/animatedtiles" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/animation/animatedtiles" + SOURCES + main.cpp + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(animatedtiles "animatedtiles" FILES + images/Time-For-Lunch-2.jpg + images/centered.png + images/ellipse.png + images/figure8.png + images/kinetic.png + images/random.png + images/tile.png) + diff --git a/examples/widgets/animation/easing/CMakeLists.txt b/examples/widgets/animation/easing/CMakeLists.txt new file mode 100644 index 0000000000..ba391d082b --- /dev/null +++ b/examples/widgets/animation/easing/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from easing.pro. + +##################################################################### +## easing Binary: +##################################################################### + +add_qt_executable(easing + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/animation/easing" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/animation/easing" + SOURCES + animation.h + form.ui + main.cpp + window.cpp window.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(easing "easing" FILES + images/qt-logo.png) + diff --git a/examples/widgets/animation/moveblocks/CMakeLists.txt b/examples/widgets/animation/moveblocks/CMakeLists.txt new file mode 100644 index 0000000000..5cbb8f4936 --- /dev/null +++ b/examples/widgets/animation/moveblocks/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from moveblocks.pro. + +##################################################################### +## moveblocks Binary: +##################################################################### + +add_qt_executable(moveblocks + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/animation/moveblocks" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/animation/moveblocks" + SOURCES + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/animation/states/CMakeLists.txt b/examples/widgets/animation/states/CMakeLists.txt new file mode 100644 index 0000000000..52a9357789 --- /dev/null +++ b/examples/widgets/animation/states/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from states.pro. + +##################################################################### +## states Binary: +##################################################################### + +add_qt_executable(states + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/animation/states" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/animation/states" + SOURCES + main.cpp + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(states "states" FILES + accessories-dictionary.png + akregator.png + digikam.png + help-browser.png + k3b.png + kchart.png) + diff --git a/examples/widgets/animation/stickman/CMakeLists.txt b/examples/widgets/animation/stickman/CMakeLists.txt new file mode 100644 index 0000000000..f604598232 --- /dev/null +++ b/examples/widgets/animation/stickman/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from stickman.pro. + +##################################################################### +## stickman Binary: +##################################################################### + +add_qt_executable(stickman + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/animation/stickman" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/animation/stickman" + SOURCES + animation.cpp animation.h + graphicsview.cpp graphicsview.h + lifecycle.cpp lifecycle.h + main.cpp + node.cpp node.h + rectbutton.cpp rectbutton.h + stickman.cpp stickman.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(stickman "stickman" FILES + animations/chilling.bin + animations/dancing.bin + animations/dead.bin + animations/jumping.bin) + diff --git a/examples/widgets/animation/sub-attaq/CMakeLists.txt b/examples/widgets/animation/sub-attaq/CMakeLists.txt new file mode 100644 index 0000000000..e7cb602e19 --- /dev/null +++ b/examples/widgets/animation/sub-attaq/CMakeLists.txt @@ -0,0 +1,142 @@ +# Generated from sub-attaq.pro. + +##################################################################### +## sub-attaq Binary: +##################################################################### + +add_qt_executable(sub-attaq + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/animation/sub-attaq" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/animation/sub-attaq" + SOURCES + animationmanager.cpp animationmanager.h + boat.cpp boat.h boat_p.h + bomb.cpp bomb.h + graphicsscene.cpp graphicsscene.h + main.cpp + mainwindow.cpp mainwindow.h + pixmapitem.cpp pixmapitem.h + progressitem.cpp progressitem.h + qanimationstate.cpp qanimationstate.h + states.cpp states.h + submarine.cpp submarine.h submarine_p.h + textinformationitem.cpp textinformationitem.h + torpedo.cpp torpedo.h + LIBRARIES + Qt::Widgets +) + +# Resources: +set_source_files_properties("pics/big/background.png" + PROPERTIES alias "big/background") +set_source_files_properties("pics/big/boat.png" + PROPERTIES alias "big/boat") +set_source_files_properties("pics/big/bomb.png" + PROPERTIES alias "big/bomb") +set_source_files_properties("pics/big/explosion/boat/step1.png" + PROPERTIES alias "big/explosion/boat/step1") +set_source_files_properties("pics/big/explosion/boat/step2.png" + PROPERTIES alias "big/explosion/boat/step2") +set_source_files_properties("pics/big/explosion/boat/step3.png" + PROPERTIES alias "big/explosion/boat/step3") +set_source_files_properties("pics/big/explosion/boat/step4.png" + PROPERTIES alias "big/explosion/boat/step4") +set_source_files_properties("pics/big/explosion/submarine/step1.png" + PROPERTIES alias "big/explosion/submarine/step1") +set_source_files_properties("pics/big/explosion/submarine/step2.png" + PROPERTIES alias "big/explosion/submarine/step2") +set_source_files_properties("pics/big/explosion/submarine/step3.png" + PROPERTIES alias "big/explosion/submarine/step3") +set_source_files_properties("pics/big/explosion/submarine/step4.png" + PROPERTIES alias "big/explosion/submarine/step4") +set_source_files_properties("pics/big/submarine.png" + PROPERTIES alias "big/submarine") +set_source_files_properties("pics/big/surface.png" + PROPERTIES alias "big/surface") +set_source_files_properties("pics/big/torpedo.png" + PROPERTIES alias "big/torpedo") +set_source_files_properties("pics/scalable/boat.svg" + PROPERTIES alias "boat") +set_source_files_properties("pics/scalable/sub-attaq.svg" + PROPERTIES alias "all") +set_source_files_properties("pics/scalable/submarine.svg" + PROPERTIES alias "submarine") +set_source_files_properties("pics/scalable/torpedo.svg" + PROPERTIES alias "torpedo") +set_source_files_properties("pics/small/background.png" + PROPERTIES alias "small/background") +set_source_files_properties("pics/small/boat.png" + PROPERTIES alias "small/boat") +set_source_files_properties("pics/small/bomb.png" + PROPERTIES alias "small/bomb") +set_source_files_properties("pics/small/submarine.png" + PROPERTIES alias "small/submarine") +set_source_files_properties("pics/small/surface.png" + PROPERTIES alias "small/surface") +set_source_files_properties("pics/small/torpedo.png" + PROPERTIES alias "small/torpedo") +set_source_files_properties("pics/welcome/logo-a.png" + PROPERTIES alias "logo-a") +set_source_files_properties("pics/welcome/logo-a2.png" + PROPERTIES alias "logo-a2") +set_source_files_properties("pics/welcome/logo-b.png" + PROPERTIES alias "logo-b") +set_source_files_properties("pics/welcome/logo-dash.png" + PROPERTIES alias "logo-dash") +set_source_files_properties("pics/welcome/logo-excl.png" + PROPERTIES alias "logo-excl") +set_source_files_properties("pics/welcome/logo-q.png" + PROPERTIES alias "logo-q") +set_source_files_properties("pics/welcome/logo-s.png" + PROPERTIES alias "logo-s") +set_source_files_properties("pics/welcome/logo-t.png" + PROPERTIES alias "logo-t") +set_source_files_properties("pics/welcome/logo-t2.png" + PROPERTIES alias "logo-t2") +set_source_files_properties("pics/welcome/logo-u.png" + PROPERTIES alias "logo-u") +add_qt_resource(sub-attaq "subattaq" PREFIX "/" FILES + data.xml + pics/big/background.png + pics/big/boat.png + pics/big/bomb.png + pics/big/explosion/boat/step1.png + pics/big/explosion/boat/step2.png + pics/big/explosion/boat/step3.png + pics/big/explosion/boat/step4.png + pics/big/explosion/submarine/step1.png + pics/big/explosion/submarine/step2.png + pics/big/explosion/submarine/step3.png + pics/big/explosion/submarine/step4.png + pics/big/submarine.png + pics/big/surface.png + pics/big/torpedo.png + pics/scalable/boat.svg + pics/scalable/sub-attaq.svg + pics/scalable/submarine.svg + pics/scalable/torpedo.svg + pics/small/background.png + pics/small/boat.png + pics/small/bomb.png + pics/small/submarine.png + pics/small/surface.png + pics/small/torpedo.png + pics/welcome/logo-a.png + pics/welcome/logo-a2.png + pics/welcome/logo-b.png + pics/welcome/logo-dash.png + pics/welcome/logo-excl.png + pics/welcome/logo-q.png + pics/welcome/logo-s.png + pics/welcome/logo-t.png + pics/welcome/logo-t2.png + pics/welcome/logo-u.png) + + +## Scopes: +##################################################################### + +extend_target(sub-attaq CONDITION TARGET Qt::OpenGL + LIBRARIES + Qt::OpenGL +) diff --git a/examples/widgets/desktop/CMakeLists.txt b/examples/widgets/desktop/CMakeLists.txt new file mode 100644 index 0000000000..a50d3c2f0a --- /dev/null +++ b/examples/widgets/desktop/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from desktop.pro. + +add_subdirectory(screenshot) +add_subdirectory(systray) diff --git a/examples/widgets/desktop/screenshot/CMakeLists.txt b/examples/widgets/desktop/screenshot/CMakeLists.txt new file mode 100644 index 0000000000..1956e3800e --- /dev/null +++ b/examples/widgets/desktop/screenshot/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from screenshot.pro. + +##################################################################### +## screenshot Binary: +##################################################################### + +add_qt_executable(screenshot + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/desktop/screenshot" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/desktop/screenshot" + SOURCES + main.cpp + screenshot.cpp screenshot.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/desktop/systray/CMakeLists.txt b/examples/widgets/desktop/systray/CMakeLists.txt new file mode 100644 index 0000000000..9f5d05e751 --- /dev/null +++ b/examples/widgets/desktop/systray/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from systray.pro. + +##################################################################### +## systray Binary: +##################################################################### + +add_qt_executable(systray + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/desktop/systray" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/desktop/systray" + SOURCES + main.cpp + window.cpp window.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(systray "systray" PREFIX "/" FILES + images/bad.png + images/heart.png + images/trash.png) + diff --git a/examples/widgets/dialogs/CMakeLists.txt b/examples/widgets/dialogs/CMakeLists.txt new file mode 100644 index 0000000000..c9d6823adc --- /dev/null +++ b/examples/widgets/dialogs/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from dialogs.pro. + +add_subdirectory(extension) +add_subdirectory(findfiles) +if(TARGET Qt::PrintSupport AND QT_FEATURE_wizard) # special case + add_subdirectory(licensewizard) +endif() +add_subdirectory(standarddialogs) +add_subdirectory(tabdialog) + +if(QT_FEATURE_wizard) # special case + add_subdirectory(classwizard) + add_subdirectory(trivialwizard) +endif() diff --git a/examples/widgets/dialogs/classwizard/CMakeLists.txt b/examples/widgets/dialogs/classwizard/CMakeLists.txt new file mode 100644 index 0000000000..6d1cf9bab8 --- /dev/null +++ b/examples/widgets/dialogs/classwizard/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from classwizard.pro. + +##################################################################### +## classwizard Binary: +##################################################################### + +add_qt_executable(classwizard + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/dialogs/classwizard" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/dialogs/classwizard" + SOURCES + classwizard.cpp classwizard.h + main.cpp + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(classwizard "classwizard" FILES + images/background.png + images/banner.png + images/logo1.png + images/logo2.png + images/logo3.png + images/watermark1.png + images/watermark2.png) + diff --git a/examples/widgets/dialogs/extension/CMakeLists.txt b/examples/widgets/dialogs/extension/CMakeLists.txt new file mode 100644 index 0000000000..400cf23989 --- /dev/null +++ b/examples/widgets/dialogs/extension/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from extension.pro. + +##################################################################### +## extension Binary: +##################################################################### + +add_qt_executable(extension + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/dialogs/extension" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/dialogs/extension" + SOURCES + finddialog.cpp finddialog.h + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/dialogs/findfiles/CMakeLists.txt b/examples/widgets/dialogs/findfiles/CMakeLists.txt new file mode 100644 index 0000000000..26442a71b1 --- /dev/null +++ b/examples/widgets/dialogs/findfiles/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from findfiles.pro. + +##################################################################### +## findfiles Binary: +##################################################################### + +add_qt_executable(findfiles + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/dialogs/findfiles" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/dialogs/findfiles" + SOURCES + main.cpp + window.cpp window.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/dialogs/licensewizard/CMakeLists.txt b/examples/widgets/dialogs/licensewizard/CMakeLists.txt new file mode 100644 index 0000000000..78b8cb7f51 --- /dev/null +++ b/examples/widgets/dialogs/licensewizard/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from licensewizard.pro. + +##################################################################### +## licensewizard Binary: +##################################################################### + +add_qt_executable(licensewizard + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/dialogs/licensewizard" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/dialogs/licensewizard" + SOURCES + licensewizard.cpp licensewizard.h + main.cpp + LIBRARIES + Qt::Widgets + Qt::PrintSupport +) + +# Resources: +add_qt_resource(licensewizard "licensewizard" FILES + images/logo.png + images/watermark.png) + diff --git a/examples/widgets/dialogs/standarddialogs/CMakeLists.txt b/examples/widgets/dialogs/standarddialogs/CMakeLists.txt new file mode 100644 index 0000000000..3c0ddc0199 --- /dev/null +++ b/examples/widgets/dialogs/standarddialogs/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from standarddialogs.pro. + +##################################################################### +## standarddialogs Binary: +##################################################################### + +add_qt_executable(standarddialogs + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/dialogs/standarddialogs" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/dialogs/standarddialogs" + SOURCES + dialog.cpp dialog.h + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/dialogs/tabdialog/CMakeLists.txt b/examples/widgets/dialogs/tabdialog/CMakeLists.txt new file mode 100644 index 0000000000..a8cbbb4b4e --- /dev/null +++ b/examples/widgets/dialogs/tabdialog/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from tabdialog.pro. + +##################################################################### +## tabdialog Binary: +##################################################################### + +add_qt_executable(tabdialog + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/dialogs/tabdialog" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/dialogs/tabdialog" + SOURCES + main.cpp + tabdialog.cpp tabdialog.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/dialogs/trivialwizard/CMakeLists.txt b/examples/widgets/dialogs/trivialwizard/CMakeLists.txt new file mode 100644 index 0000000000..2deae77c0d --- /dev/null +++ b/examples/widgets/dialogs/trivialwizard/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from trivialwizard.pro. + +##################################################################### +## trivialwizard Binary: +##################################################################### + +add_qt_executable(trivialwizard + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/dialogs/trivialwizard" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/dialogs/trivialwizard" + SOURCES + trivialwizard.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/draganddrop/CMakeLists.txt b/examples/widgets/draganddrop/CMakeLists.txt new file mode 100644 index 0000000000..fbad523a73 --- /dev/null +++ b/examples/widgets/draganddrop/CMakeLists.txt @@ -0,0 +1,7 @@ +# Generated from draganddrop.pro. + +add_subdirectory(draggableicons) +add_subdirectory(draggabletext) +add_subdirectory(dropsite) +add_subdirectory(fridgemagnets) +add_subdirectory(puzzle) diff --git a/examples/widgets/draganddrop/draggableicons/CMakeLists.txt b/examples/widgets/draganddrop/draggableicons/CMakeLists.txt new file mode 100644 index 0000000000..62a7be0cef --- /dev/null +++ b/examples/widgets/draganddrop/draggableicons/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from draggableicons.pro. + +##################################################################### +## draggableicons Binary: +##################################################################### + +add_qt_executable(draggableicons + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/draganddrop/draggableicons" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/draganddrop/draggableicons" + SOURCES + dragwidget.cpp dragwidget.h + main.cpp + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(draggableicons "draggableicons" FILES + images/boat.png + images/car.png + images/house.png) + diff --git a/examples/widgets/draganddrop/draggabletext/CMakeLists.txt b/examples/widgets/draganddrop/draggabletext/CMakeLists.txt new file mode 100644 index 0000000000..96ec5feff6 --- /dev/null +++ b/examples/widgets/draganddrop/draggabletext/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from draggabletext.pro. + +##################################################################### +## draggabletext Binary: +##################################################################### + +add_qt_executable(draggabletext + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/draganddrop/draggabletext" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/draganddrop/draggabletext" + SOURCES + dragwidget.cpp dragwidget.h + main.cpp + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(draggabletext "draggabletext" PREFIX "/dictionary" FILES + words.txt) + diff --git a/examples/widgets/draganddrop/dropsite/CMakeLists.txt b/examples/widgets/draganddrop/dropsite/CMakeLists.txt new file mode 100644 index 0000000000..0d54133750 --- /dev/null +++ b/examples/widgets/draganddrop/dropsite/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from dropsite.pro. + +##################################################################### +## dropsite Binary: +##################################################################### + +add_qt_executable(dropsite + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/draganddrop/dropsite" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/draganddrop/dropsite" + SOURCES + droparea.cpp droparea.h + dropsitewindow.cpp dropsitewindow.h + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/draganddrop/fridgemagnets/CMakeLists.txt b/examples/widgets/draganddrop/fridgemagnets/CMakeLists.txt new file mode 100644 index 0000000000..fcd7f3da15 --- /dev/null +++ b/examples/widgets/draganddrop/fridgemagnets/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from fridgemagnets.pro. + +##################################################################### +## fridgemagnets Binary: +##################################################################### + +add_qt_executable(fridgemagnets + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/draganddrop/fridgemagnets" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/draganddrop/fridgemagnets" + SOURCES + draglabel.cpp draglabel.h + dragwidget.cpp dragwidget.h + main.cpp + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(fridgemagnets "fridgemagnets" PREFIX "/dictionary" FILES + words.txt) + 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" diff --git a/examples/widgets/effects/CMakeLists.txt b/examples/widgets/effects/CMakeLists.txt new file mode 100644 index 0000000000..6e8a892de1 --- /dev/null +++ b/examples/widgets/effects/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from effects.pro. + +add_subdirectory(blurpicker) +add_subdirectory(fademessage) diff --git a/examples/widgets/effects/blurpicker/CMakeLists.txt b/examples/widgets/effects/blurpicker/CMakeLists.txt new file mode 100644 index 0000000000..f534c47102 --- /dev/null +++ b/examples/widgets/effects/blurpicker/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from blurpicker.pro. + +##################################################################### +## blurpicker Binary: +##################################################################### + +add_qt_executable(blurpicker + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/effects/blurpicker" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/effects/blurpicker" + SOURCES + blureffect.cpp blureffect.h + blurpicker.cpp blurpicker.h + main.cpp + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(blurpicker "blurpicker" PREFIX "/" FILES + images/accessories-calculator.png + images/accessories-text-editor.png + images/background.jpg + images/help-browser.png + images/internet-group-chat.png + images/internet-mail.png + images/internet-web-browser.png + images/office-calendar.png + images/system-users.png) + diff --git a/examples/widgets/effects/fademessage/CMakeLists.txt b/examples/widgets/effects/fademessage/CMakeLists.txt new file mode 100644 index 0000000000..838a10022e --- /dev/null +++ b/examples/widgets/effects/fademessage/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from fademessage.pro. + +##################################################################### +## fademessage Binary: +##################################################################### + +add_qt_executable(fademessage + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/effects/fademessage" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/effects/fademessage" + SOURCES + fademessage.cpp fademessage.h + main.cpp + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(fademessage "fademessage" PREFIX "/" FILES + background.jpg) + diff --git a/examples/widgets/gestures/CMakeLists.txt b/examples/widgets/gestures/CMakeLists.txt new file mode 100644 index 0000000000..0f9f95b72f --- /dev/null +++ b/examples/widgets/gestures/CMakeLists.txt @@ -0,0 +1,3 @@ +# Generated from gestures.pro. + +add_subdirectory(imagegestures) diff --git a/examples/widgets/gestures/imagegestures/CMakeLists.txt b/examples/widgets/gestures/imagegestures/CMakeLists.txt new file mode 100644 index 0000000000..4862654314 --- /dev/null +++ b/examples/widgets/gestures/imagegestures/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from imagegestures.pro. + +##################################################################### +## imagegestures Binary: +##################################################################### + +add_qt_executable(imagegestures + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/gestures/imagegestures" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/gestures/imagegestures" + SOURCES + imagewidget.cpp imagewidget.h + main.cpp + mainwidget.cpp mainwidget.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/graphicsview/CMakeLists.txt b/examples/widgets/graphicsview/CMakeLists.txt new file mode 100644 index 0000000000..19f60011e5 --- /dev/null +++ b/examples/widgets/graphicsview/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from graphicsview.pro. + +add_subdirectory(chip) +add_subdirectory(elasticnodes) +add_subdirectory(embeddeddialogs) +add_subdirectory(collidingmice) +add_subdirectory(padnavigator) +add_subdirectory(basicgraphicslayouts) +add_subdirectory(diagramscene) +if(QT_FEATURE_cursor AND QT_FEATURE_draganddrop) + add_subdirectory(dragdroprobot) +endif() +add_subdirectory(flowlayout) +add_subdirectory(anchorlayout) +add_subdirectory(simpleanchorlayout) +add_subdirectory(weatheranchorlayout) + +if(TARGET Qt::OpenGL AND NOT QT_FEATURE_opengles2 AND NOT QT_FEATURE_dynamicgl) + add_subdirectory(boxes) +endif() diff --git a/examples/widgets/graphicsview/anchorlayout/CMakeLists.txt b/examples/widgets/graphicsview/anchorlayout/CMakeLists.txt new file mode 100644 index 0000000000..8149f96784 --- /dev/null +++ b/examples/widgets/graphicsview/anchorlayout/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from anchorlayout.pro. + +##################################################################### +## anchorlayout Binary: +##################################################################### + +add_qt_executable(anchorlayout + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/anchorlayout" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/anchorlayout" + SOURCES + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/graphicsview/basicgraphicslayouts/CMakeLists.txt b/examples/widgets/graphicsview/basicgraphicslayouts/CMakeLists.txt new file mode 100644 index 0000000000..d285a35ecc --- /dev/null +++ b/examples/widgets/graphicsview/basicgraphicslayouts/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from basicgraphicslayouts.pro. + +##################################################################### +## basicgraphicslayouts Binary: +##################################################################### + +add_qt_executable(basicgraphicslayouts + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/basicgraphicslayouts" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/basicgraphicslayouts" + SOURCES + layoutitem.cpp layoutitem.h + main.cpp + window.cpp window.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(basicgraphicslayouts "basicgraphicslayouts" FILES + images/block.png) + diff --git a/examples/widgets/graphicsview/boxes/CMakeLists.txt b/examples/widgets/graphicsview/boxes/CMakeLists.txt new file mode 100644 index 0000000000..10ff8b5b47 --- /dev/null +++ b/examples/widgets/graphicsview/boxes/CMakeLists.txt @@ -0,0 +1,55 @@ +# Generated from boxes.pro. + +find_package(WrapOpenGL) + +##################################################################### +## boxes Binary: +##################################################################### + +add_qt_executable(boxes + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/boxes" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/boxes" + SOURCES + 3rdparty/fbm.c 3rdparty/fbm.h + glbuffers.cpp glbuffers.h + glextensions.cpp glextensions.h + gltrianglemesh.h + main.cpp + qtbox.cpp qtbox.h + roundedbox.cpp roundedbox.h + scene.cpp scene.h + trackball.cpp trackball.h + LIBRARIES + Qt::OpenGL + Qt::Widgets + WrapOpenGL +) + +# Resources: +add_qt_resource(boxes "boxes" PREFIX "/res/boxes" FILES + basic.fsh + basic.vsh + cubemap_negx.jpg + cubemap_negy.jpg + cubemap_negz.jpg + cubemap_posx.jpg + cubemap_posy.jpg + cubemap_posz.jpg + dotted.fsh + fresnel.fsh + glass.fsh + granite.fsh + marble.fsh + parameters.par + qt-logo.jpg + qt-logo.png + reflection.fsh + refraction.fsh + smiley.png + square.jpg + wood.fsh) + + +## Scopes: +##################################################################### diff --git a/examples/widgets/graphicsview/chip/CMakeLists.txt b/examples/widgets/graphicsview/chip/CMakeLists.txt new file mode 100644 index 0000000000..566a8aae02 --- /dev/null +++ b/examples/widgets/graphicsview/chip/CMakeLists.txt @@ -0,0 +1,44 @@ +# Generated from chip.pro. + +##################################################################### +## chip Binary: +##################################################################### + +add_qt_executable(chip + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/chip" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/chip" + SOURCES + chip.cpp chip.h + main.cpp + mainwindow.cpp mainwindow.h + view.cpp view.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(chip "images" FILES + fileprint.png + qt4logo.png + rotateleft.png + rotateright.png + zoomin.png + zoomout.png) + + +## Scopes: +##################################################################### + +extend_target(chip CONDITION TARGET Qt::PrintSupport + LIBRARIES + Qt::PrintSupport +) + +extend_target(chip CONDITION TARGET Qt::OpenGL + LIBRARIES + Qt::OpenGL +) + +#### Keys ignored in scope 4:.:chip.pro:build_all AND NOT build_pass: +# CONFIG = "-build_all" "release" diff --git a/examples/widgets/graphicsview/collidingmice/CMakeLists.txt b/examples/widgets/graphicsview/collidingmice/CMakeLists.txt new file mode 100644 index 0000000000..5455bec89e --- /dev/null +++ b/examples/widgets/graphicsview/collidingmice/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from collidingmice.pro. + +##################################################################### +## collidingmice Binary: +##################################################################### + +add_qt_executable(collidingmice + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/collidingmice" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/collidingmice" + SOURCES + main.cpp + mouse.cpp mouse.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(collidingmice "mice" PREFIX "/" FILES + images/cheese.jpg) + diff --git a/examples/widgets/graphicsview/diagramscene/CMakeLists.txt b/examples/widgets/graphicsview/diagramscene/CMakeLists.txt new file mode 100644 index 0000000000..fb3ff6c712 --- /dev/null +++ b/examples/widgets/graphicsview/diagramscene/CMakeLists.txt @@ -0,0 +1,39 @@ +# Generated from diagramscene.pro. + +##################################################################### +## diagramscene Binary: +##################################################################### + +add_qt_executable(diagramscene + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/diagramscene" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/diagramscene" + SOURCES + arrow.cpp arrow.h + diagramitem.cpp diagramitem.h + diagramscene.cpp diagramscene.h + diagramtextitem.cpp diagramtextitem.h + main.cpp + mainwindow.cpp mainwindow.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(diagramscene "diagramscene" FILES + images/background1.png + images/background2.png + images/background3.png + images/background4.png + images/bold.png + images/bringtofront.png + images/delete.png + images/floodfill.png + images/italic.png + images/linecolor.png + images/linepointer.png + images/pointer.png + images/sendtoback.png + images/textpointer.png + images/underline.png) + diff --git a/examples/widgets/graphicsview/dragdroprobot/CMakeLists.txt b/examples/widgets/graphicsview/dragdroprobot/CMakeLists.txt new file mode 100644 index 0000000000..76932368e8 --- /dev/null +++ b/examples/widgets/graphicsview/dragdroprobot/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from dragdroprobot.pro. + +##################################################################### +## dragdroprobot Binary: +##################################################################### + +add_qt_executable(dragdroprobot + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/dragdroprobot" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/dragdroprobot" + SOURCES + coloritem.cpp coloritem.h + main.cpp + robot.cpp robot.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(dragdroprobot "robot" PREFIX "/" FILES + images/head.png) + diff --git a/examples/widgets/graphicsview/elasticnodes/CMakeLists.txt b/examples/widgets/graphicsview/elasticnodes/CMakeLists.txt new file mode 100644 index 0000000000..d1c10327b0 --- /dev/null +++ b/examples/widgets/graphicsview/elasticnodes/CMakeLists.txt @@ -0,0 +1,18 @@ +# Generated from elasticnodes.pro. + +##################################################################### +## elasticnodes Binary: +##################################################################### + +add_qt_executable(elasticnodes + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/elasticnodes" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/elasticnodes" + SOURCES + edge.cpp edge.h + graphwidget.cpp graphwidget.h + main.cpp + node.cpp node.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/graphicsview/embeddeddialogs/CMakeLists.txt b/examples/widgets/graphicsview/embeddeddialogs/CMakeLists.txt new file mode 100644 index 0000000000..d31e15102e --- /dev/null +++ b/examples/widgets/graphicsview/embeddeddialogs/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from embeddeddialogs.pro. + +##################################################################### +## embeddeddialogs Binary: +##################################################################### + +add_qt_executable(embeddeddialogs + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/embeddeddialogs" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/embeddeddialogs" + SOURCES + customproxy.cpp customproxy.h + embeddeddialog.cpp embeddeddialog.h embeddeddialog.ui + main.cpp + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(embeddeddialogs "embeddeddialogs" FILES + No-Ones-Laughing-3.jpg) + + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:embeddeddialogs.pro:build_all AND NOT build_pass: +# CONFIG = "-build_all" "release" diff --git a/examples/widgets/graphicsview/flowlayout/CMakeLists.txt b/examples/widgets/graphicsview/flowlayout/CMakeLists.txt new file mode 100644 index 0000000000..2d313ff700 --- /dev/null +++ b/examples/widgets/graphicsview/flowlayout/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from flowlayout.pro. + +##################################################################### +## flowlayout Binary: +##################################################################### + +add_qt_executable(flowlayout + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/flowlayout" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/flowlayout" + SOURCES + flowlayout.cpp flowlayout.h + main.cpp + window.cpp window.h + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:flowlayout.pro:: +# QMAKE_PROJECT_NAME = "flowlayout_graphicsview" diff --git a/examples/widgets/graphicsview/padnavigator/CMakeLists.txt b/examples/widgets/graphicsview/padnavigator/CMakeLists.txt new file mode 100644 index 0000000000..ad879d3a8b --- /dev/null +++ b/examples/widgets/graphicsview/padnavigator/CMakeLists.txt @@ -0,0 +1,43 @@ +# Generated from padnavigator.pro. + +##################################################################### +## padnavigator Binary: +##################################################################### + +add_qt_executable(padnavigator + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/padnavigator" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/padnavigator" + SOURCES + flippablepad.cpp flippablepad.h + form.ui + main.cpp + padnavigator.cpp padnavigator.h + roundrectitem.cpp roundrectitem.h + splashitem.cpp splashitem.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(padnavigator "padnavigator" FILES + images/artsfftscope.png + images/blue_angle_swirl.jpg + images/kontact_contacts.png + images/kontact_journal.png + images/kontact_mail.png + images/kontact_notes.png + images/kopeteavailable.png + images/metacontact_online.png + images/minitools.png) + + +#### Keys ignored in scope 1:.:padnavigator.pro:: +# CONFIG = "console" + +## Scopes: +##################################################################### + +extend_target(padnavigator CONDITION TARGET Qt::OpenGL + LIBRARIES + Qt::OpenGL +) diff --git a/examples/widgets/graphicsview/simpleanchorlayout/CMakeLists.txt b/examples/widgets/graphicsview/simpleanchorlayout/CMakeLists.txt new file mode 100644 index 0000000000..87e4742b44 --- /dev/null +++ b/examples/widgets/graphicsview/simpleanchorlayout/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from simpleanchorlayout.pro. + +##################################################################### +## simpleanchorlayout Binary: +##################################################################### + +add_qt_executable(simpleanchorlayout + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/simpleanchorlayout" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/simpleanchorlayout" + SOURCES + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/graphicsview/weatheranchorlayout/CMakeLists.txt b/examples/widgets/graphicsview/weatheranchorlayout/CMakeLists.txt new file mode 100644 index 0000000000..5a20bbdb2e --- /dev/null +++ b/examples/widgets/graphicsview/weatheranchorlayout/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from weatheranchorlayout.pro. + +##################################################################### +## weatheranchorlayout Binary: +##################################################################### + +add_qt_executable(weatheranchorlayout + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/weatheranchorlayout" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/weatheranchorlayout" + SOURCES + main.cpp + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(weatheranchorlayout "weatheranchorlayout" FILES + images/5days.jpg + images/details.jpg + images/place.jpg + images/tabbar.jpg + images/title.jpg + images/weather-few-clouds.png) + diff --git a/examples/widgets/itemviews/CMakeLists.txt b/examples/widgets/itemviews/CMakeLists.txt new file mode 100644 index 0000000000..a1bd0c4dca --- /dev/null +++ b/examples/widgets/itemviews/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from itemviews.pro. + +add_subdirectory(addressbook) +add_subdirectory(basicsortfiltermodel) +add_subdirectory(chart) +add_subdirectory(coloreditorfactory) +add_subdirectory(combowidgetmapper) +add_subdirectory(customsortfiltermodel) +add_subdirectory(dirview) +add_subdirectory(editabletreemodel) +add_subdirectory(fetchmore) +add_subdirectory(flattreeview) +add_subdirectory(frozencolumn) +add_subdirectory(interview) +add_subdirectory(pixelator) +if(QT_FEATURE_draganddrop) # special case + add_subdirectory(puzzle) +endif() +if(TARGET Qt::Xml) # special case + add_subdirectory(simpledommodel) +endif() +add_subdirectory(simpletreemodel) +add_subdirectory(simplewidgetmapper) +add_subdirectory(spinboxdelegate) +add_subdirectory(spreadsheet) +add_subdirectory(stardelegate) +add_subdirectory(storageview) diff --git a/examples/widgets/itemviews/addressbook/CMakeLists.txt b/examples/widgets/itemviews/addressbook/CMakeLists.txt new file mode 100644 index 0000000000..cee0ef70e2 --- /dev/null +++ b/examples/widgets/itemviews/addressbook/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from addressbook.pro. + +##################################################################### +## addressbook Binary: +##################################################################### + +add_qt_executable(addressbook + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/addressbook" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/addressbook" + SOURCES + adddialog.cpp adddialog.h + addresswidget.cpp addresswidget.h + main.cpp + mainwindow.cpp mainwindow.h + newaddresstab.cpp newaddresstab.h + tablemodel.cpp tablemodel.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/itemviews/basicsortfiltermodel/CMakeLists.txt b/examples/widgets/itemviews/basicsortfiltermodel/CMakeLists.txt new file mode 100644 index 0000000000..6da9a73867 --- /dev/null +++ b/examples/widgets/itemviews/basicsortfiltermodel/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from basicsortfiltermodel.pro. + +##################################################################### +## basicsortfiltermodel Binary: +##################################################################### + +add_qt_executable(basicsortfiltermodel + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/basicsortfiltermodel" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/basicsortfiltermodel" + SOURCES + main.cpp + window.cpp window.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/itemviews/chart/CMakeLists.txt b/examples/widgets/itemviews/chart/CMakeLists.txt new file mode 100644 index 0000000000..9d707d1ec6 --- /dev/null +++ b/examples/widgets/itemviews/chart/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from chart.pro. + +##################################################################### +## chart Binary: +##################################################################### + +add_qt_executable(chart + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/chart" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/chart" + SOURCES + main.cpp + mainwindow.cpp mainwindow.h + pieview.cpp pieview.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(chart "chart" PREFIX "/Charts" FILES + qtdata.cht) + + +## Scopes: +##################################################################### + +extend_target(chart CONDITION UNIX AND NOT APPLE_OSX AND NOT HAIKU AND NOT INTEGRITY AND NOT VXWORKS + LIBRARIES + m +) diff --git a/examples/widgets/itemviews/coloreditorfactory/CMakeLists.txt b/examples/widgets/itemviews/coloreditorfactory/CMakeLists.txt new file mode 100644 index 0000000000..317489e6e2 --- /dev/null +++ b/examples/widgets/itemviews/coloreditorfactory/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from coloreditorfactory.pro. + +##################################################################### +## coloreditorfactory Binary: +##################################################################### + +add_qt_executable(coloreditorfactory + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/coloreditorfactory" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/coloreditorfactory" + SOURCES + colorlisteditor.cpp colorlisteditor.h + main.cpp + window.cpp window.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/itemviews/combowidgetmapper/CMakeLists.txt b/examples/widgets/itemviews/combowidgetmapper/CMakeLists.txt new file mode 100644 index 0000000000..326df33ba2 --- /dev/null +++ b/examples/widgets/itemviews/combowidgetmapper/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from combowidgetmapper.pro. + +##################################################################### +## combowidgetmapper Binary: +##################################################################### + +add_qt_executable(combowidgetmapper + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/combowidgetmapper" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/combowidgetmapper" + SOURCES + main.cpp + window.cpp window.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/itemviews/customsortfiltermodel/CMakeLists.txt b/examples/widgets/itemviews/customsortfiltermodel/CMakeLists.txt new file mode 100644 index 0000000000..6cbfa84ae1 --- /dev/null +++ b/examples/widgets/itemviews/customsortfiltermodel/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from customsortfiltermodel.pro. + +##################################################################### +## customsortfiltermodel Binary: +##################################################################### + +add_qt_executable(customsortfiltermodel + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/customsortfiltermodel" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/customsortfiltermodel" + SOURCES + filterwidget.cpp filterwidget.h + main.cpp + mysortfilterproxymodel.cpp mysortfilterproxymodel.h + window.cpp window.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(customsortfiltermodel "customsortfiltermodel" PREFIX "/" FILES + images/find.png) + diff --git a/examples/widgets/itemviews/dirview/CMakeLists.txt b/examples/widgets/itemviews/dirview/CMakeLists.txt new file mode 100644 index 0000000000..5ad3455249 --- /dev/null +++ b/examples/widgets/itemviews/dirview/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from dirview.pro. + +##################################################################### +## dirview Binary: +##################################################################### + +add_qt_executable(dirview + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/dirview" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/dirview" + SOURCES + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/itemviews/editabletreemodel/CMakeLists.txt b/examples/widgets/itemviews/editabletreemodel/CMakeLists.txt new file mode 100644 index 0000000000..699dfb1733 --- /dev/null +++ b/examples/widgets/itemviews/editabletreemodel/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from editabletreemodel.pro. + +##################################################################### +## editabletreemodel Binary: +##################################################################### + +add_qt_executable(editabletreemodel + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/editabletreemodel" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/editabletreemodel" + SOURCES + main.cpp + mainwindow.cpp mainwindow.h mainwindow.ui + treeitem.cpp treeitem.h + treemodel.cpp treemodel.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(editabletreemodel "editabletreemodel" PREFIX "/" FILES + default.txt) + diff --git a/examples/widgets/itemviews/fetchmore/CMakeLists.txt b/examples/widgets/itemviews/fetchmore/CMakeLists.txt new file mode 100644 index 0000000000..d3f2578302 --- /dev/null +++ b/examples/widgets/itemviews/fetchmore/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from fetchmore.pro. + +##################################################################### +## fetchmore Binary: +##################################################################### + +add_qt_executable(fetchmore + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/fetchmore" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/fetchmore" + SOURCES + filelistmodel.cpp filelistmodel.h + main.cpp + window.cpp window.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/itemviews/flattreeview/CMakeLists.txt b/examples/widgets/itemviews/flattreeview/CMakeLists.txt new file mode 100644 index 0000000000..c8bffce970 --- /dev/null +++ b/examples/widgets/itemviews/flattreeview/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from flattreeview.pro. + +##################################################################### +## flattreeview Binary: +##################################################################### + +add_qt_executable(flattreeview + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/flattreeview" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/flattreeview" + SOURCES + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/itemviews/frozencolumn/CMakeLists.txt b/examples/widgets/itemviews/frozencolumn/CMakeLists.txt new file mode 100644 index 0000000000..11e8a1e471 --- /dev/null +++ b/examples/widgets/itemviews/frozencolumn/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from frozencolumn.pro. + +##################################################################### +## frozencolumn Binary: +##################################################################### + +add_qt_executable(frozencolumn + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/frozencolumn" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/frozencolumn" + SOURCES + freezetablewidget.cpp freezetablewidget.h + main.cpp + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(frozencolumn "grades" PREFIX "/" FILES + grades.txt) + diff --git a/examples/widgets/itemviews/interview/CMakeLists.txt b/examples/widgets/itemviews/interview/CMakeLists.txt new file mode 100644 index 0000000000..d970348bc6 --- /dev/null +++ b/examples/widgets/itemviews/interview/CMakeLists.txt @@ -0,0 +1,32 @@ +# Generated from interview.pro. + +##################################################################### +## interview Binary: +##################################################################### + +add_qt_executable(interview + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/interview" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/interview" + SOURCES + main.cpp + model.cpp model.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(interview "interview" PREFIX "/" FILES + images/folder.png + images/interview.png + images/services.png) + + +#### Keys ignored in scope 1:.:interview.pro:: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:interview.pro:build_all AND NOT build_pass: +# CONFIG = "-build_all" "release" diff --git a/examples/widgets/itemviews/pixelator/CMakeLists.txt b/examples/widgets/itemviews/pixelator/CMakeLists.txt new file mode 100644 index 0000000000..fc29cde3b1 --- /dev/null +++ b/examples/widgets/itemviews/pixelator/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from pixelator.pro. + +##################################################################### +## pixelator Binary: +##################################################################### + +add_qt_executable(pixelator + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/pixelator" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/pixelator" + SOURCES + imagemodel.cpp imagemodel.h + main.cpp + mainwindow.cpp mainwindow.h + pixeldelegate.cpp pixeldelegate.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(pixelator "images" FILES + images/qt.png) + + +## Scopes: +##################################################################### + +extend_target(pixelator CONDITION TARGET Qt::PrintSupport + LIBRARIES + Qt::PrintSupport +) diff --git a/examples/widgets/itemviews/puzzle/CMakeLists.txt b/examples/widgets/itemviews/puzzle/CMakeLists.txt new file mode 100644 index 0000000000..a105278418 --- /dev/null +++ b/examples/widgets/itemviews/puzzle/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from puzzle.pro. + +##################################################################### +## puzzle Binary: +##################################################################### + +add_qt_executable(puzzle_itemview # special case + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/puzzle" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/puzzle" + SOURCES + main.cpp + mainwindow.cpp mainwindow.h + piecesmodel.cpp piecesmodel.h + puzzlewidget.cpp puzzlewidget.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(puzzle_itemview "puzzle" PREFIX "/images" FILES # special case + example.jpg) + diff --git a/examples/widgets/itemviews/simpledommodel/CMakeLists.txt b/examples/widgets/itemviews/simpledommodel/CMakeLists.txt new file mode 100644 index 0000000000..2514287049 --- /dev/null +++ b/examples/widgets/itemviews/simpledommodel/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from simpledommodel.pro. + +##################################################################### +## simpledommodel Binary: +##################################################################### + +add_qt_executable(simpledommodel + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/simpledommodel" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/simpledommodel" + SOURCES + domitem.cpp domitem.h + dommodel.cpp dommodel.h + main.cpp + mainwindow.cpp mainwindow.h + LIBRARIES + Qt::Xml + Qt::Widgets +) diff --git a/examples/widgets/itemviews/simpletreemodel/CMakeLists.txt b/examples/widgets/itemviews/simpletreemodel/CMakeLists.txt new file mode 100644 index 0000000000..1b50a3508c --- /dev/null +++ b/examples/widgets/itemviews/simpletreemodel/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from simpletreemodel.pro. + +##################################################################### +## simpletreemodel Binary: +##################################################################### + +add_qt_executable(simpletreemodel + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/simpletreemodel" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/simpletreemodel" + SOURCES + main.cpp + treeitem.cpp treeitem.h + treemodel.cpp treemodel.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(simpletreemodel "simpletreemodel" FILES + default.txt) + diff --git a/examples/widgets/itemviews/simplewidgetmapper/CMakeLists.txt b/examples/widgets/itemviews/simplewidgetmapper/CMakeLists.txt new file mode 100644 index 0000000000..849f7e2969 --- /dev/null +++ b/examples/widgets/itemviews/simplewidgetmapper/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from simplewidgetmapper.pro. + +##################################################################### +## simplewidgetmapper Binary: +##################################################################### + +add_qt_executable(simplewidgetmapper + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/simplewidgetmapper" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/simplewidgetmapper" + SOURCES + main.cpp + window.cpp window.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/itemviews/spinboxdelegate/CMakeLists.txt b/examples/widgets/itemviews/spinboxdelegate/CMakeLists.txt new file mode 100644 index 0000000000..b8c24f591c --- /dev/null +++ b/examples/widgets/itemviews/spinboxdelegate/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from spinboxdelegate.pro. + +##################################################################### +## spinboxdelegate Binary: +##################################################################### + +add_qt_executable(spinboxdelegate + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/spinboxdelegate" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/spinboxdelegate" + SOURCES + delegate.cpp delegate.h + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/itemviews/spreadsheet/CMakeLists.txt b/examples/widgets/itemviews/spreadsheet/CMakeLists.txt new file mode 100644 index 0000000000..498164c1cd --- /dev/null +++ b/examples/widgets/itemviews/spreadsheet/CMakeLists.txt @@ -0,0 +1,35 @@ +# Generated from spreadsheet.pro. + +##################################################################### +## spreadsheet Binary: +##################################################################### + +add_qt_executable(spreadsheet + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/spreadsheet" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/spreadsheet" + SOURCES + main.cpp + printview.cpp printview.h + spreadsheet.cpp spreadsheet.h + spreadsheetdelegate.cpp spreadsheetdelegate.h + spreadsheetitem.cpp spreadsheetitem.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(spreadsheet "spreadsheet" PREFIX "/" FILES + images/interview.png) + + +## Scopes: +##################################################################### + +extend_target(spreadsheet CONDITION TARGET Qt::PrintSupport + LIBRARIES + Qt::PrintSupport +) + +#### Keys ignored in scope 3:.:spreadsheet.pro:build_all AND NOT build_pass: +# CONFIG = "-build_all" "release" diff --git a/examples/widgets/itemviews/stardelegate/CMakeLists.txt b/examples/widgets/itemviews/stardelegate/CMakeLists.txt new file mode 100644 index 0000000000..0b94a12fb6 --- /dev/null +++ b/examples/widgets/itemviews/stardelegate/CMakeLists.txt @@ -0,0 +1,18 @@ +# Generated from stardelegate.pro. + +##################################################################### +## stardelegate Binary: +##################################################################### + +add_qt_executable(stardelegate + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/stardelegate" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/stardelegate" + SOURCES + main.cpp + stardelegate.cpp stardelegate.h + stareditor.cpp stareditor.h + starrating.cpp starrating.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/itemviews/storageview/CMakeLists.txt b/examples/widgets/itemviews/storageview/CMakeLists.txt new file mode 100644 index 0000000000..efad83e1a1 --- /dev/null +++ b/examples/widgets/itemviews/storageview/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from storageview.pro. + +##################################################################### +## storageview Binary: +##################################################################### + +add_qt_executable(storageview + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/storageview" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/storageview" + SOURCES + main.cpp + storagemodel.cpp storagemodel.h + LIBRARIES + Qt::Gui + Qt::Widgets +) + +#### Keys ignored in scope 1:.:storageview.pro:: +# TEMPLATE = "app" diff --git a/examples/widgets/layouts/CMakeLists.txt b/examples/widgets/layouts/CMakeLists.txt new file mode 100644 index 0000000000..eaca669248 --- /dev/null +++ b/examples/widgets/layouts/CMakeLists.txt @@ -0,0 +1,6 @@ +# Generated from layouts.pro. + +add_subdirectory(basiclayouts) +add_subdirectory(borderlayout) +add_subdirectory(dynamiclayouts) +add_subdirectory(flowlayout) diff --git a/examples/widgets/layouts/basiclayouts/CMakeLists.txt b/examples/widgets/layouts/basiclayouts/CMakeLists.txt new file mode 100644 index 0000000000..28ac6a48b2 --- /dev/null +++ b/examples/widgets/layouts/basiclayouts/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from basiclayouts.pro. + +##################################################################### +## basiclayouts Binary: +##################################################################### + +add_qt_executable(basiclayouts + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/layouts/basiclayouts" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/layouts/basiclayouts" + SOURCES + dialog.cpp dialog.h + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/layouts/borderlayout/CMakeLists.txt b/examples/widgets/layouts/borderlayout/CMakeLists.txt new file mode 100644 index 0000000000..72cf6002a2 --- /dev/null +++ b/examples/widgets/layouts/borderlayout/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from borderlayout.pro. + +##################################################################### +## borderlayout Binary: +##################################################################### + +add_qt_executable(borderlayout + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/layouts/borderlayout" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/layouts/borderlayout" + SOURCES + borderlayout.cpp borderlayout.h + main.cpp + window.cpp window.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/layouts/dynamiclayouts/CMakeLists.txt b/examples/widgets/layouts/dynamiclayouts/CMakeLists.txt new file mode 100644 index 0000000000..47f935bf68 --- /dev/null +++ b/examples/widgets/layouts/dynamiclayouts/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from dynamiclayouts.pro. + +##################################################################### +## dynamiclayouts Binary: +##################################################################### + +add_qt_executable(dynamiclayouts + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/layouts/dynamiclayouts" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/layouts/dynamiclayouts" + SOURCES + dialog.cpp dialog.h + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/layouts/flowlayout/CMakeLists.txt b/examples/widgets/layouts/flowlayout/CMakeLists.txt new file mode 100644 index 0000000000..a887abb93e --- /dev/null +++ b/examples/widgets/layouts/flowlayout/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from flowlayout.pro. + +##################################################################### +## flowlayout Binary: +##################################################################### + +add_qt_executable(flowlayout_layout # special case + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/layouts/flowlayout" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/layouts/flowlayout" + SOURCES + flowlayout.cpp flowlayout.h + main.cpp + window.cpp window.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/mac/CMakeLists.txt b/examples/widgets/mac/CMakeLists.txt new file mode 100644 index 0000000000..82038acfae --- /dev/null +++ b/examples/widgets/mac/CMakeLists.txt @@ -0,0 +1,7 @@ +# Generated from mac.pro. + + +if(APPLE_OSX) + add_subdirectory(qmaccocoaviewcontainer) + add_subdirectory(qmacnativewidget) +endif() diff --git a/examples/widgets/mac/qmaccocoaviewcontainer/CMakeLists.txt b/examples/widgets/mac/qmaccocoaviewcontainer/CMakeLists.txt new file mode 100644 index 0000000000..52d1db1d9e --- /dev/null +++ b/examples/widgets/mac/qmaccocoaviewcontainer/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from qmaccocoaviewcontainer.pro. + +##################################################################### +## qmaccocoaviewcontainer Binary: +##################################################################### + +add_qt_executable(qmaccocoaviewcontainer + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/mac/qmaccocoaviewcontainer" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/mac/qmaccocoaviewcontainer" + SOURCES + main.mm + LIBRARIES + Qt::Widgets + ${FWAppKit} +) + +#### Keys ignored in scope 1:.:qmaccocoaviewcontainer.pro:: +# TEMPLATE = "app" diff --git a/examples/widgets/mac/qmacnativewidget/CMakeLists.txt b/examples/widgets/mac/qmacnativewidget/CMakeLists.txt new file mode 100644 index 0000000000..9708fae762 --- /dev/null +++ b/examples/widgets/mac/qmacnativewidget/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from qmacnativewidget.pro. + +##################################################################### +## qmacnativewidget Binary: +##################################################################### + +add_qt_executable(qmacnativewidget + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/mac/qmacnativewidget" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/mac/qmacnativewidget" + SOURCES + main.mm + LIBRARIES + Qt::Widgets + ${FWAppKit} +) + +#### Keys ignored in scope 1:.:qmacnativewidget.pro:: +# TEMPLATE = "app" diff --git a/examples/widgets/mainwindows/CMakeLists.txt b/examples/widgets/mainwindows/CMakeLists.txt new file mode 100644 index 0000000000..8bb5f52f92 --- /dev/null +++ b/examples/widgets/mainwindows/CMakeLists.txt @@ -0,0 +1,8 @@ +# Generated from mainwindows.pro. + +add_subdirectory(application) +add_subdirectory(dockwidgets) +add_subdirectory(mainwindow) +add_subdirectory(mdi) +add_subdirectory(menus) +add_subdirectory(sdi) diff --git a/examples/widgets/mainwindows/application/CMakeLists.txt b/examples/widgets/mainwindows/application/CMakeLists.txt new file mode 100644 index 0000000000..8a9bdea2c2 --- /dev/null +++ b/examples/widgets/mainwindows/application/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from application.pro. + +##################################################################### +## application Binary: +##################################################################### + +add_qt_executable(application + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/mainwindows/application" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/mainwindows/application" + SOURCES + main.cpp + mainwindow.cpp mainwindow.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(application "application" FILES + images/copy.png + images/cut.png + images/new.png + images/open.png + images/paste.png + images/save.png) + diff --git a/examples/widgets/mainwindows/dockwidgets/CMakeLists.txt b/examples/widgets/mainwindows/dockwidgets/CMakeLists.txt new file mode 100644 index 0000000000..e8fd580fd8 --- /dev/null +++ b/examples/widgets/mainwindows/dockwidgets/CMakeLists.txt @@ -0,0 +1,32 @@ +# Generated from dockwidgets.pro. + +##################################################################### +## dockwidgets Binary: +##################################################################### + +add_qt_executable(dockwidgets + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/mainwindows/dockwidgets" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/mainwindows/dockwidgets" + SOURCES + main.cpp + mainwindow.cpp mainwindow.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(dockwidgets "dockwidgets" FILES + images/new.png + images/print.png + images/save.png + images/undo.png) + + +## Scopes: +##################################################################### + +extend_target(dockwidgets CONDITION TARGET Qt::PrintSupport + LIBRARIES + Qt::PrintSupport +) diff --git a/examples/widgets/mainwindows/mainwindow/CMakeLists.txt b/examples/widgets/mainwindows/mainwindow/CMakeLists.txt new file mode 100644 index 0000000000..df1d9b6355 --- /dev/null +++ b/examples/widgets/mainwindows/mainwindow/CMakeLists.txt @@ -0,0 +1,35 @@ +# Generated from mainwindow.pro. + +##################################################################### +## mainwindow Binary: +##################################################################### + +add_qt_executable(mainwindow + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/mainwindows/mainwindow" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/mainwindows/mainwindow" + SOURCES + colorswatch.cpp colorswatch.h + main.cpp + mainwindow.cpp mainwindow.h + toolbar.cpp toolbar.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(mainwindow "mainwindow" PREFIX "/res" FILES + qt.png + titlebarCenter.png + titlebarLeft.png + titlebarRight.png) + + +#### Keys ignored in scope 1:.:mainwindow.pro:: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:mainwindow.pro:build_all AND NOT build_pass: +# CONFIG = "-build_all" "release" diff --git a/examples/widgets/mainwindows/mdi/CMakeLists.txt b/examples/widgets/mainwindows/mdi/CMakeLists.txt new file mode 100644 index 0000000000..c20acbdfca --- /dev/null +++ b/examples/widgets/mainwindows/mdi/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from mdi.pro. + +##################################################################### +## mdi Binary: +##################################################################### + +add_qt_executable(mdi + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/mainwindows/mdi" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/mainwindows/mdi" + SOURCES + main.cpp + mainwindow.cpp mainwindow.h + mdichild.cpp mdichild.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(mdi "mdi" FILES + images/copy.png + images/cut.png + images/new.png + images/open.png + images/paste.png + images/save.png) + diff --git a/examples/widgets/mainwindows/menus/CMakeLists.txt b/examples/widgets/mainwindows/menus/CMakeLists.txt new file mode 100644 index 0000000000..6d7e471a8c --- /dev/null +++ b/examples/widgets/mainwindows/menus/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from menus.pro. + +##################################################################### +## menus Binary: +##################################################################### + +add_qt_executable(menus + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/mainwindows/menus" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/mainwindows/menus" + SOURCES + main.cpp + mainwindow.cpp mainwindow.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/mainwindows/sdi/CMakeLists.txt b/examples/widgets/mainwindows/sdi/CMakeLists.txt new file mode 100644 index 0000000000..8391aa0cbc --- /dev/null +++ b/examples/widgets/mainwindows/sdi/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from sdi.pro. + +##################################################################### +## sdi Binary: +##################################################################### + +add_qt_executable(sdi + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/mainwindows/sdi" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/mainwindows/sdi" + SOURCES + main.cpp + mainwindow.cpp mainwindow.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(sdi "sdi" FILES + images/copy.png + images/cut.png + images/new.png + images/open.png + images/paste.png + images/save.png) + diff --git a/examples/widgets/painting/CMakeLists.txt b/examples/widgets/painting/CMakeLists.txt new file mode 100644 index 0000000000..e7d612da3b --- /dev/null +++ b/examples/widgets/painting/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from painting.pro. + +add_subdirectory(shared) # special case +add_subdirectory(basicdrawing) +add_subdirectory(concentriccircles) +add_subdirectory(affine) +# add_subdirectory(composition) # FIXME: Seems buggy wrt. usesOpenGL function +add_subdirectory(deform) +add_subdirectory(gradients) +add_subdirectory(pathstroke) +add_subdirectory(imagecomposition) +add_subdirectory(painterpaths) +add_subdirectory(transformations) +add_subdirectory(fontsampler) diff --git a/examples/widgets/painting/affine/CMakeLists.txt b/examples/widgets/painting/affine/CMakeLists.txt new file mode 100644 index 0000000000..cda43296dd --- /dev/null +++ b/examples/widgets/painting/affine/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from affine.pro. + +##################################################################### +## affine Binary: +##################################################################### + +add_qt_executable(affine + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/painting/affine" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/painting/affine" + SOURCES + main.cpp + xform.cpp xform.h + # INCLUDE_DIRECTORIES ../shared # special case + LIBRARIES # special case + painting_shared +) + +# Resources: +add_qt_resource(affine "affine" PREFIX "/res/affine" FILES + bg1.jpg + xform.cpp + xform.html) diff --git a/examples/widgets/painting/basicdrawing/CMakeLists.txt b/examples/widgets/painting/basicdrawing/CMakeLists.txt new file mode 100644 index 0000000000..176149dad5 --- /dev/null +++ b/examples/widgets/painting/basicdrawing/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from basicdrawing.pro. + +##################################################################### +## basicdrawing Binary: +##################################################################### + +add_qt_executable(basicdrawing + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/painting/basicdrawing" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/painting/basicdrawing" + SOURCES + main.cpp + renderarea.cpp renderarea.h + window.cpp window.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(basicdrawing "basicdrawing" FILES + images/brick.png + images/qt-logo.png) + diff --git a/examples/widgets/painting/composition/CMakeLists.txt b/examples/widgets/painting/composition/CMakeLists.txt new file mode 100644 index 0000000000..1e83bc4814 --- /dev/null +++ b/examples/widgets/painting/composition/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from composition.pro. + +##################################################################### +## composition Binary: +##################################################################### + +add_qt_executable(composition + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/painting/composition" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/painting/composition" + SOURCES + composition.cpp composition.h + main.cpp + LIBRARIES # special case + painting_shared +) + +# Resources: +add_qt_resource(composition "composition" PREFIX "/res/composition" FILES + composition.cpp + composition.html + flower.jpg + flower_alpha.jpg) diff --git a/examples/widgets/painting/concentriccircles/CMakeLists.txt b/examples/widgets/painting/concentriccircles/CMakeLists.txt new file mode 100644 index 0000000000..a2305782a5 --- /dev/null +++ b/examples/widgets/painting/concentriccircles/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from concentriccircles.pro. + +##################################################################### +## concentriccircles Binary: +##################################################################### + +add_qt_executable(concentriccircles + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/painting/concentriccircles" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/painting/concentriccircles" + SOURCES + circlewidget.cpp circlewidget.h + main.cpp + window.cpp window.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/painting/deform/CMakeLists.txt b/examples/widgets/painting/deform/CMakeLists.txt new file mode 100644 index 0000000000..67622da25d --- /dev/null +++ b/examples/widgets/painting/deform/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from deform.pro. + +##################################################################### +## deform Binary: +##################################################################### + +add_qt_executable(deform + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/painting/deform" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/painting/deform" + SOURCES + main.cpp + pathdeform.cpp pathdeform.h + LIBRARIES # special case + painting_shared +) + +# Resources: +add_qt_resource(deform "deform" PREFIX "/res/deform" FILES + pathdeform.cpp + pathdeform.html) diff --git a/examples/widgets/painting/fontsampler/CMakeLists.txt b/examples/widgets/painting/fontsampler/CMakeLists.txt new file mode 100644 index 0000000000..a32b10589f --- /dev/null +++ b/examples/widgets/painting/fontsampler/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from fontsampler.pro. + +##################################################################### +## fontsampler Binary: +##################################################################### + +add_qt_executable(fontsampler + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/painting/fontsampler" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/painting/fontsampler" + SOURCES + main.cpp + mainwindow.cpp mainwindow.h + mainwindowbase.ui + LIBRARIES + Qt::Widgets +) + +## Scopes: +##################################################################### + +extend_target(fontsampler CONDITION TARGET Qt::PrintSupport + LIBRARIES + Qt::PrintSupport +) diff --git a/examples/widgets/painting/gradients/CMakeLists.txt b/examples/widgets/painting/gradients/CMakeLists.txt new file mode 100644 index 0000000000..0d5553b986 --- /dev/null +++ b/examples/widgets/painting/gradients/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from gradients.pro. + +##################################################################### +## gradients Binary: +##################################################################### + +add_qt_executable(gradients + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/painting/gradients" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/painting/gradients" + SOURCES + gradients.cpp gradients.h + main.cpp + LIBRARIES # special case + painting_shared +) + +# Resources: +add_qt_resource(gradients "gradients" PREFIX "/res/gradients" FILES + gradients.cpp + gradients.html) diff --git a/examples/widgets/painting/imagecomposition/CMakeLists.txt b/examples/widgets/painting/imagecomposition/CMakeLists.txt new file mode 100644 index 0000000000..eed2bede43 --- /dev/null +++ b/examples/widgets/painting/imagecomposition/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from imagecomposition.pro. + +##################################################################### +## imagecomposition Binary: +##################################################################### + +add_qt_executable(imagecomposition + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/painting/imagecomposition" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/painting/imagecomposition" + SOURCES + imagecomposer.cpp imagecomposer.h + main.cpp + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(imagecomposition "imagecomposition" FILES + images/butterfly.png + images/checker.png) + diff --git a/examples/widgets/painting/painterpaths/CMakeLists.txt b/examples/widgets/painting/painterpaths/CMakeLists.txt new file mode 100644 index 0000000000..13dd321a52 --- /dev/null +++ b/examples/widgets/painting/painterpaths/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from painterpaths.pro. + +##################################################################### +## painterpaths Binary: +##################################################################### + +add_qt_executable(painterpaths + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/painting/painterpaths" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/painting/painterpaths" + SOURCES + main.cpp + renderarea.cpp renderarea.h + window.cpp window.h + LIBRARIES + Qt::Widgets + painting_shared # special case +) + +## Scopes: +##################################################################### + +extend_target(painterpaths CONDITION UNIX AND NOT APPLE_OSX AND NOT HAIKU AND NOT INTEGRITY AND NOT VXWORKS + LIBRARIES + m +) diff --git a/examples/widgets/painting/pathstroke/CMakeLists.txt b/examples/widgets/painting/pathstroke/CMakeLists.txt new file mode 100644 index 0000000000..150a1baa83 --- /dev/null +++ b/examples/widgets/painting/pathstroke/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from pathstroke.pro. + +##################################################################### +## pathstroke Binary: +##################################################################### + +add_qt_executable(pathstroke + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/painting/pathstroke" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/painting/pathstroke" + SOURCES + main.cpp + pathstroke.cpp pathstroke.h + LIBRARIES # special case + painting_shared +) + +# Resources: +add_qt_resource(pathstroke "pathstroke" PREFIX "/res/pathstroke" FILES + pathstroke.cpp + pathstroke.html) diff --git a/examples/widgets/painting/shared/CMakeLists.txt b/examples/widgets/painting/shared/CMakeLists.txt new file mode 100644 index 0000000000..a7bec2789b --- /dev/null +++ b/examples/widgets/painting/shared/CMakeLists.txt @@ -0,0 +1,64 @@ +# special case: Entire file! + +# special case: +add_library(painting_shared OBJECT) +qt_manual_moc(moc_files arthurwidgets.h hoverpoints.h) # no automoc for OBJECT libs:-/ +target_sources(painting_shared PRIVATE + arthurstyle.cpp arthurstyle.h + arthurwidgets.cpp arthurwidgets.h + hoverpoints.cpp hoverpoints.h + ${moc_files} +) +target_link_libraries(painting_shared PUBLIC Qt::Widgets) +target_include_directories(painting_shared PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}") + + +# Resources: +add_qt_resource(painting_shared "shared" PREFIX "/res" FILES + images/button_normal_cap_left.png + images/button_normal_cap_right.png + images/button_normal_stretch.png + images/button_pressed_cap_left.png + images/button_pressed_cap_right.png + images/button_pressed_stretch.png + images/frame_bottom.png + images/frame_bottomleft.png + images/frame_bottomright.png + images/frame_left.png + images/frame_right.png + images/frame_top.png + images/frame_topleft.png + images/frame_topright.png + images/groupframe_bottom_left.png + images/groupframe_bottom_right.png + images/groupframe_bottom_stretch.png + images/groupframe_left_stretch.png + images/groupframe_right_stretch.png + images/groupframe_top_stretch.png + images/groupframe_topleft.png + images/groupframe_topright.png + images/line_dash_dot.png + images/line_dash_dot_dot.png + images/line_dashed.png + images/line_dotted.png + images/line_solid.png + images/radiobutton-on.png + images/radiobutton_off.png + images/radiobutton_on.png + images/slider_bar.png + images/slider_thumb_on.png + images/title_cap_left.png + images/title_cap_right.png + images/title_stretch.png) + + +## Scopes: +##################################################################### + +extend_target(painting_shared CONDITION TARGET Qt::OpenGL OR QT_FEATURE_opengles2 + DEFINES + QT_OPENGL_SUPPORT + LIBRARIES + Qt::OpenGL + Qt::Widgets +) diff --git a/examples/widgets/painting/transformations/CMakeLists.txt b/examples/widgets/painting/transformations/CMakeLists.txt new file mode 100644 index 0000000000..a3c3130c32 --- /dev/null +++ b/examples/widgets/painting/transformations/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from transformations.pro. + +##################################################################### +## transformations Binary: +##################################################################### + +add_qt_executable(transformations + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/painting/transformations" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/painting/transformations" + SOURCES + main.cpp + renderarea.cpp renderarea.h + window.cpp window.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/richtext/CMakeLists.txt b/examples/widgets/richtext/CMakeLists.txt new file mode 100644 index 0000000000..adb98e38f9 --- /dev/null +++ b/examples/widgets/richtext/CMakeLists.txt @@ -0,0 +1,6 @@ +# Generated from richtext.pro. + +add_subdirectory(calendar) +add_subdirectory(orderform) +add_subdirectory(syntaxhighlighter) +add_subdirectory(textedit) diff --git a/examples/widgets/richtext/calendar/CMakeLists.txt b/examples/widgets/richtext/calendar/CMakeLists.txt new file mode 100644 index 0000000000..8d26479929 --- /dev/null +++ b/examples/widgets/richtext/calendar/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from calendar.pro. + +##################################################################### +## calendar Binary: +##################################################################### + +add_qt_executable(calendar + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/richtext/calendar" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/richtext/calendar" + SOURCES + main.cpp + mainwindow.cpp mainwindow.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/richtext/orderform/CMakeLists.txt b/examples/widgets/richtext/orderform/CMakeLists.txt new file mode 100644 index 0000000000..5f12e98cdf --- /dev/null +++ b/examples/widgets/richtext/orderform/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from orderform.pro. + +##################################################################### +## orderform Binary: +##################################################################### + +add_qt_executable(orderform + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/richtext/orderform" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/richtext/orderform" + SOURCES + detailsdialog.cpp detailsdialog.h + main.cpp + mainwindow.cpp mainwindow.h + LIBRARIES + Qt::Widgets +) + +## Scopes: +##################################################################### + +extend_target(orderform CONDITION TARGET Qt::PrintSupport + LIBRARIES + Qt::PrintSupport +) diff --git a/examples/widgets/richtext/syntaxhighlighter/CMakeLists.txt b/examples/widgets/richtext/syntaxhighlighter/CMakeLists.txt new file mode 100644 index 0000000000..afffcc639b --- /dev/null +++ b/examples/widgets/richtext/syntaxhighlighter/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from syntaxhighlighter.pro. + +##################################################################### +## syntaxhighlighter Binary: +##################################################################### + +add_qt_executable(syntaxhighlighter + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/richtext/syntaxhighlighter" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/richtext/syntaxhighlighter" + SOURCES + highlighter.cpp highlighter.h + main.cpp + mainwindow.cpp mainwindow.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/richtext/textedit/CMakeLists.txt b/examples/widgets/richtext/textedit/CMakeLists.txt new file mode 100644 index 0000000000..9166f6748a --- /dev/null +++ b/examples/widgets/richtext/textedit/CMakeLists.txt @@ -0,0 +1,75 @@ +# Generated from textedit.pro. + +##################################################################### +## textedit Binary: +##################################################################### + +add_qt_executable(textedit + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/richtext/textedit" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/richtext/textedit" + SOURCES + main.cpp + textedit.cpp textedit.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(textedit "textedit" PREFIX "/" FILES + example.html + images/logo32.png + images/mac/editcopy.png + images/mac/editcut.png + images/mac/editpaste.png + images/mac/editredo.png + images/mac/editundo.png + images/mac/exportpdf.png + images/mac/filenew.png + images/mac/fileopen.png + images/mac/fileprint.png + images/mac/filesave.png + images/mac/textbold.png + images/mac/textcenter.png + images/mac/textitalic.png + images/mac/textjustify.png + images/mac/textleft.png + images/mac/textright.png + images/mac/textunder.png + images/mac/zoomin.png + images/mac/zoomout.png + images/win/editcopy.png + images/win/editcut.png + images/win/editpaste.png + images/win/editredo.png + images/win/editundo.png + images/win/exportpdf.png + images/win/filenew.png + images/win/fileopen.png + images/win/fileprint.png + images/win/filesave.png + images/win/textbold.png + images/win/textcenter.png + images/win/textitalic.png + images/win/textjustify.png + images/win/textleft.png + images/win/textright.png + images/win/textunder.png + images/win/zoomin.png + images/win/zoomout.png) + + +#### Keys ignored in scope 1:.:textedit.pro:: +# EXAMPLE_FILES = "textedit.qdoc" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +extend_target(textedit CONDITION TARGET Qt::PrintSupport + LIBRARIES + Qt::PrintSupport +) + +#### Keys ignored in scope 3:.:textedit.pro:build_all AND NOT build_pass: +# CONFIG = "-build_all" "release" diff --git a/examples/widgets/scroller/CMakeLists.txt b/examples/widgets/scroller/CMakeLists.txt new file mode 100644 index 0000000000..f663cd9890 --- /dev/null +++ b/examples/widgets/scroller/CMakeLists.txt @@ -0,0 +1,3 @@ +# Generated from scroller.pro. + +add_subdirectory(graphicsview) diff --git a/examples/widgets/scroller/graphicsview/CMakeLists.txt b/examples/widgets/scroller/graphicsview/CMakeLists.txt new file mode 100644 index 0000000000..0f25d6b71c --- /dev/null +++ b/examples/widgets/scroller/graphicsview/CMakeLists.txt @@ -0,0 +1,18 @@ +# Generated from graphicsview.pro. + +##################################################################### +## graphicsview Binary: +##################################################################### + +add_qt_executable(graphicsview + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/scroller/graphicsview" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/scroller/graphicsview" + SOURCES + main.cpp + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:graphicsview.pro:: +# TEMPLATE = "app" diff --git a/examples/widgets/statemachine/CMakeLists.txt b/examples/widgets/statemachine/CMakeLists.txt new file mode 100644 index 0000000000..8527fcbc69 --- /dev/null +++ b/examples/widgets/statemachine/CMakeLists.txt @@ -0,0 +1,11 @@ +# Generated from statemachine.pro. + +add_subdirectory(factorial) +add_subdirectory(pingpong) + +if(TARGET Qt::Widgets) + add_subdirectory(eventtransitions) + add_subdirectory(rogue) + add_subdirectory(trafficlight) + add_subdirectory(twowaybutton) +endif() diff --git a/examples/widgets/statemachine/eventtransitions/CMakeLists.txt b/examples/widgets/statemachine/eventtransitions/CMakeLists.txt new file mode 100644 index 0000000000..0fc20f59ae --- /dev/null +++ b/examples/widgets/statemachine/eventtransitions/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from eventtransitions.pro. + +##################################################################### +## eventtransitions Binary: +##################################################################### + +add_qt_executable(eventtransitions + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/statemachine/eventtransitions" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/statemachine/eventtransitions" + SOURCES + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/statemachine/factorial/CMakeLists.txt b/examples/widgets/statemachine/factorial/CMakeLists.txt new file mode 100644 index 0000000000..e38995220e --- /dev/null +++ b/examples/widgets/statemachine/factorial/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from factorial.pro. + +##################################################################### +## factorial Binary: +##################################################################### + +add_qt_executable(factorial + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/statemachine/factorial" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/statemachine/factorial" + SOURCES + main.cpp +) + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:factorial.pro:WIN32: +# CONFIG = "console" + +#### Keys ignored in scope 3:.:factorial.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/examples/widgets/statemachine/pingpong/CMakeLists.txt b/examples/widgets/statemachine/pingpong/CMakeLists.txt new file mode 100644 index 0000000000..b911bd727f --- /dev/null +++ b/examples/widgets/statemachine/pingpong/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from pingpong.pro. + +##################################################################### +## pingpong Binary: +##################################################################### + +add_qt_executable(pingpong + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/statemachine/pingpong" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/statemachine/pingpong" + SOURCES + main.cpp +) + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:pingpong.pro:WIN32: +# CONFIG = "console" + +#### Keys ignored in scope 3:.:pingpong.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/examples/widgets/statemachine/rogue/CMakeLists.txt b/examples/widgets/statemachine/rogue/CMakeLists.txt new file mode 100644 index 0000000000..a6a1a473e1 --- /dev/null +++ b/examples/widgets/statemachine/rogue/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from rogue.pro. + +##################################################################### +## rogue Binary: +##################################################################### + +add_qt_executable(rogue + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/statemachine/rogue" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/statemachine/rogue" + SOURCES + main.cpp + movementtransition.h + window.cpp window.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/statemachine/trafficlight/CMakeLists.txt b/examples/widgets/statemachine/trafficlight/CMakeLists.txt new file mode 100644 index 0000000000..52f9fb3c6c --- /dev/null +++ b/examples/widgets/statemachine/trafficlight/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from trafficlight.pro. + +##################################################################### +## trafficlight Binary: +##################################################################### + +add_qt_executable(trafficlight + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/statemachine/trafficlight" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/statemachine/trafficlight" + SOURCES + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/statemachine/twowaybutton/CMakeLists.txt b/examples/widgets/statemachine/twowaybutton/CMakeLists.txt new file mode 100644 index 0000000000..c5f14b7514 --- /dev/null +++ b/examples/widgets/statemachine/twowaybutton/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from twowaybutton.pro. + +##################################################################### +## twowaybutton Binary: +##################################################################### + +add_qt_executable(twowaybutton + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/statemachine/twowaybutton" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/statemachine/twowaybutton" + SOURCES + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/tools/CMakeLists.txt b/examples/widgets/tools/CMakeLists.txt new file mode 100644 index 0000000000..90ac6fe86f --- /dev/null +++ b/examples/widgets/tools/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from tools.pro. + +add_subdirectory(codecs) +add_subdirectory(completer) +add_subdirectory(customcompleter) +if(QT_FEATURE_translation) # special case + add_subdirectory(i18n) +endif() +add_subdirectory(regexp) +add_subdirectory(regularexpression) +add_subdirectory(settingseditor) +add_subdirectory(styleplugin) +add_subdirectory(treemodelcompleter) +add_subdirectory(undo) +add_subdirectory(undoframework) + +if(QT_FEATURE_library) # special case + add_subdirectory(echoplugin) + add_subdirectory(plugandpaint) +endif() diff --git a/examples/widgets/tools/codecs/CMakeLists.txt b/examples/widgets/tools/codecs/CMakeLists.txt new file mode 100644 index 0000000000..fbf2e4e1a0 --- /dev/null +++ b/examples/widgets/tools/codecs/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from codecs.pro. + +##################################################################### +## codecs Binary: +##################################################################### + +add_qt_executable(codecs + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/codecs" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/codecs" + SOURCES + main.cpp + mainwindow.cpp mainwindow.h + previewform.cpp previewform.h + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:codecs.pro:: +# EXAMPLE_FILES = "encodedfiles" diff --git a/examples/widgets/tools/completer/CMakeLists.txt b/examples/widgets/tools/completer/CMakeLists.txt new file mode 100644 index 0000000000..b39b4f262d --- /dev/null +++ b/examples/widgets/tools/completer/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from completer.pro. + +##################################################################### +## completer Binary: +##################################################################### + +add_qt_executable(completer + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/completer" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/completer" + SOURCES + fsmodel.cpp fsmodel.h + main.cpp + mainwindow.cpp mainwindow.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(completer "completer" PREFIX "/" FILES + resources/countries.txt + resources/wordlist.txt) + diff --git a/examples/widgets/tools/customcompleter/CMakeLists.txt b/examples/widgets/tools/customcompleter/CMakeLists.txt new file mode 100644 index 0000000000..04f8035ff3 --- /dev/null +++ b/examples/widgets/tools/customcompleter/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from customcompleter.pro. + +##################################################################### +## customcompleter Binary: +##################################################################### + +add_qt_executable(customcompleter + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/customcompleter" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/customcompleter" + SOURCES + main.cpp + mainwindow.cpp mainwindow.h + textedit.cpp textedit.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(customcompleter "customcompleter" PREFIX "/" FILES + resources/wordlist.txt) + diff --git a/examples/widgets/tools/echoplugin/CMakeLists.txt b/examples/widgets/tools/echoplugin/CMakeLists.txt new file mode 100644 index 0000000000..b848e08e72 --- /dev/null +++ b/examples/widgets/tools/echoplugin/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from echoplugin.pro. + +add_subdirectory(echowindow) +add_subdirectory(plugin) diff --git a/examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt b/examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt new file mode 100644 index 0000000000..3c9082db07 --- /dev/null +++ b/examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from echowindow.pro. + +##################################################################### +## echoplugin Binary: +##################################################################### + +add_qt_executable(echoplugin + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/echoplugin" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/echoplugin" + SOURCES + echointerface.h + echowindow.cpp echowindow.h + main.cpp + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:echowindow.pro:: +# CONFIG = "install_ok" +# QMAKE_PROJECT_NAME = "echopluginwindow" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 3:.:echowindow.pro:CONFIG(debug,release OR debug): +# DESTDIR = "../debug/" + +#### Keys ignored in scope 4:.:echowindow.pro:CONFIG(release,release OR debug): +# DESTDIR = "../release/" + +#### Keys ignored in scope 5:.:echowindow.pro:else: +# DESTDIR = "../" diff --git a/examples/widgets/tools/echoplugin/plugin/CMakeLists.txt b/examples/widgets/tools/echoplugin/plugin/CMakeLists.txt new file mode 100644 index 0000000000..7250a7e0a6 --- /dev/null +++ b/examples/widgets/tools/echoplugin/plugin/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from plugin.pro. + +##################################################################### +## qtLibraryTargetechoplugin Module: +##################################################################### + +add_qt_plugin(echoplugin_plugin TYPE plugin # special case + SOURCES + echoplugin.cpp echoplugin.h + INCLUDE_DIRECTORIES + ../echowindow + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:plugin.pro:: +# CONFIG = "plugin" "install_ok" +# DESTDIR = "../plugins" +# EXAMPLE_FILES = "echoplugin.json" +# INSTALLS = "target" +# TEMPLATE = "lib" +# target.path = "$$[QT_INSTALL_EXAMPLES]/widgets/tools/echoplugin/plugins" diff --git a/examples/widgets/tools/i18n/CMakeLists.txt b/examples/widgets/tools/i18n/CMakeLists.txt new file mode 100644 index 0000000000..033362bb4c --- /dev/null +++ b/examples/widgets/tools/i18n/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from i18n.pro. + +##################################################################### +## i18n Binary: +##################################################################### + +add_qt_executable(i18n + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/i18n" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/i18n" + SOURCES + languagechooser.cpp languagechooser.h + main.cpp + mainwindow.cpp mainwindow.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(i18n "i18n" FILES + translations/i18n_ar.qm + translations/i18n_cs.qm + translations/i18n_de.qm + translations/i18n_el.qm + translations/i18n_en.qm + translations/i18n_eo.qm + translations/i18n_fr.qm + translations/i18n_it.qm + translations/i18n_jp.qm + translations/i18n_ko.qm + translations/i18n_no.qm + translations/i18n_ru.qm + translations/i18n_sv.qm + translations/i18n_zh.qm) + + +#### Keys ignored in scope 1:.:i18n.pro:: +# TRANSLATIONS = "translations/i18n_ar.ts" "translations/i18n_cs.ts" "translations/i18n_de.ts" "translations/i18n_el.ts" "translations/i18n_en.ts" "translations/i18n_eo.ts" "translations/i18n_fr.ts" "translations/i18n_it.ts" "translations/i18n_jp.ts" "translations/i18n_ko.ts" "translations/i18n_no.ts" "translations/i18n_ru.ts" "translations/i18n_sv.ts" "translations/i18n_zh.ts" diff --git a/examples/widgets/tools/plugandpaint/CMakeLists.txt b/examples/widgets/tools/plugandpaint/CMakeLists.txt new file mode 100644 index 0000000000..2bde4718b2 --- /dev/null +++ b/examples/widgets/tools/plugandpaint/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from plugandpaint.pro. + +add_subdirectory(plugins) +add_subdirectory(app) diff --git a/examples/widgets/tools/plugandpaint/app/CMakeLists.txt b/examples/widgets/tools/plugandpaint/app/CMakeLists.txt new file mode 100644 index 0000000000..e5bbbacec2 --- /dev/null +++ b/examples/widgets/tools/plugandpaint/app/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from app.pro. + +##################################################################### +## plugandpaint Binary: +##################################################################### + +add_qt_executable(plugandpaint + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/plugandpaint" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/plugandpaint" + SOURCES + interfaces.h + main.cpp + mainwindow.cpp mainwindow.h + paintarea.cpp paintarea.h + plugindialog.cpp plugindialog.h + LIBRARIES + Qt::Widgets + pnp_basictools # special case +) + +#### Keys ignored in scope 1:.:app.pro:: +# CONFIG = "install_ok" +# DESTDIR = ".." + +## Scopes: +##################################################################### + +# special case: Remove the rest diff --git a/examples/widgets/tools/plugandpaint/plugins/CMakeLists.txt b/examples/widgets/tools/plugandpaint/plugins/CMakeLists.txt new file mode 100644 index 0000000000..1e63da97ca --- /dev/null +++ b/examples/widgets/tools/plugandpaint/plugins/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from plugins.pro. + +add_subdirectory(basictools) +add_subdirectory(extrafilters) diff --git a/examples/widgets/tools/plugandpaint/plugins/basictools/CMakeLists.txt b/examples/widgets/tools/plugandpaint/plugins/basictools/CMakeLists.txt new file mode 100644 index 0000000000..f736d09d41 --- /dev/null +++ b/examples/widgets/tools/plugandpaint/plugins/basictools/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from basictools.pro. + +##################################################################### +## qtLibraryTargetpnp_basictools Module: +##################################################################### + +add_qt_plugin(pnp_basictools # special case + STATIC # special case + OUTPUT_DIRECTORY ../../plugins # special case + INSTALL_DIRECTORY ../../plugins # special case + SOURCES + basictoolsplugin.cpp basictoolsplugin.h + INCLUDE_DIRECTORIES + ../../app + LIBRARIES + Qt::Widgets +) + +# CONFIG = "plugin" "static" "install_ok" +# DESTDIR = "../../plugins" +# INSTALLS = "target" +# TEMPLATE = "lib" +# target.path = "$$[QT_INSTALL_EXAMPLES]/widgets/tools/plugandpaint/plugins" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:basictools.pro:APPLE_UIKIT: +# CONFIG = "debug_and_release" diff --git a/examples/widgets/tools/plugandpaint/plugins/extrafilters/CMakeLists.txt b/examples/widgets/tools/plugandpaint/plugins/extrafilters/CMakeLists.txt new file mode 100644 index 0000000000..a0447c833e --- /dev/null +++ b/examples/widgets/tools/plugandpaint/plugins/extrafilters/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from extrafilters.pro. + +##################################################################### +## qtLibraryTargetpnp_extrafilters Module: +##################################################################### + +add_qt_plugin(pnp_extrafilters_plugin TYPE plugin # special case + SOURCES + extrafiltersplugin.cpp extrafiltersplugin.h + INCLUDE_DIRECTORIES + ../../app + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:extrafilters.pro:: +# CONFIG = "plugin" "install_ok" +# DESTDIR = "../../plugins" +# INSTALLS = "target" +# TEMPLATE = "lib" +# target.path = "$$[QT_INSTALL_EXAMPLES]/widgets/tools/plugandpaint/plugins" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:extrafilters.pro:APPLE_UIKIT: +# CONFIG = "debug_and_release" diff --git a/examples/widgets/tools/regexp/CMakeLists.txt b/examples/widgets/tools/regexp/CMakeLists.txt new file mode 100644 index 0000000000..da729f5f5b --- /dev/null +++ b/examples/widgets/tools/regexp/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from regexp.pro. + +##################################################################### +## regexp Binary: +##################################################################### + +add_qt_executable(regexp + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/regexp" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/regexp" + SOURCES + main.cpp + regexpdialog.cpp regexpdialog.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/tools/regularexpression/CMakeLists.txt b/examples/widgets/tools/regularexpression/CMakeLists.txt new file mode 100644 index 0000000000..e9dcb977a2 --- /dev/null +++ b/examples/widgets/tools/regularexpression/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from regularexpression.pro. + +##################################################################### +## regularexpression Binary: +##################################################################### + +add_qt_executable(regularexpression + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/regularexpression" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/regularexpression" + SOURCES + main.cpp + regularexpressiondialog.cpp regularexpressiondialog.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(regularexpression "regularexpression" FILES + images/copy.png) + diff --git a/examples/widgets/tools/settingseditor/CMakeLists.txt b/examples/widgets/tools/settingseditor/CMakeLists.txt new file mode 100644 index 0000000000..ce260da358 --- /dev/null +++ b/examples/widgets/tools/settingseditor/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from settingseditor.pro. + +##################################################################### +## settingseditor Binary: +##################################################################### + +add_qt_executable(settingseditor + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/settingseditor" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/settingseditor" + SOURCES + locationdialog.cpp locationdialog.h + main.cpp + mainwindow.cpp mainwindow.h + settingstree.cpp settingstree.h + variantdelegate.cpp variantdelegate.h + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:settingseditor.pro:: +# EXAMPLE_FILES = "inifiles" diff --git a/examples/widgets/tools/styleplugin/CMakeLists.txt b/examples/widgets/tools/styleplugin/CMakeLists.txt new file mode 100644 index 0000000000..630c3703f8 --- /dev/null +++ b/examples/widgets/tools/styleplugin/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from styleplugin.pro. + +add_subdirectory(stylewindow) +add_subdirectory(plugin) diff --git a/examples/widgets/tools/styleplugin/plugin/CMakeLists.txt b/examples/widgets/tools/styleplugin/plugin/CMakeLists.txt new file mode 100644 index 0000000000..c311799d30 --- /dev/null +++ b/examples/widgets/tools/styleplugin/plugin/CMakeLists.txt @@ -0,0 +1,32 @@ +# Generated from plugin.pro. + +##################################################################### +## mplestyleplugin Module: +##################################################################### + +add_qt_plugin(simplestyleplugin TYPE style # special case + SOURCES + simplestyle.cpp simplestyle.h + simplestyleplugin.cpp simplestyleplugin.h + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:plugin.pro:: +# CONFIG = "plugin" "install_ok" +# EXAMPLE_FILES = "simplestyle.json" +# INSTALLS = "target" +# TEMPLATE = "lib" +# target.path = "$$[QT_INSTALL_EXAMPLES]/widgets/tools/styleplugin/styles" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 3:.:plugin.pro:CONFIG(debug,release OR debug): +# DESTDIR = "../debug/styles/" + +#### Keys ignored in scope 4:.:plugin.pro:CONFIG(release,release OR debug): +# DESTDIR = "../release/styles/" + +#### Keys ignored in scope 5:.:plugin.pro:else: +# DESTDIR = "../styles/" diff --git a/examples/widgets/tools/styleplugin/stylewindow/CMakeLists.txt b/examples/widgets/tools/styleplugin/stylewindow/CMakeLists.txt new file mode 100644 index 0000000000..a6d6a56874 --- /dev/null +++ b/examples/widgets/tools/styleplugin/stylewindow/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from stylewindow.pro. + +##################################################################### +## styleplugin Binary: +##################################################################### + +add_qt_executable(styleplugin + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/styleplugin" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/styleplugin" + SOURCES + main.cpp + stylewindow.cpp stylewindow.h + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:stylewindow.pro:: +# CONFIG = "install_ok" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 3:.:stylewindow.pro:debug: +# DESTDIR = "../debug/" + +#### Keys ignored in scope 4:.:stylewindow.pro:release: +# DESTDIR = "../release/" + +#### Keys ignored in scope 5:.:stylewindow.pro:else: +# DESTDIR = "../" diff --git a/examples/widgets/tools/treemodelcompleter/CMakeLists.txt b/examples/widgets/tools/treemodelcompleter/CMakeLists.txt new file mode 100644 index 0000000000..ab4d60f290 --- /dev/null +++ b/examples/widgets/tools/treemodelcompleter/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from treemodelcompleter.pro. + +##################################################################### +## treemodelcompleter Binary: +##################################################################### + +add_qt_executable(treemodelcompleter + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/treemodelcompleter" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/treemodelcompleter" + SOURCES + main.cpp + mainwindow.cpp mainwindow.h + treemodelcompleter.cpp treemodelcompleter.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(treemodelcompleter "treemodelcompleter" PREFIX "/" FILES + resources/treemodel.txt) + diff --git a/examples/widgets/tools/undo/CMakeLists.txt b/examples/widgets/tools/undo/CMakeLists.txt new file mode 100644 index 0000000000..751026bd62 --- /dev/null +++ b/examples/widgets/tools/undo/CMakeLists.txt @@ -0,0 +1,44 @@ +# Generated from undo.pro. + +##################################################################### +## undo Binary: +##################################################################### + +add_qt_executable(undo + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/undo" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/undo" + SOURCES + commands.cpp commands.h + document.cpp document.h + main.cpp + mainwindow.cpp mainwindow.h mainwindow.ui + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(undo "undo" PREFIX "/" FILES + icons/background.png + icons/blue.png + icons/circle.png + icons/exit.png + icons/fileclose.png + icons/filenew.png + icons/fileopen.png + icons/filesave.png + icons/green.png + icons/ok.png + icons/rectangle.png + icons/red.png + icons/redo.png + icons/remove.png + icons/triangle.png + icons/undo.png) + + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:undo.pro:build_all AND NOT build_pass: +# CONFIG = "-build_all" "release" diff --git a/examples/widgets/tools/undoframework/CMakeLists.txt b/examples/widgets/tools/undoframework/CMakeLists.txt new file mode 100644 index 0000000000..0689d0df08 --- /dev/null +++ b/examples/widgets/tools/undoframework/CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from undoframework.pro. + +##################################################################### +## undoframework Binary: +##################################################################### + +add_qt_executable(undoframework + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/undoframework" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/undoframework" + SOURCES + commands.cpp commands.h + diagramitem.cpp diagramitem.h + diagramscene.cpp diagramscene.h + main.cpp + mainwindow.cpp mainwindow.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(undoframework "undoframework" FILES + images/cross.png) + diff --git a/examples/widgets/touch/CMakeLists.txt b/examples/widgets/touch/CMakeLists.txt new file mode 100644 index 0000000000..06b72cada7 --- /dev/null +++ b/examples/widgets/touch/CMakeLists.txt @@ -0,0 +1,6 @@ +# Generated from touch.pro. + +add_subdirectory(pinchzoom) +add_subdirectory(fingerpaint) +add_subdirectory(knobs) +add_subdirectory(dials) diff --git a/examples/widgets/touch/dials/CMakeLists.txt b/examples/widgets/touch/dials/CMakeLists.txt new file mode 100644 index 0000000000..0266bc4e3b --- /dev/null +++ b/examples/widgets/touch/dials/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from dials.pro. + +##################################################################### +## dials Binary: +##################################################################### + +add_qt_executable(dials + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/touch/dials" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/touch/dials" + SOURCES + dials.ui + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/touch/fingerpaint/CMakeLists.txt b/examples/widgets/touch/fingerpaint/CMakeLists.txt new file mode 100644 index 0000000000..82ec8cd91e --- /dev/null +++ b/examples/widgets/touch/fingerpaint/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from fingerpaint.pro. + +##################################################################### +## fingerpaint Binary: +##################################################################### + +add_qt_executable(fingerpaint + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/touch/fingerpaint" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/touch/fingerpaint" + SOURCES + main.cpp + mainwindow.cpp mainwindow.h + scribblearea.cpp scribblearea.h + LIBRARIES + Qt::Widgets +) + +## Scopes: +##################################################################### + +extend_target(fingerpaint CONDITION TARGET Qt::PrintSupport + LIBRARIES + Qt::PrintSupport +) diff --git a/examples/widgets/touch/knobs/CMakeLists.txt b/examples/widgets/touch/knobs/CMakeLists.txt new file mode 100644 index 0000000000..e8976db270 --- /dev/null +++ b/examples/widgets/touch/knobs/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from knobs.pro. + +##################################################################### +## knobs Binary: +##################################################################### + +add_qt_executable(knobs + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/touch/knobs" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/touch/knobs" + SOURCES + knob.cpp knob.h + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/touch/pinchzoom/CMakeLists.txt b/examples/widgets/touch/pinchzoom/CMakeLists.txt new file mode 100644 index 0000000000..92d7b4c3b3 --- /dev/null +++ b/examples/widgets/touch/pinchzoom/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from pinchzoom.pro. + +##################################################################### +## pinchzoom Binary: +##################################################################### + +add_qt_executable(pinchzoom + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/touch/pinchzoom" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/touch/pinchzoom" + SOURCES + graphicsview.cpp graphicsview.h + main.cpp + mouse.cpp mouse.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(pinchzoom "mice" PREFIX "/" FILES + images/cheese.jpg) + diff --git a/examples/widgets/tutorials/CMakeLists.txt b/examples/widgets/tutorials/CMakeLists.txt new file mode 100644 index 0000000000..c2fa4a81d7 --- /dev/null +++ b/examples/widgets/tutorials/CMakeLists.txt @@ -0,0 +1,7 @@ +# Generated from tutorials.pro. + +add_subdirectory(addressbook) +add_subdirectory(widgets) +add_subdirectory(modelview) +add_subdirectory(gettingStarted) +add_subdirectory(notepad) diff --git a/examples/widgets/tutorials/addressbook/CMakeLists.txt b/examples/widgets/tutorials/addressbook/CMakeLists.txt new file mode 100644 index 0000000000..a8823d059a --- /dev/null +++ b/examples/widgets/tutorials/addressbook/CMakeLists.txt @@ -0,0 +1,9 @@ +# Generated from addressbook.pro. + +add_subdirectory(part1) +add_subdirectory(part2) +add_subdirectory(part3) +add_subdirectory(part4) +add_subdirectory(part5) +add_subdirectory(part6) +add_subdirectory(part7) diff --git a/examples/widgets/tutorials/addressbook/part1/CMakeLists.txt b/examples/widgets/tutorials/addressbook/part1/CMakeLists.txt new file mode 100644 index 0000000000..dcfc424a24 --- /dev/null +++ b/examples/widgets/tutorials/addressbook/part1/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from part1.pro. + +##################################################################### +## part1 Binary: +##################################################################### + +add_qt_executable(part1 + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/addressbook/part1" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/addressbook/part1" + SOURCES + addressbook.cpp addressbook.h + main.cpp + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:part1.pro:: +# QMAKE_PROJECT_NAME = "ab_part1" diff --git a/examples/widgets/tutorials/addressbook/part2/CMakeLists.txt b/examples/widgets/tutorials/addressbook/part2/CMakeLists.txt new file mode 100644 index 0000000000..b9fe9307ee --- /dev/null +++ b/examples/widgets/tutorials/addressbook/part2/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from part2.pro. + +##################################################################### +## part2 Binary: +##################################################################### + +add_qt_executable(part2 + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/addressbook/part2" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/addressbook/part2" + SOURCES + addressbook.cpp addressbook.h + main.cpp + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:part2.pro:: +# QMAKE_PROJECT_NAME = "ab_part2" diff --git a/examples/widgets/tutorials/addressbook/part3/CMakeLists.txt b/examples/widgets/tutorials/addressbook/part3/CMakeLists.txt new file mode 100644 index 0000000000..f83a8c5379 --- /dev/null +++ b/examples/widgets/tutorials/addressbook/part3/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from part3.pro. + +##################################################################### +## part3 Binary: +##################################################################### + +add_qt_executable(part3 + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/addressbook/part3" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/addressbook/part3" + SOURCES + addressbook.cpp addressbook.h + main.cpp + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:part3.pro:: +# QMAKE_PROJECT_NAME = "ab_part3" diff --git a/examples/widgets/tutorials/addressbook/part4/CMakeLists.txt b/examples/widgets/tutorials/addressbook/part4/CMakeLists.txt new file mode 100644 index 0000000000..0dee5fab9a --- /dev/null +++ b/examples/widgets/tutorials/addressbook/part4/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from part4.pro. + +##################################################################### +## part4 Binary: +##################################################################### + +add_qt_executable(part4 + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/addressbook/part4" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/addressbook/part4" + SOURCES + addressbook.cpp addressbook.h + main.cpp + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:part4.pro:: +# QMAKE_PROJECT_NAME = "ab_part4" diff --git a/examples/widgets/tutorials/addressbook/part5/CMakeLists.txt b/examples/widgets/tutorials/addressbook/part5/CMakeLists.txt new file mode 100644 index 0000000000..564f044ba8 --- /dev/null +++ b/examples/widgets/tutorials/addressbook/part5/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from part5.pro. + +##################################################################### +## part5 Binary: +##################################################################### + +add_qt_executable(part5 + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/addressbook/part5" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/addressbook/part5" + SOURCES + addressbook.cpp addressbook.h + finddialog.cpp finddialog.h + main.cpp + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:part5.pro:: +# QMAKE_PROJECT_NAME = "ab_part5" diff --git a/examples/widgets/tutorials/addressbook/part6/CMakeLists.txt b/examples/widgets/tutorials/addressbook/part6/CMakeLists.txt new file mode 100644 index 0000000000..375f1f0612 --- /dev/null +++ b/examples/widgets/tutorials/addressbook/part6/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from part6.pro. + +##################################################################### +## part6 Binary: +##################################################################### + +add_qt_executable(part6 + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/addressbook/part6" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/addressbook/part6" + SOURCES + addressbook.cpp addressbook.h + finddialog.cpp finddialog.h + main.cpp + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:part6.pro:: +# QMAKE_PROJECT_NAME = "ab_part6" diff --git a/examples/widgets/tutorials/addressbook/part7/CMakeLists.txt b/examples/widgets/tutorials/addressbook/part7/CMakeLists.txt new file mode 100644 index 0000000000..1ccd87fff5 --- /dev/null +++ b/examples/widgets/tutorials/addressbook/part7/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from part7.pro. + +##################################################################### +## part7 Binary: +##################################################################### + +add_qt_executable(part7 + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/addressbook/part7" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/addressbook/part7" + SOURCES + addressbook.cpp addressbook.h + finddialog.cpp finddialog.h + main.cpp + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:part7.pro:: +# QMAKE_PROJECT_NAME = "ab_part7" diff --git a/examples/widgets/tutorials/gettingStarted/CMakeLists.txt b/examples/widgets/tutorials/gettingStarted/CMakeLists.txt new file mode 100644 index 0000000000..2aa8163029 --- /dev/null +++ b/examples/widgets/tutorials/gettingStarted/CMakeLists.txt @@ -0,0 +1,2 @@ +# Generated from gettingStarted.pro. + diff --git a/examples/widgets/tutorials/gettingStarted/gsQt/CMakeLists.txt b/examples/widgets/tutorials/gettingStarted/gsQt/CMakeLists.txt new file mode 100644 index 0000000000..7a9ade8511 --- /dev/null +++ b/examples/widgets/tutorials/gettingStarted/gsQt/CMakeLists.txt @@ -0,0 +1,7 @@ +# Generated from gsqt.pro. + +add_subdirectory(part1) +add_subdirectory(part2) +add_subdirectory(part3) +add_subdirectory(part4) +add_subdirectory(part5) diff --git a/examples/widgets/tutorials/gettingStarted/gsQt/part1/CMakeLists.txt b/examples/widgets/tutorials/gettingStarted/gsQt/part1/CMakeLists.txt new file mode 100644 index 0000000000..c39133d235 --- /dev/null +++ b/examples/widgets/tutorials/gettingStarted/gsQt/part1/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from part1.pro. + +##################################################################### +## part1 Binary: +##################################################################### + +add_qt_executable(part1 + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/gettingStarted/gsQt/part1" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/gettingStarted/gsQt/part1" + SOURCES + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/tutorials/gettingStarted/gsQt/part2/CMakeLists.txt b/examples/widgets/tutorials/gettingStarted/gsQt/part2/CMakeLists.txt new file mode 100644 index 0000000000..ff9ddd6584 --- /dev/null +++ b/examples/widgets/tutorials/gettingStarted/gsQt/part2/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from part2.pro. + +##################################################################### +## part2 Binary: +##################################################################### + +add_qt_executable(part2 + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/gettingStarted/gsQt/part2" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/gettingStarted/gsQt/part2" + SOURCES + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/tutorials/gettingStarted/gsQt/part3/CMakeLists.txt b/examples/widgets/tutorials/gettingStarted/gsQt/part3/CMakeLists.txt new file mode 100644 index 0000000000..2564472be6 --- /dev/null +++ b/examples/widgets/tutorials/gettingStarted/gsQt/part3/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from part3.pro. + +##################################################################### +## part3 Binary: +##################################################################### + +add_qt_executable(part3 + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/gettingStarted/gsQt/part3" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/gettingStarted/gsQt/part3" + SOURCES + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/tutorials/gettingStarted/gsQt/part4/CMakeLists.txt b/examples/widgets/tutorials/gettingStarted/gsQt/part4/CMakeLists.txt new file mode 100644 index 0000000000..473b803044 --- /dev/null +++ b/examples/widgets/tutorials/gettingStarted/gsQt/part4/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from part4.pro. + +##################################################################### +## part4 Binary: +##################################################################### + +add_qt_executable(part4 + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/gettingStarted/gsQt/part4" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/gettingStarted/gsQt/part4" + SOURCES + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/tutorials/gettingStarted/gsQt/part5/CMakeLists.txt b/examples/widgets/tutorials/gettingStarted/gsQt/part5/CMakeLists.txt new file mode 100644 index 0000000000..93d2ea4175 --- /dev/null +++ b/examples/widgets/tutorials/gettingStarted/gsQt/part5/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from part5.pro. + +##################################################################### +## part5 Binary: +##################################################################### + +add_qt_executable(part5 + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/gettingStarted/gsQt/part5" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/gettingStarted/gsQt/part5" + SOURCES + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/tutorials/modelview/1_readonly/CMakeLists.txt b/examples/widgets/tutorials/modelview/1_readonly/CMakeLists.txt new file mode 100644 index 0000000000..1edda802f9 --- /dev/null +++ b/examples/widgets/tutorials/modelview/1_readonly/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from 1_readonly.pro. + +##################################################################### +## mv_readonly Binary: +##################################################################### + +add_qt_executable(mv_readonly + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/modelview/1_readonly" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/modelview/1_readonly" + SOURCES + main.cpp + mymodel.cpp mymodel.h + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:1_readonly.pro:: +# TEMPLATE = "app" diff --git a/examples/widgets/tutorials/modelview/2_formatting/CMakeLists.txt b/examples/widgets/tutorials/modelview/2_formatting/CMakeLists.txt new file mode 100644 index 0000000000..3235275d6a --- /dev/null +++ b/examples/widgets/tutorials/modelview/2_formatting/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from 2_formatting.pro. + +##################################################################### +## mv_formatting Binary: +##################################################################### + +add_qt_executable(mv_formatting + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/modelview/2_formatting" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/modelview/2_formatting" + SOURCES + main.cpp + mymodel.cpp mymodel.h + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:2_formatting.pro:: +# TEMPLATE = "app" diff --git a/examples/widgets/tutorials/modelview/3_changingmodel/CMakeLists.txt b/examples/widgets/tutorials/modelview/3_changingmodel/CMakeLists.txt new file mode 100644 index 0000000000..746bafc19a --- /dev/null +++ b/examples/widgets/tutorials/modelview/3_changingmodel/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from 3_changingmodel.pro. + +##################################################################### +## mv_changingmodel Binary: +##################################################################### + +add_qt_executable(mv_changingmodel + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/modelview/3_changingmodel" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/modelview/3_changingmodel" + SOURCES + main.cpp + mymodel.cpp mymodel.h + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:3_changingmodel.pro:: +# TEMPLATE = "app" diff --git a/examples/widgets/tutorials/modelview/4_headers/CMakeLists.txt b/examples/widgets/tutorials/modelview/4_headers/CMakeLists.txt new file mode 100644 index 0000000000..ef7e0a501b --- /dev/null +++ b/examples/widgets/tutorials/modelview/4_headers/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from 4_headers.pro. + +##################################################################### +## mv_headers Binary: +##################################################################### + +add_qt_executable(mv_headers + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/modelview/4_headers" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/modelview/4_headers" + SOURCES + main.cpp + mymodel.cpp mymodel.h + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:4_headers.pro:: +# TEMPLATE = "app" diff --git a/examples/widgets/tutorials/modelview/5_edit/CMakeLists.txt b/examples/widgets/tutorials/modelview/5_edit/CMakeLists.txt new file mode 100644 index 0000000000..2ce884a7fe --- /dev/null +++ b/examples/widgets/tutorials/modelview/5_edit/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from 5_edit.pro. + +##################################################################### +## mv_edit Binary: +##################################################################### + +add_qt_executable(mv_edit + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/modelview/5_edit" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/modelview/5_edit" + SOURCES + main.cpp + mainwindow.cpp mainwindow.h + mymodel.cpp mymodel.h + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:5_edit.pro:: +# TEMPLATE = "app" diff --git a/examples/widgets/tutorials/modelview/6_treeview/CMakeLists.txt b/examples/widgets/tutorials/modelview/6_treeview/CMakeLists.txt new file mode 100644 index 0000000000..1d5a9425e5 --- /dev/null +++ b/examples/widgets/tutorials/modelview/6_treeview/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from 6_treeview.pro. + +##################################################################### +## mv_tree Binary: +##################################################################### + +add_qt_executable(mv_tree + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/modelview/6_treeview" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/modelview/6_treeview" + SOURCES + main.cpp + mainwindow.cpp mainwindow.h + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:6_treeview.pro:: +# TEMPLATE = "app" diff --git a/examples/widgets/tutorials/modelview/7_selections/CMakeLists.txt b/examples/widgets/tutorials/modelview/7_selections/CMakeLists.txt new file mode 100644 index 0000000000..0560dc7a60 --- /dev/null +++ b/examples/widgets/tutorials/modelview/7_selections/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from 7_selections.pro. + +##################################################################### +## mv_selections Binary: +##################################################################### + +add_qt_executable(mv_selections + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/modelview/7_selections" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/modelview/7_selections" + SOURCES + main.cpp + mainwindow.cpp mainwindow.h + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:7_selections.pro:: +# TEMPLATE = "app" diff --git a/examples/widgets/tutorials/modelview/CMakeLists.txt b/examples/widgets/tutorials/modelview/CMakeLists.txt new file mode 100644 index 0000000000..10f2cf6ecf --- /dev/null +++ b/examples/widgets/tutorials/modelview/CMakeLists.txt @@ -0,0 +1,9 @@ +# Generated from modelview.pro. + +add_subdirectory(1_readonly) +add_subdirectory(2_formatting) +add_subdirectory(3_changingmodel) +add_subdirectory(4_headers) +add_subdirectory(5_edit) +add_subdirectory(6_treeview) +add_subdirectory(7_selections) diff --git a/examples/widgets/tutorials/notepad/CMakeLists.txt b/examples/widgets/tutorials/notepad/CMakeLists.txt new file mode 100644 index 0000000000..9dcf98fe4c --- /dev/null +++ b/examples/widgets/tutorials/notepad/CMakeLists.txt @@ -0,0 +1,49 @@ +# Generated from notepad.pro. + +##################################################################### +## notepad Binary: +##################################################################### + +add_qt_executable(notepad + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/notepad" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/notepad" + SOURCES + main.cpp + notepad.cpp notepad.h notepad.ui + LIBRARIES # special case + Qt::Widgets +) + +# Resources: +add_qt_resource(notepad "notepad" PREFIX "/" FILES + images/bold.png + images/copy.png + images/create.png + images/cut.png + images/edit_redo.png + images/edit_undo.png + images/exit.png + images/font.png + images/info.png + images/italic.png + images/new.png + images/open.png + images/paste.png + images/pencil.png + images/print.png + images/save.png + images/save_as.png + images/underline.png) + + +#### Keys ignored in scope 1:.:notepad.pro:: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +extend_target(notepad CONDITION TARGET Qt::PrintSupport + LIBRARIES + Qt::PrintSupport +) diff --git a/examples/widgets/tutorials/widgets/CMakeLists.txt b/examples/widgets/tutorials/widgets/CMakeLists.txt new file mode 100644 index 0000000000..1f4afee780 --- /dev/null +++ b/examples/widgets/tutorials/widgets/CMakeLists.txt @@ -0,0 +1,6 @@ +# Generated from widgets.pro. + +add_subdirectory(toplevel) +add_subdirectory(childwidget) +add_subdirectory(windowlayout) +add_subdirectory(nestedlayouts) diff --git a/examples/widgets/tutorials/widgets/childwidget/CMakeLists.txt b/examples/widgets/tutorials/widgets/childwidget/CMakeLists.txt new file mode 100644 index 0000000000..823098c9fc --- /dev/null +++ b/examples/widgets/tutorials/widgets/childwidget/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from childwidget.pro. + +##################################################################### +## childwidget Binary: +##################################################################### + +add_qt_executable(childwidget + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/widgets/childwidget" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/widgets/childwidget" + SOURCES + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/tutorials/widgets/nestedlayouts/CMakeLists.txt b/examples/widgets/tutorials/widgets/nestedlayouts/CMakeLists.txt new file mode 100644 index 0000000000..7f88c89d80 --- /dev/null +++ b/examples/widgets/tutorials/widgets/nestedlayouts/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from nestedlayouts.pro. + +##################################################################### +## nestedlayouts Binary: +##################################################################### + +add_qt_executable(nestedlayouts + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/widgets/nestedlayouts" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/widgets/nestedlayouts" + SOURCES + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/tutorials/widgets/toplevel/CMakeLists.txt b/examples/widgets/tutorials/widgets/toplevel/CMakeLists.txt new file mode 100644 index 0000000000..2ef630033b --- /dev/null +++ b/examples/widgets/tutorials/widgets/toplevel/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from toplevel.pro. + +##################################################################### +## toplevel Binary: +##################################################################### + +add_qt_executable(toplevel + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/widgets/toplevel" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/widgets/toplevel" + SOURCES + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/tutorials/widgets/windowlayout/CMakeLists.txt b/examples/widgets/tutorials/widgets/windowlayout/CMakeLists.txt new file mode 100644 index 0000000000..157865b68c --- /dev/null +++ b/examples/widgets/tutorials/widgets/windowlayout/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from windowlayout.pro. + +##################################################################### +## windowlayout Binary: +##################################################################### + +add_qt_executable(windowlayout + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/widgets/windowlayout" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/widgets/windowlayout" + SOURCES + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/widgets/CMakeLists.txt b/examples/widgets/widgets/CMakeLists.txt new file mode 100644 index 0000000000..8daf6a69ae --- /dev/null +++ b/examples/widgets/widgets/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from widgets.pro. + +add_subdirectory(analogclock) +add_subdirectory(calculator) +add_subdirectory(calendarwidget) +add_subdirectory(charactermap) +add_subdirectory(codeeditor) +add_subdirectory(digitalclock) +add_subdirectory(elidedlabel) +add_subdirectory(groupbox) +add_subdirectory(icons) +add_subdirectory(imageviewer) +add_subdirectory(lineedits) +add_subdirectory(movie) +add_subdirectory(mousebuttons) +add_subdirectory(scribble) +add_subdirectory(shapedclock) +add_subdirectory(sliders) +add_subdirectory(spinboxes) +add_subdirectory(styles) +add_subdirectory(stylesheet) +add_subdirectory(tablet) +add_subdirectory(tetrix) +add_subdirectory(tooltips) +add_subdirectory(validators) +add_subdirectory(wiggly) +add_subdirectory(windowflags) diff --git a/examples/widgets/widgets/analogclock/CMakeLists.txt b/examples/widgets/widgets/analogclock/CMakeLists.txt new file mode 100644 index 0000000000..890a300294 --- /dev/null +++ b/examples/widgets/widgets/analogclock/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from analogclock.pro. + +##################################################################### +## analogclock Binary: +##################################################################### + +add_qt_executable(analogclock_widgets # special case + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/analogclock" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/analogclock" + SOURCES + analogclock.cpp analogclock.h + main.cpp + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:analogclock.pro:: +# QMAKE_PROJECT_NAME = "widgets_analogclock" diff --git a/examples/widgets/widgets/calculator/CMakeLists.txt b/examples/widgets/widgets/calculator/CMakeLists.txt new file mode 100644 index 0000000000..b4f58b4f39 --- /dev/null +++ b/examples/widgets/widgets/calculator/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from calculator.pro. + +##################################################################### +## calculator Binary: +##################################################################### + +add_qt_executable(calculator + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/calculator" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/calculator" + SOURCES + button.cpp button.h + calculator.cpp calculator.h + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/widgets/calendarwidget/CMakeLists.txt b/examples/widgets/widgets/calendarwidget/CMakeLists.txt new file mode 100644 index 0000000000..463fce3849 --- /dev/null +++ b/examples/widgets/widgets/calendarwidget/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from calendarwidget.pro. + +##################################################################### +## calendarwidget Binary: +##################################################################### + +add_qt_executable(calendarwidget + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/calendarwidget" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/calendarwidget" + SOURCES + main.cpp + window.cpp window.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/widgets/charactermap/CMakeLists.txt b/examples/widgets/widgets/charactermap/CMakeLists.txt new file mode 100644 index 0000000000..a09b63a4f7 --- /dev/null +++ b/examples/widgets/widgets/charactermap/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from charactermap.pro. + +##################################################################### +## charactermap Binary: +##################################################################### + +add_qt_executable(charactermap + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/charactermap" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/charactermap" + SOURCES + characterwidget.cpp characterwidget.h + main.cpp + mainwindow.cpp mainwindow.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/widgets/codeeditor/CMakeLists.txt b/examples/widgets/widgets/codeeditor/CMakeLists.txt new file mode 100644 index 0000000000..7c29d383ff --- /dev/null +++ b/examples/widgets/widgets/codeeditor/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from codeeditor.pro. + +##################################################################### +## codeeditor Binary: +##################################################################### + +add_qt_executable(codeeditor + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/codeeditor" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/codeeditor" + SOURCES + codeeditor.cpp codeeditor.h + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/widgets/digitalclock/CMakeLists.txt b/examples/widgets/widgets/digitalclock/CMakeLists.txt new file mode 100644 index 0000000000..b85528a1e8 --- /dev/null +++ b/examples/widgets/widgets/digitalclock/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from digitalclock.pro. + +##################################################################### +## digitalclock Binary: +##################################################################### + +add_qt_executable(digitalclock + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/digitalclock" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/digitalclock" + SOURCES + digitalclock.cpp digitalclock.h + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/widgets/elidedlabel/CMakeLists.txt b/examples/widgets/widgets/elidedlabel/CMakeLists.txt new file mode 100644 index 0000000000..b894e18692 --- /dev/null +++ b/examples/widgets/widgets/elidedlabel/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from elidedlabel.pro. + +##################################################################### +## elidedlabel Binary: +##################################################################### + +add_qt_executable(elidedlabel + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/elidedlabel" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/elidedlabel" + SOURCES + elidedlabel.cpp elidedlabel.h + main.cpp + testwidget.cpp testwidget.h + LIBRARIES + Qt::Gui + Qt::Widgets +) + +#### Keys ignored in scope 1:.:elidedlabel.pro:: +# TEMPLATE = "app" diff --git a/examples/widgets/widgets/groupbox/CMakeLists.txt b/examples/widgets/widgets/groupbox/CMakeLists.txt new file mode 100644 index 0000000000..1d77ab37dc --- /dev/null +++ b/examples/widgets/widgets/groupbox/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from groupbox.pro. + +##################################################################### +## groupbox Binary: +##################################################################### + +add_qt_executable(groupbox + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/groupbox" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/groupbox" + SOURCES + main.cpp + window.cpp window.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/widgets/icons/CMakeLists.txt b/examples/widgets/widgets/icons/CMakeLists.txt new file mode 100644 index 0000000000..34d9bcec94 --- /dev/null +++ b/examples/widgets/widgets/icons/CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from icons.pro. + +##################################################################### +## icons Binary: +##################################################################### + +add_qt_executable(icons + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/icons" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/icons" + SOURCES + iconpreviewarea.cpp iconpreviewarea.h + iconsizespinbox.cpp iconsizespinbox.h + imagedelegate.cpp imagedelegate.h + main.cpp + mainwindow.cpp mainwindow.h + DEFINES + SRCDIR=\\\"/\\\" + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:icons.pro:: +# EXAMPLE_FILES = "images/*" diff --git a/examples/widgets/widgets/imageviewer/CMakeLists.txt b/examples/widgets/widgets/imageviewer/CMakeLists.txt new file mode 100644 index 0000000000..4684653e64 --- /dev/null +++ b/examples/widgets/widgets/imageviewer/CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from imageviewer.pro. + +##################################################################### +## imageviewer Binary: +##################################################################### + +add_qt_executable(imageviewer + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/imageviewer" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/imageviewer" + SOURCES + imageviewer.cpp imageviewer.h + main.cpp + LIBRARIES + Qt::Widgets +) + +## Scopes: +##################################################################### + +extend_target(imageviewer CONDITION TARGET Qt::PrintSupport + LIBRARIES + Qt::PrintSupport +) diff --git a/examples/widgets/widgets/lineedits/CMakeLists.txt b/examples/widgets/widgets/lineedits/CMakeLists.txt new file mode 100644 index 0000000000..59406a703d --- /dev/null +++ b/examples/widgets/widgets/lineedits/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from lineedits.pro. + +##################################################################### +## lineedits Binary: +##################################################################### + +add_qt_executable(lineedits + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/lineedits" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/lineedits" + SOURCES + main.cpp + window.cpp window.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/widgets/mousebuttons/CMakeLists.txt b/examples/widgets/widgets/mousebuttons/CMakeLists.txt new file mode 100644 index 0000000000..6ec817458c --- /dev/null +++ b/examples/widgets/widgets/mousebuttons/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from mousebuttons.pro. + +##################################################################### +## mousebuttons Binary: +##################################################################### + +add_qt_executable(mousebuttons + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/mousebuttons" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/mousebuttons" + SOURCES + buttontester.cpp buttontester.h + main.cpp + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:mousebuttons.pro:: +# TEMPLATE = "app" diff --git a/examples/widgets/widgets/movie/CMakeLists.txt b/examples/widgets/widgets/movie/CMakeLists.txt new file mode 100644 index 0000000000..0df3465fea --- /dev/null +++ b/examples/widgets/widgets/movie/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from movie.pro. + +##################################################################### +## movie Binary: +##################################################################### + +add_qt_executable(movie + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/movie" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/movie" + SOURCES + main.cpp + movieplayer.cpp movieplayer.h + LIBRARIES + Qt::Widgets +) + +#### Keys ignored in scope 1:.:movie.pro:: +# EXAMPLE_FILES = "animation.gif" diff --git a/examples/widgets/widgets/scribble/CMakeLists.txt b/examples/widgets/widgets/scribble/CMakeLists.txt new file mode 100644 index 0000000000..d9b2292336 --- /dev/null +++ b/examples/widgets/widgets/scribble/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from scribble.pro. + +##################################################################### +## scribble Binary: +##################################################################### + +add_qt_executable(scribble + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/scribble" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/scribble" + SOURCES + main.cpp + mainwindow.cpp mainwindow.h + scribblearea.cpp scribblearea.h + LIBRARIES + Qt::Widgets +) + +## Scopes: +##################################################################### + +extend_target(scribble CONDITION TARGET Qt::PrintSupport + LIBRARIES + Qt::PrintSupport +) diff --git a/examples/widgets/widgets/shapedclock/CMakeLists.txt b/examples/widgets/widgets/shapedclock/CMakeLists.txt new file mode 100644 index 0000000000..ab199d6981 --- /dev/null +++ b/examples/widgets/widgets/shapedclock/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from shapedclock.pro. + +##################################################################### +## shapedclock Binary: +##################################################################### + +add_qt_executable(shapedclock + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/shapedclock" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/shapedclock" + SOURCES + main.cpp + shapedclock.cpp shapedclock.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/widgets/sliders/CMakeLists.txt b/examples/widgets/widgets/sliders/CMakeLists.txt new file mode 100644 index 0000000000..a064ad5a4a --- /dev/null +++ b/examples/widgets/widgets/sliders/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from sliders.pro. + +##################################################################### +## sliders Binary: +##################################################################### + +add_qt_executable(sliders + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/sliders" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/sliders" + SOURCES + main.cpp + slidersgroup.cpp slidersgroup.h + window.cpp window.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/widgets/spinboxes/CMakeLists.txt b/examples/widgets/widgets/spinboxes/CMakeLists.txt new file mode 100644 index 0000000000..8635f06a8e --- /dev/null +++ b/examples/widgets/widgets/spinboxes/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from spinboxes.pro. + +##################################################################### +## spinboxes Binary: +##################################################################### + +add_qt_executable(spinboxes + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/spinboxes" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/spinboxes" + SOURCES + main.cpp + window.cpp window.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/widgets/styles/CMakeLists.txt b/examples/widgets/widgets/styles/CMakeLists.txt new file mode 100644 index 0000000000..d33d90a5bc --- /dev/null +++ b/examples/widgets/widgets/styles/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from styles.pro. + +##################################################################### +## styles Binary: +##################################################################### + +add_qt_executable(styles + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/styles" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/styles" + SOURCES + main.cpp + norwegianwoodstyle.cpp norwegianwoodstyle.h + widgetgallery.cpp widgetgallery.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(styles "styles" FILES + images/woodbackground.png + images/woodbutton.png) + diff --git a/examples/widgets/widgets/stylesheet/CMakeLists.txt b/examples/widgets/widgets/stylesheet/CMakeLists.txt new file mode 100644 index 0000000000..dfb52a1a47 --- /dev/null +++ b/examples/widgets/widgets/stylesheet/CMakeLists.txt @@ -0,0 +1,56 @@ +# Generated from stylesheet.pro. + +##################################################################### +## stylesheet Binary: +##################################################################### + +add_qt_executable(stylesheet + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/stylesheet" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/stylesheet" + SOURCES + main.cpp + mainwindow.cpp mainwindow.h mainwindow.ui + stylesheeteditor.cpp stylesheeteditor.h stylesheeteditor.ui + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(stylesheet "stylesheet" PREFIX "/" FILES + images/checkbox_checked.png + images/checkbox_checked_hover.png + images/checkbox_checked_pressed.png + images/checkbox_unchecked.png + images/checkbox_unchecked_hover.png + images/checkbox_unchecked_pressed.png + images/down_arrow.png + images/down_arrow_disabled.png + images/frame.png + images/pagefold.png + images/pushbutton.png + images/pushbutton_hover.png + images/pushbutton_pressed.png + images/radiobutton_checked.png + images/radiobutton_checked_hover.png + images/radiobutton_checked_pressed.png + images/radiobutton_unchecked.png + images/radiobutton_unchecked_hover.png + images/radiobutton_unchecked_pressed.png + images/sizegrip.png + images/spindown.png + images/spindown_hover.png + images/spindown_off.png + images/spindown_pressed.png + images/spinup.png + images/spinup_hover.png + images/spinup_off.png + images/spinup_pressed.png + images/up_arrow.png + images/up_arrow_disabled.png + layouts/default.ui + layouts/pagefold.ui + qss/coffee.qss + qss/default.qss + qss/pagefold.qss) + diff --git a/examples/widgets/widgets/tablet/CMakeLists.txt b/examples/widgets/widgets/tablet/CMakeLists.txt new file mode 100644 index 0000000000..f23fe7ec71 --- /dev/null +++ b/examples/widgets/widgets/tablet/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from tablet.pro. + +##################################################################### +## qttablet Binary: +##################################################################### + +add_qt_executable(qttablet + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/tablet" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/tablet" + SOURCES + main.cpp + mainwindow.cpp mainwindow.h + tabletapplication.cpp tabletapplication.h + tabletcanvas.cpp tabletcanvas.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(qttablet "images" FILES + images/cursor-airbrush.png + images/cursor-eraser.png + images/cursor-felt-marker.png + images/cursor-pencil.png) + diff --git a/examples/widgets/widgets/tetrix/CMakeLists.txt b/examples/widgets/widgets/tetrix/CMakeLists.txt new file mode 100644 index 0000000000..002667a6b9 --- /dev/null +++ b/examples/widgets/widgets/tetrix/CMakeLists.txt @@ -0,0 +1,18 @@ +# Generated from tetrix.pro. + +##################################################################### +## tetrix Binary: +##################################################################### + +add_qt_executable(tetrix + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/tetrix" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/tetrix" + SOURCES + main.cpp + tetrixboard.cpp tetrixboard.h + tetrixpiece.cpp tetrixpiece.h + tetrixwindow.cpp tetrixwindow.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/widgets/tooltips/CMakeLists.txt b/examples/widgets/widgets/tooltips/CMakeLists.txt new file mode 100644 index 0000000000..02d773858a --- /dev/null +++ b/examples/widgets/widgets/tooltips/CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from tooltips.pro. + +##################################################################### +## tooltips Binary: +##################################################################### + +add_qt_executable(tooltips + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/tooltips" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/tooltips" + SOURCES + main.cpp + shapeitem.cpp shapeitem.h + sortingbox.cpp sortingbox.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(tooltips "tooltips" FILES + images/circle.png + images/square.png + images/triangle.png) + diff --git a/examples/widgets/widgets/validators/CMakeLists.txt b/examples/widgets/widgets/validators/CMakeLists.txt new file mode 100644 index 0000000000..a1770d5337 --- /dev/null +++ b/examples/widgets/widgets/validators/CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from validators.pro. + +##################################################################### +## validators Binary: +##################################################################### + +add_qt_executable(validators + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/validators" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/validators" + SOURCES + ledwidget.cpp ledwidget.h + localeselector.cpp localeselector.h + main.cpp + validators.ui + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(validators "validators" PREFIX "/" FILES + ledoff.png + ledon.png) + diff --git a/examples/widgets/widgets/wiggly/CMakeLists.txt b/examples/widgets/widgets/wiggly/CMakeLists.txt new file mode 100644 index 0000000000..cc8c0befbf --- /dev/null +++ b/examples/widgets/widgets/wiggly/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from wiggly.pro. + +##################################################################### +## wiggly Binary: +##################################################################### + +add_qt_executable(wiggly + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/wiggly" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/wiggly" + SOURCES + dialog.cpp dialog.h + main.cpp + wigglywidget.cpp wigglywidget.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/widgets/windowflags/CMakeLists.txt b/examples/widgets/widgets/windowflags/CMakeLists.txt new file mode 100644 index 0000000000..aa2eff0088 --- /dev/null +++ b/examples/widgets/widgets/windowflags/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from windowflags.pro. + +##################################################################### +## windowflags Binary: +##################################################################### + +add_qt_executable(windowflags + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/windowflags" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/windowflags" + SOURCES + controllerwindow.cpp controllerwindow.h + main.cpp + previewwindow.cpp previewwindow.h + LIBRARIES + Qt::Widgets +) diff --git a/examples/widgets/windowcontainer/CMakeLists.txt b/examples/widgets/windowcontainer/CMakeLists.txt new file mode 100644 index 0000000000..88dc37ea5e --- /dev/null +++ b/examples/widgets/windowcontainer/CMakeLists.txt @@ -0,0 +1,18 @@ +# Generated from windowcontainer.pro. + +##################################################################### +## windowcontainer Binary: +##################################################################### + +add_qt_executable(windowcontainer + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/windowcontainer" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/windowcontainer" + SOURCES + ../../gui/openglwindow/openglwindow.cpp ../../gui/openglwindow/openglwindow.h + windowcontainer.cpp + INCLUDE_DIRECTORIES + ../../gui/openglwindow + LIBRARIES + Qt::Widgets +) -- cgit v1.2.3