[MacPorts] #68633: qt6 should have small 'development" package / QTDIR not set during install

MacPorts noreply at macports.org
Sat Nov 4 00:22:05 UTC 2023


#68633: qt6 should have small 'development" package / QTDIR not set during install
-------------------------+-----------------------------
 Reporter:  Behinder     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:  MacPorts Future
Component:  ports        |    Version:  2.8.1
 Keywords:  qt6          |       Port:
-------------------------+-----------------------------
 Forgive me ,I don't know what title to give this so let me briefly
 describe problems.
 I wanted to try fix the bugs in qbitorrent so reading README I see qt6 is
 required. Ok but when I want to install qt6 it also try to install lot of
 qt dependencies including qt6-qtmultimedia which is really unnecessary -
 after all this is torrent client not multimedia player.

 I would say it is developer fault to not clarify dependencies in detail,
 but anyway it would be nice to have something like qt6base-devel. or is it
 already packed into qt6-qtbase? I am still accustomed to Ubuntu style
 -devel packages namespace so lack of such in macports confusing me. Even
 worse, when I install whole qt6 via macports qbittorrent still cannot find
 some necessary symbols for CMake - I would say QTDIR variable should be
 set up during destroot stage but it's not.

 So that brought me another problem I have for years when using Macports -
 correctly handling dependency and revert installation to previous state.
 When I did `port install qt6` beside qt6 it also installed some other
 dependencies, but some dependencies I already had on my disk. Now, when I
 want to uninstall qt6 I would like to remove only that dependencies that
 was added during last install , not every package that is qt6 dependency.
 I tried various combination with depof rdepof dependentof this dummy names
 are confusing for me, and no luck.

-- 
Ticket URL: <https://trac.macports.org/ticket/68633>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list