qt6-bb10/examples
Albert Astals Cid f121f319b9 examples: Fix -Wdeprecated-copy warnings
examples/corelib/tools/customtypesending/window.cpp: In member function ‘void Window::sendMessage()’:
examples/corelib/tools/customtypesending/window.cpp:79:71: warning: implicitly-declared ‘Message& Message::operator=(const Message&)’ is deprecated [-Wdeprecated-copy]
   79 |     thisMessage = Message(editor->toPlainText(), thisMessage.headers());
      |                                                                       ^
In file included from examples/corelib/tools/customtypesending/window.h:55,
                 from examples/corelib/tools/customtypesending/window.cpp:52:
examples/corelib/tools/customtypesending/message.h:62:5: note: because ‘Message’ has user-provided ‘Message::Message(const Message&)’
   62 |     Message(const Message &other);
      |     ^~~~~~~
examples/corelib/tools/customtypesending/window.cpp: In member function ‘void Window::setMessage(const Message&)’:
examples/corelib/tools/customtypesending/window.cpp:87:19: warning: implicitly-declared ‘Message& Message::operator=(const Message&)’ is deprecated [-Wdeprecated-copy]
   87 |     thisMessage = message;
      |                   ^~~~~~~
In file included from examples/corelib/tools/customtypesending/window.h:55,
                 from examples/corelib/tools/customtypesending/window.cpp:52:
examples/corelib/tools/customtypesending/message.h:62:5: note: because ‘Message’ has user-provided ‘Message::Message(const Message&)’
   62 |     Message(const Message &other);
      |     ^~~~~~~

Change-Id: I563d53f7dd1e0e0dc5fd4db06299b2d0a70c62ff
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2019-10-30 07:46:35 +02:00
..
aggregate install a sane top-level examples.pro file 2012-12-11 13:37:57 +01:00
corelib examples: Fix -Wdeprecated-copy warnings 2019-10-30 07:46:35 +02:00
dbus Examples: cleanup foreach usage 2019-02-02 12:49:19 +00:00
embedded Remove usages of Q_OS_WINCE 2019-05-23 13:51:05 +02:00
gui Take device-pixel-ratio into account in openglwindow example 2018-11-20 19:51:12 +00:00
network Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
opengl Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
qmake Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
qpa Examples: cleanup foreach usage 2019-02-02 12:49:19 +00:00
qtconcurrent Convert uses of QTime as a timer to QElapsedTimer 2019-06-14 10:42:33 +02:00
qtestlib Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-06 15:36:44 +02:00
sql Merge remote-tracking branch 'origin/5.13' into dev 2019-06-27 14:38:03 +02:00
vulkan Fix use of qrand/qsrand in an example 2019-04-01 14:39:53 +00:00
widgets Examples: fix compiling tablet example on qnx 2019-10-16 09:18:04 +02:00
xml Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
README Remove more references to demos. 2011-07-08 15:36:26 +02:00
examples.pro Doc: Move touch examples around so they get included in docs 2018-09-14 03:56:22 +00:00

README

Qt is supplied with a number of example applications that have been
written to provide developers with examples of the Qt API in use,
highlight good programming practice, and showcase features found in each of
Qt's core technologies.


Documentation for examples can be found in the Examples section
of the Qt documentation.