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

Please provide QT5 build option for Linux #40

Open
forrcaho opened this issue May 10, 2018 · 11 comments
Open

Please provide QT5 build option for Linux #40

forrcaho opened this issue May 10, 2018 · 11 comments

Comments

@forrcaho
Copy link

Apps built with QT 5.6 or above will scale automatically so they are usable on linux with hidpi displays. When I build using the provided instructions (cd src ; make linux-jack), the code is linked with QT4, which makes the app render very tiny for me.

It shouldn't be hard to just link with QT5, right? Please provide that as an option, or just move to QT5.

@spencersalazar
Copy link
Member

Interesting, thats not so good that it renders tiny, we can look into it.

Unfortunately my experience is that major library upgrades are not so simple as there are often compatibility issues at the source code level and functionality level. Its not really possible to gauge the difficulty without diving into it outright.

@forrcaho
Copy link
Author

The workaround is to use run_scaled, so it's not a showstopper for me. I don't get the crisp resolution my screen is capable of providing that way, but it will do.

@ycollet
Copy link

ycollet commented Apr 24, 2020

Just as a comment: Fedora 32 doesn't ship qt4 anymore. So, impossible to build miniAudicle on Fedora 32.

@mariobuoninfante
Copy link

same with Ubuntu Studio 20.04 LTS

@ycollet
Copy link

ycollet commented Apr 25, 2020

To be more precise: on fedora, they have renamed qt to qt4 but the big problem is qscintilla. The Qt4 version is not shipped anymore.
I have rebuilt the qscintilla-qt4 package on my machine and miniAudicle compiles fine (with gcc 10).

ids1024 added a commit to ids1024/miniAudicle that referenced this issue Jan 30, 2021
Qt 4 has been unsupported and unmaintained for years, and isn't packaged
for many Linux distros any more. Luckily porting QT4 to QT5 is generally
not too hard, and fairly well documented. In this case, quite trivial.

This seems to be working nicely, though I've only tested on Linux.

Fixes ccrma#40 and
ccrma#41.
ids1024 added a commit to ids1024/miniAudicle that referenced this issue Jan 30, 2021
Qt 4 has been unsupported and unmaintained for years, and isn't packaged
for many Linux distros any more. Luckily porting QT4 to QT5 is generally
not too hard, and fairly well documented. In this case, quite trivial.

This seems to be working nicely, though I've only tested on Linux.

Fixes ccrma#40 and
ccrma#41.
@ids1024 ids1024 mentioned this issue Jan 30, 2021
@fgaz
Copy link

fgaz commented Jun 13, 2022

On NixOS, too, we'll have to drop the miniaudicle package due to lack of qt5 support NixOS/nixpkgs#174634

@fgaz fgaz mentioned this issue Jun 14, 2022
13 tasks
@fgaz
Copy link

fgaz commented Jun 19, 2023

Looks like miniaudicle was updated straight to qt6:

Dependencies: miniAudicle on Linux requires `Qt6` and `qscintilla-qt6` development packages to be installed.

Can we get a release that includes the update?

@gewang
Copy link
Member

gewang commented Jun 20, 2023

Can we get a release that includes the update?

1.5.0.3 just came out: https://chuck.stanford.edu/release/. We've made a miniAudicle release source tarball for this release (with 'chuck' dependency included). FYI the tarball should be identical in contents to

git clone --recurse-submodules --branch chuck-1.5.0.3 https://github.com/ccrma/miniAudicle.git

The updated build instructions can be found at https://github.com/ccrma/miniAudicle#readme

Please let us know how we can help (the install targets may need some TLC). Two things regarding potential packaging/installation:

  1. the examples folder should somehow be installed so it's accessible from miniAudicle->File->Open Examples...
  2. the tarball also contains src/chugins (another repo containing chuck plugins, most of which ship with miniAudicle; these typically go into /usr/local/lib/chuck/, one of the default search paths for chuck/miniAudicle to autoload chugins, when starting the VM)

I will help as I can! but @spencersalazar holds the real knowledge of the miniAudicle...

Thank you!!

PS: btw if you Discord, the ChucK Community Discord server might be helpful for interactive communications as well.

@fgaz
Copy link

fgaz commented Aug 19, 2023

Sorry, I almost forgot about this. So does this mean that chuck-* tags in this repo are to be considered miniaudicle releases?

@gewang
Copy link
Member

gewang commented Aug 19, 2023

Yes, miniAudicle and CLI chuck releases are synchronized and both repos use the same chuck-* format to tag their respective release. The latest presently should be chuck-1.5.1.0, with chuck-1.5.1.1 around the corner (ETA next week)

@gewang
Copy link
Member

gewang commented Aug 22, 2023

FYI chuck-1.5.1.1 is released (tagged with the same name in miniAudicle) @fgaz please let us know if you have any questions or run into any issues. thank you!

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 a pull request may close this issue.

6 participants