I am on KDE / Wayland, and started to learn Juce. Sadly all tutorials requires downloading Projucer. I’m not a huge fan, but okay.
However, the tool’s interface is unusable because it is displayed much too small without the option to resize it on the fly.
So if I can get some help on this subject, and incidentally some links to resources on how to configure Juce directly by editing cmake, that would be great.
Ah thank you I will give a look. But I have the feeling it’s specific to plugin development, and I think I will try standalone application. Anyway, I found my way with working with Juce in my setup (I had to install a bunch of package for gtk, curl etc…, ). I didn’t find how to generate a cmake file with projucer too and I had some difficult to make clion find juce header. but it work now.
The interface of projucer is still too small but if I squint a little, I can get something out of it.
Other than developing for Android you should be able to use CMake if you would prefer to not use the Projucer. Although there are a number of tutorials using the Projucer this is not normally a requirement.
We’ll see if we can reproduce this at some point but I’m not aware of any other reports like this at the moment. Is there anything else you can tell us about your setup. For example are you running the latest version of KDE Linux? Have you set any kind of scaling factor? What graphics card are you using? Are you using the latest version of JUCE from the develop branch? Did you build the Projucer yourself or did you download it from our website?
As shared above you can find the JUCE CMake documentation in the repository under docs/CMake API.md
I have a screen pluged on a laptop the laptop screen is the primary screen and has a high resolution(2560x1080) so I scale it to 150% . The second screen has a 1920x1080 resoution. I configuresd projucer in order to it opens on this second screen but the interface is still very small.
My guess: even if you build with cmake your scaling issue will be resist. You should be aware of the fact that juce doesn’t support wayland yet. So if you scale your desktop with fractional scaling your juce app will be blurry. You can handle scaling in your code, though. Have a look at the juce::desktop class.
I just read my comment and realized it may be interpreted in unintended ways and I have a habit of wording things to where I come off as a dick lol.
I’m sure everyone in a software developer forum knows how to set scaling for their display in the OS settings. My point was simply that sometimes those with advanced knowledge on a matter overlook the simple solutions. Changing the display scaling is quick & easy enough that it should eliminate the need for a more complicated solution, as you can resize as needed in just a few seconds.