X11 is required in CMakeLists.txt but it seems no longer strictly required now.
I found no header from X11 in code and it doesn't link against.
No trace of functions XSetErrorHandler & XGetErrorText from the comment.
I'm guessing that was from the ancient X11 version of rosegarden. Sounds like it would be safe to remove that. We should do this for 26.06. If you have a patch, please send it and we will incorporate it. Otherwise I will take a closer look after 25.12 is released.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Looks like X11 was only used in main.cpp back in 2015 and it was removed in November 2018 [8721fe]. Since I was able to track this down, I've pushed this to master for the 25.12 build.
I'm guessing that was from the ancient X11 version of rosegarden. Sounds like it would be safe to remove that. We should do this for 26.06. If you have a patch, please send it and we will incorporate it. Otherwise I will take a closer look after 25.12 is released.
Delete the line is sufficient.
Fixed in [12a6aa]. Please test latest git.
Looks like X11 was only used in main.cpp back in 2015 and it was removed in November 2018 [8721fe]. Since I was able to track this down, I've pushed this to master for the 25.12 build.
Related
Commit: [12a6aa]
Commit: [8721fe]
Last edit: Ted Felix 2025-11-17