qt5base-lts/examples/widgets/tools
Joerg Bornemann 4caac1feea Re-work the CMake project files for the plugandpaint example
Move the project prelude to
examples/widgets/tools/plugandpaint/CMakeLists.txt
to mark it as the entry point of the example project.

Remove the project prelude from all its subdirectories, because the
subdirs are not supposed to be built separately.

Remove the wrong code that pro2cmake generated for the application's
project file. That merely tried to link the basictools static plugin.

Move common initialization code (CMAKE_AUTO*, INSTALL_EXAMPLESDIR) to
the top-level plugandpaint project file.

Remove superfluous CMAKE_INCLUDE_CURRENT_DIR.

Set the output directory of the extrafilters plugin to the application's
build directory such that the app can find the plugin without having to
install the example.

Skip regeneration in those files, to avoid scattering the project files
with special case markers.

Fixes: QTBUG-87449
Fixes: QTBUG-91066
Change-Id: I3ceb08f5fcda1ffea3c35cee8580f7b5e4ecfc1f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2021-04-27 21:33:48 +02:00
..
completer CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
customcompleter CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
echoplugin CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
i18n i18n example: No longer ignore return value of QTranslator.load() 2020-11-19 17:27:30 +01:00
plugandpaint Re-work the CMake project files for the plugandpaint example 2021-04-27 21:33:48 +02:00
regularexpression CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
settingseditor Port example away from deprecated QVariant API 2021-04-16 16:49:29 +02:00
styleplugin CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
treemodelcompleter CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
undo CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
undoframework UndoFramework example: make the background visible 2021-01-11 12:59:07 +00:00
.prev_CMakeLists.txt Move QTextCodec support out of QtCore 2020-06-20 02:04:38 +02:00
CMakeLists.txt Re-work the CMake project files for the plugandpaint example 2021-04-27 21:33:48 +02:00
tools.pro Move QTextCodec support out of QtCore 2020-06-20 02:04:38 +02:00