Commit Graph

6 Commits

Author SHA1 Message Date
Lucie Gérard 28bba0ad93 Correct license for test files
According to QUIP-18 [1], all test files should be
LicenseRef-Qt-Commercial OR GPL-3.0-only

[1]: https://contribute.qt-project.org/quips/18

Pick-to: 6.7
Task-number: QTBUG-121787
Change-Id: I966d4033a73aacabb39f582270f2f1c18e2bcecd
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2024-04-23 06:28:57 +00:00
YAMAMOTO Atsushi 06de9a93da Fix memory leak in manual test 'rendercapture-qml'
Deallocate the RenderCaptureReply object returned from requestCapture.

Change-Id: I4fa96a724ad9143dee4a09c51dc8e007ea4e828c
Reviewed-by: Tasuku Suzuki <tasuku.suzuki@signal-slot.co.jp>
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
2022-10-06 00:05:47 +09:00
YAMAMOTO Atsushi a032acde78 Fix runtime warning in manual test 'rendercapture-qml'
Warning message is:
"QML Button: Detected anchors on an item that is managed by a layout.
 This is undefined behavior; use Layout.alignment instead."
We could replace it with Layout.alignment, but it's not needed here.

Change-Id: I62f4784ca561ff55bb336ddea08fde5e4c685520
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
2022-09-30 11:19:33 +09:00
Lucie Gérard 2f1bc82b35 Use SPDX license identifiers
Replace the current license disclaimer in files by
a SPDX-License-Identifier.
License files are organized under LICENSES directory.

Pick-to: 6.4
Task-number: QTBUG-67283
Change-Id: I8105424281eed871037fa6c463871ca8829876b5
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
2022-06-22 10:47:10 +02:00
Paul Lemire 8ef1bab575 Fix connect in rendercapture-qml manual tests
Change-Id: I33afeae789f774d07de157d59c96c9e878f5c0bc
Reviewed-by: Mike Krus <mike.krus@kdab.com>
2020-08-26 16:39:39 +02:00
Paul Lemire d826206802 RenderCapture: read back from the correct framebuffer
Up until now, RenderCapture would read back from the back buffer. In cases
where it's used within a RenderTargetSelector, it should instead read back
from the ColorAttachment0 of the framebuffer.
Later on we might allow to specify the ColorAttachment.

Change-Id: I9ca94333184338b2fdb79c5c2668d5929ac8d405
Task-number: QTBUG-61547
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
2017-07-17 09:28:56 +00:00