Skip to content

fix: resolve root path via symlink targets#1126

Open
GunniBusch wants to merge 1 commit into
KDAB:masterfrom
GunniBusch:homebrew-rootpath-symlink
Open

fix: resolve root path via symlink targets#1126
GunniBusch wants to merge 1 commit into
KDAB:masterfrom
GunniBusch:homebrew-rootpath-symlink

Conversation

@GunniBusch

@GunniBusch GunniBusch commented Apr 26, 2026

Copy link
Copy Markdown

When GammaRay is invoked through a symlinked executable, QCoreApplication::applicationDirPath() points at the symlink directory. Resolve the executable path first so relative root paths are based on the real executable location.

This helps downstream package layouts that link the executable from a separate prefix while keeping the Qt plugin/root layout beside the real binary.

AI-assisted contribution by OpenAI Codex. Codex just opened the pr. The 3 lines were done by my brain.

@CLAassistant

CLAassistant commented Apr 26, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@GunniBusch GunniBusch force-pushed the homebrew-rootpath-symlink branch from d8d4ae8 to 23e98b9 Compare April 26, 2026 23:45
@GunniBusch GunniBusch changed the title Resolve root path via symlink targets fix: resolve root path via symlink targets Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants