myzinsky / cloudLogOffline

An App as Offline Frontend for CloudLog
GNU Lesser General Public License v3.0
17 stars 7 forks source link

Make PREFIX an env var #117

Closed Cadair closed 1 month ago

Cadair commented 1 month ago

I am attempting to package cloudlogOffline for nix, but I couldn't override prefix. I think this is the fix according to my searching around?

dg0yt commented 1 month ago

This change isn't needed.

Tentative packaging is in https://build.opensuse.org/package/show/home:dg0yt/cloudlogoffline https://software.opensuse.org//download.html?project=home%3Adg0yt&package=cloudlogoffline But these packagess aren't tested much. They use the distro's Qt packages, and this gives a tough spectrum of Qt versions.

dg0yt commented 1 month ago

Basically you need to pass PREFIX="/usr" to qmake - that's standard qmake packaging AFAICT.

Cadair commented 1 month ago

It seems I had a couple of compound issues, and it now works when trying to build master. Thanks.

Now just to figure out this unrelated qmlcachegen issue :thinking:

dg0yt commented 1 month ago

There are broken Qt releases, usually ending in .0.