Qt 5.10 skipped?
Jason Liu
jasonliu at umich.edu
Thu Aug 31 23:38:51 UTC 2023
Does anyone have any objections if I were to resurrect Qt 5.10? One of the
ports that I am working on crashes under certain circumstances when using
qt511, which is the newest Qt that works on macOS 10.11. The version of Qt
that was bundled with the pre-built binary distribution was Qt 5.10.
Admittedly, I am also able to compile the port using qt59, and there are no
crashes. In addition, I can also compile the port using qt513 on macOS
10.13, and there are also no crashes (qt512 also doesn't currently exist).
I'm not really sure how much Qt changes with each version. So on the one
hand, it would be nice to be able to get the port working with the same
version of Qt that it originally shipped with, but on the other hand, it
seems like overkill to bring back such a large set of ports as qt510-* just
for the sake of a single port on old versions of macOS.
What are everyone's thoughts on this?
--
Jason Liu
On Wed, Aug 30, 2023 at 11:26 PM Ryan Schmidt <ryandesign at macports.org>
wrote:
>
>
> On Aug 30, 2023, at 19:40, Jason Liu wrote:
>
> I just noticed that Qt 5.9 and Qt 5.11 are available in MacPorts, but not
> Qt 5.10. Was there a specific reason why 5.10 was skipped, or was it just
> that no one got around to it before 5.11 was released?
>
>
> Certainly qt 5.10.x existed in MacPorts. You can find bugs that were filed
> against it:
>
> https://trac.macports.org/query?port=~qt5&summary=~%405.10
>
> I couldn't immediately find the commit in which it was removed. It's a
> little difficult since the qt5 portfile is massive and there are also the
> qt5 portgroups. But I suspect it was deleted because there exists no macOS
> version for which qt 5.10.x is the most recent one available.
>
> And a somewhat tangential question: When using the qt5 PortGroup, is there
> a way to specify a particular version of Qt 5.x that needs to be used? I do
> see plenty of references to ${qt5.version}, but is that something that I am
> allowed to set in my Portfile?
>
>
> Looking near the top of the qt5-1.0 portgroup,
>
>
> https://github.com/macports/macports-ports/blob/master/_resources/port1.0/group/qt5-1.0.tcl
>
> the prominent placement of qt5.min_version suggests to me that it is
> intended for portfile authors to override it. 38 ports reference this
> variable.
>
> I don't believe there is any way for you to specify a maximum qt version,
> nor a specific version. The qt5 portgroup will select the blessed qt
> version that is compatible with the user's OS version.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20230831/541db9c6/attachment.htm>
More information about the macports-dev
mailing list