qt5base-lts/examples/widgets
Laszlo Agocs d4548751b7 Fix OpenGL mode in examples like composition
To avoid an incorrect offset for the native window, call create()
after createWindowContainer().

The mysterious -1 for the width and height are removed as well because
otherwise the GL window's size is clearly off by one.

Fixes: QTBUG-82195
Pick-to: 5.15
Change-Id: I1a9cec62746fc110bfc4cd2e4fa111f621124638
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
2020-06-09 11:29:01 +00:00
..
animation Merge "Merge remote-tracking branch 'origin/wip/cmake' into dev" 2020-02-11 10:19:42 +01:00
desktop Merge remote-tracking branch 'origin/5.15' into dev 2020-04-08 20:11:39 +02:00
dialogs CMake: Regenerate examples/widgets/ projects 2020-04-29 22:48:38 +02:00
doc Remove the deprecated QDirModel 2020-06-04 19:11:19 +02:00
draganddrop Replace calls to deprecated QEvent accessor functions 2020-06-08 19:11:51 +02:00
effects Replace calls to deprecated QEvent accessor functions 2020-06-08 19:11:51 +02:00
gallery CMake: Regenerate examples/widgets/ projects 2020-04-29 22:48:38 +02:00
gestures CMake: Regenerate examples/widgets/ projects 2020-04-29 22:48:38 +02:00
graphicsview CMake: Regenerate examples/widgets/ projects 2020-04-29 22:48:38 +02:00
itemviews Replace calls to deprecated QEvent accessor functions 2020-06-08 19:11:51 +02:00
layouts Merge remote-tracking branch 'origin/5.15' into dev 2020-03-04 14:39:18 +00:00
mac CMake: Regenerate examples/widgets/ projects 2020-04-29 22:48:38 +02:00
mainwindows Replace calls to deprecated QEvent accessor functions 2020-06-08 19:11:51 +02:00
painting Fix OpenGL mode in examples like composition 2020-06-09 11:29:01 +00:00
qnx/foreignwindows Basic foreign window support for QNX 2019-05-01 13:49:18 +00:00
richtext Get rid of QTextCodec in the textedit example 2020-05-14 07:51:15 +02:00
scroller Regenerate examples 2020-02-04 18:50:39 +00:00
statemachine CMake: Regenerate examples/widgets/ projects 2020-04-29 22:48:38 +02:00
tools Replace calls to deprecated QEvent accessor functions 2020-06-08 19:11:51 +02:00
touch Replace calls to deprecated QEvent accessor functions 2020-06-08 19:11:51 +02:00
tutorials Re-generate various CMake projects and configure after merge 2020-03-16 20:43:56 +01:00
widgets Phase 2 of removing QDesktopWidget 2020-06-08 20:29:49 +02:00
windowcontainer Replace calls to deprecated QEvent accessor functions 2020-06-08 19:11:51 +02:00
.prev_CMakeLists.txt CMake: Regenerate examples/widgets/ projects 2020-04-29 22:48:38 +02:00
CMakeLists.txt CMake: Regenerate examples/widgets/ projects 2020-04-29 22:48:38 +02:00
widgets.pro Add a widget gallery example 2020-01-09 13:52:25 +01:00