Skip to content

Conversation

nHackel
Copy link
Contributor

@nHackel nHackel commented Jun 18, 2025

Hello,

I've been playing around a bit with PackageCompiler and one easy mistake to make when trying to distribute an Gtk4 app is too use just joinpath(@__DIR__, "...", "file.ui"). Since @__DIR__ is evaluated at compile time, it is then hardcoded to some path.

To make users aware of this, especialyl because I tihnk GUI are a good case for PackageCompiler, I've added a hint to the documentation that mentions this issue or rather mentions solutions for the problem.

@jwahlstrand jwahlstrand merged commit da46608 into JuliaGtk:main Jun 18, 2025
10 checks passed
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