C++ use static obj to call functions auto before main
change the way to register a new class in factory
GDI+ renderer for windows

performance is poor!
dptr: const pointer convert
Merge branch 'gdi'
gdi: avoid image auto scale. all painting use gdi

It's different from QPainter
fix no painting when top level changed.
gdi: BitBlt support

BUG: crash after playing for a while
add Direct2DRenderer class. empty now
add scripts and templates to generate class

TODO: use idl?
gdi: keep code format the same as template's
version 1.1.9

Changelog:
- Add network interrupt callback. Thanks Vito vcovito
- QtAV and FFmpeg runtime version check
- Add factory model to manager the components. Currently used in
ImageConverter
- MSVC support
- Seek bug fix: some times blocked
- qmake: no additional arguments required(if source dir is writable)
- Add 2 graphics item renderer examples
- GDI+ renderer support
- Start to use script to create new classes
use version.h to simplify version change for rc file. fix vs link error

when compiling *.rc, include files like Qt/*.h, QtAV/*.h will failed, so
I use relative path, and version.h include no other files.
link error is about /SAFESEH, when linking again ffmpeg and portaudio,
just disable it
configurable gdi plus
Merge branch 'master' into directx

Conflicts:
	src/libQtAV.pro
direct2d works. default is disabled. use qmake argument CONFIG+=direct2d

picture quality is ok. performance is not good enough on my pc
TODO: use dynamic load
direct2d: do not always create bitmap

have not compared the performance
TODO:
1. how to update bitmap when setSource called and size changes
2. change base class from ImageRenderer to VideoRenderer to avoid QImage
constructing
code style, var names etc.
direct2d: inherit VideoRenderer to avoid QImage construct

TODO:
1. need a function call when setSourceSize() called
2. try QPainter::beginNativePaint()
3. try to implement other QPaintEngine. What Qt has?
direct2d: check ptr

BUG:
sometimes windows give this error: "D3D11: Removing Device"
even the user will logout the system!