Go to file
Volker Hilsheimer 35ddf34988 Add QMenu::menuInAction as a static helper
QAction::menu is deprecated, as it makes QAction (a QtGui class) depend
on QtWidgets. The template hack works, but shouldn't become a permanent
solution and is already deprecated.

To get the QMenu out of a QAction that contains it, add a static helper
to QMenu instead. QAction continues to store the menu pointer so that
we don't have to use a dynamic property or an associative container in
QMenu.

Change-Id: Ieb6a2b1900d2fc2f16dd5a4a8ab7da98604642d3
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2021-11-01 23:22:55 +01:00
.github/workflows Github Actions: many minor updates 2021-01-22 18:48:54 +01:00
bin Add missing -help argument to qt-configure-module 2021-08-20 19:44:43 +02:00
cmake configure: Remove unused facility to define variable assignments 2021-11-01 22:32:01 +01:00
coin CI: Enable building autotests for QNX QEMU 2021-10-27 10:30:02 +00:00
config.tests wasm: add simd support 2021-10-05 11:30:06 +10:00
dist Add Qt 6.0.0 changes file 2020-11-16 10:02:08 +02:00
doc Doc: Fix usage of \summary macro 2021-10-12 14:08:08 +02:00
examples Fix treemodelcompleter example 2021-10-27 16:34:44 +02:00
lib
libexec Fix various configure time warnings about missing QT_BEGIN_NAMESPACE 2021-11-01 17:17:29 +02:00
mkspecs wasm: remove sse2 config block 2021-10-27 12:00:06 +00:00
qmake qmake/vcxproj: Fix "CONFIG += combine" extra compilers 2021-10-25 18:10:43 +02:00
src Add QMenu::menuInAction as a static helper 2021-11-01 23:22:55 +01:00
tests QCollator: add public, static functions to do comparisons 2021-11-01 22:30:23 +02:00
util configure: Remove unused facility to define variable assignments 2021-11-01 22:32:01 +01:00
.cmake.conf Revert "CMake: Warn if cmake_minimum_required has an unsupported low version" 2021-10-04 15:55:10 +02:00
.gitattributes Give batch files CRLF line endings 2020-11-04 15:02:29 +00:00
.gitignore testlib: Accurately name JUnit test, and only run for JUnitXML reporter 2021-07-29 15:39:40 +02:00
.lgtm.yml
.tag
CMakeLists.txt CMake: Enforce minimum CMake version in user projects 2021-08-04 16:03:08 +02:00
conanfile.py Change package_revision_mode() to recipe_revision_mode() 2021-10-25 15:47:46 +03:00
config_help.txt Document that schannel is on by default 2021-10-06 15:05:20 +02:00
configure Remove unsupported, host-related options from configure shell script 2021-08-05 02:44:27 +02:00
configure.bat Fix our usage of CMake script mode in Windows configure 2021-08-20 19:44:43 +02:00
configure.cmake wasm: add simd support 2021-10-05 11:30:06 +10:00
dependencies.yaml
LICENSE.FDL
LICENSE.GPL2
LICENSE.GPL3
LICENSE.GPL3-EXCEPT
LICENSE.LGPL3
LICENSE.LGPLv3
LICENSE.QT-LICENSE-AGREEMENT
qt_cmdline.cmake configure: Remove declaration of the DBUS_[HOST_]PATH variables 2021-11-01 21:01:07 +01:00
sync.profile Implement generating of a module cpp export header 2021-06-24 20:40:49 +02:00