forked from qt-creator/qt-creator
When the lldbbridge is imported from the debug_script.py in qtbase, it's imported using the module name 'qt', to distinguish it from when Qt Creator imports the bridge. So when we add the synthetic child provider, we need to use the 'qt' module name. This fixes the warning: The provided class does not exist - please define it before attempting to use this synthetic provider If for some reason the lldbbridge.py is imported into a LLDB session directly, we mirror the 'lldbbrdige' module name to 'qt' as well, so that the class reference still holds. Change-Id: I531b10fd5e10eb0c2acd6014169a02ba3157c704 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
103 KiB
103 KiB