Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to implement applicationFilePath() #9

Open
waddlesplash opened this issue Aug 30, 2019 · 0 comments
Open

Need to implement applicationFilePath() #9

waddlesplash opened this issue Aug 30, 2019 · 0 comments

Comments

@waddlesplash
Copy link
Contributor

A recent change in Haiku made be_roster launch apps with argv[0] set to the symlink, e.g. the Deskbar symlink. @diversys says this breaks Qt apps. The problem likely is, as per Qt documentation:

Warning: On Linux, this function will try to get the path from the /proc file system. If that fails, it assumes that argv[0] contains the absolute file name of the executable. The function also assumes that the current directory has not been changed by the application.

So we need a different implementation for Haiku here, using get_image_info to get the application image, and then its path.

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

No branches or pull requests

1 participant