Debugger: Adapt QObject name dumper to Qt 6

Task-number: QTCREATORBUG-24098
Change-Id: Iee8a71eda4c15b3cd36e569805fef769f6eb090f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2020-11-25 17:18:24 +01:00
parent 448cdb7bb5
commit 398a74b027
2 changed files with 39 additions and 20 deletions
+2 -2
View File
@@ -1047,9 +1047,9 @@ class Dumper(DumperBase):
def handleNewObjectFile(self, objfile):
name = objfile.filename
if self.isWindowsTarget():
qtCoreMatch = re.match(r'.*Qt5?Core[^/.]*d?\.dll', name)
qtCoreMatch = re.match(r'.*Qt[56]?Core[^/.]*d?\.dll', name)
else:
qtCoreMatch = re.match(r'.*/libQt5?Core[^/.]*\.so', name)
qtCoreMatch = re.match(r'.*/libQt[56]?Core[^/.]*\.so', name)
if qtCoreMatch is not None:
self.addDebugLibs(objfile)