Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Port more tests from tests/auto/corelib/tools to CMake | Sona Kurazyan | 2020-04-29 | 1 | -0/+12 |
| | | | | | | | | Also removed add_subdirectory calls for subdirs which no longer exist. Change-Id: I759f408ca812e1721dde495b0e23feffdeeb9c60 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> | ||||
* | Add missing dependencies for tst_qmacautoreleasepool | Tor Arne Vestbø | 2018-08-29 | 1 | -0/+1 |
| | | | | | Change-Id: Idf94d419526f02e89608b1d105a0858bceabbba1 Reviewed-by: Andy Shaw <andy.shaw@qt.io> | ||||
* | macOS: Detect use of heap-allocated QMacAutoReleasePool | Tor Arne Vestbø | 2017-09-08 | 2 | -0/+115 |
QMacAutoReleasePool is backed by an NSAutoreleasePool, which documents that "you should always drain an autorelease pool in the same context (invocation of a method or function, or body of a loop) that it was created". This means allocating QMacAutoReleasePool on the heap is not a supported use-case, but unfortunately we can't detect it on construction time. Instead we detect whether or not the associated NSAutoreleasePool has been drained, and prevent a double-drain of the pool. Change-Id: Ifd7380a06152e9e742d2e199476ed3adab326d9c Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> |