qt5base-lts/examples
Allan Sandfeld Jensen 515e802ae2 Use C++ <cmath> instead of <math.h>
Including math.h can pollute the default namespace, and break
some compilers if cmath versions of the method are declared as using.

Switching to C++ math functions also greatly simplifies handling of
float qreal as C++ automatically chooses the right method.

[ChangeLog][QtCore][QtMath] qmath.h no longer includes math.h, so any
sources depending on that indirect inclusion may fail to build.

Change-Id: I4d0e331dafba354ec05dc5052e61ef4ff8d387fe
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
2015-02-16 16:21:15 +00:00
..
aggregate install a sane top-level examples.pro file 2012-12-11 13:37:57 +01:00
corelib Use C++ <cmath> instead of <math.h> 2015-02-16 16:21:15 +00:00
dbus Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
embedded examples: migrate to QString::asprintf 2015-02-12 19:40:09 +00:00
gui Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
network Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
opengl Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
qmake Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
qpa Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
qtconcurrent Use C++ <cmath> instead of <math.h> 2015-02-16 16:21:15 +00:00
qtestlib Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
sql Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
touch Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
webkit/webkit-guide Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
widgets Use C++ <cmath> instead of <math.h> 2015-02-16 16:21:15 +00:00
xml Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
examples.pro Move Qt Core examples under a common subdirectory 2014-10-17 14:57:13 +02:00
README Remove more references to demos. 2011-07-08 15:36:26 +02:00

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.