Ticket #44412

macOS: --with-qt6-framework

Open Date: 2022-04-18 13:41 Last Update: 2022-04-28 14:40

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
2

Details

Add --with-qt6-framework configure option (to be implemented in qt6-darwin.m4) for macOS, to override current automatic detection by 'qtpaths --install-prefix'. This is needed as qtpaths from a homebrew installed to a custom location still seems to return paths of the default location.

Ticket History (3/10 Histories)

2022-04-18 13:41 Updated by: cazfi
  • New Ticket "macOS: --with-qt6-framework" created
2022-04-18 19:06 Updated by: cazfi
Comment

No similar problem has been reported with Qt5, but making equivalent change to qt5-darwin.m4 sounds sensible. And doing that part even to S3_0?

2022-04-19 06:15 Updated by: jdlh
Comment

I have a note in my MacPorts adaptation of Freeciv 2.6.6. Freeciv 2.6.6 ./configure only detects qt5_bins_dir/qtpaths if qt5_bins_dir is in the shell's search $PATH. It does not respect the setting of --with-qt5-framework-bin. So this fails: ./configure --with-qt5-framework-bin=.../qt5_bins_dir .

What I take from this is that the configure options for Qt5 in Freeciv S2_6 did not get implemented fully or correctly.

When implementing this --with-qt6-framework configure option, could that person please also check that all related Qt6 config options in that branch work correctly?

2022-04-19 10:56 Updated by: cazfi
Comment

I suspected qt6-framework-bin/qt5-framework-bin to be broken from seeing it in the qt6-darwin.m4/qt5-darwin.m4, but didn't get to that yet. Will open a new ticket about it. Of course, if the fix gets written by someone without access to a mac (looks at the mirror), somebody else needs to test that it actually works.

2022-04-19 11:53 Updated by: cazfi
Comment

Reply To cazfi

qt6-framework-bin/qt5-framework-bin to be broken ... Will open a new ticket about it.

-> #44422

2022-04-19 12:30 Updated by: jdlh
Comment

if the fix gets written by someone without access to a mac (looks at the mirror), somebody else needs to test that it actually works.

I am able to build all the Freeciv branches on my Mac. If there are mac-specific things which need testing, you are welcome to assign them to me and I will eventually test it.

2022-04-22 07:15 Updated by: cazfi
  • Owner Update from (None) to cazfi
  • Resolution Update from None to Accepted
2022-04-28 14:40 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login