Skip to content

Commit 796039f

Browse files
committed
Update Qt handling for Qt 5.0+
1 parent a5b2c93 commit 796039f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Other/Source/Segments/Qt.nsh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ${SegmentFile}
22

33
${SegmentPostPrimary}
44
; The Qt plugin cache and a few other things leave keys inside
5-
; HKCU\Software\Trolltech\OrganizationDefaults\*\X:\...\dirname which need
5+
; HKCU\Software\QtProject\OrganizationDefaults\*\X:\...\dirname which need
66
; to be cleared up. They're useless, they've got just values like foo.dll
77
; with a version number in them, but they need removing. Due to the
88
; directory-recursive key nature of them, we can just scrap the package
@@ -12,12 +12,12 @@ ${SegmentPostPrimary}
1212
ClearErrors
1313
${ReadLauncherConfig} $0 QtKeysCleanup $R0
1414
${IfThen} ${Errors} ${|} ${ExitDo} ${|}
15-
StrCpy $1 Software\Trolltech\OrganizationDefaults\$0\$AppDirectory
15+
StrCpy $1 Software\QtProject\OrganizationDefaults\$0\$AppDirectory
1616
DeleteRegKey HKCU $1
1717
${Do}
1818
${GetParent} $1 $1
1919
DeleteRegKey /ifempty HKCU $1
20-
${LoopUntil} $1 == "Software\Trolltech"
20+
${LoopUntil} $1 == "Software\QtProject"
2121

2222
IntOp $R0 $R0 + 1
2323
${Loop}

0 commit comments

Comments
 (0)