Bug 217293 - update instruction for 0170218 - the qt4 and qt5 issue - needed!
Summary: update instruction for 0170218 - the qt4 and qt5 issue - needed!
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: kde
Depends on:
Reported: 2017-02-22 12:39 UTC by rotkap
Modified: 2019-09-05 12:22 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description rotkap 2017-02-22 12:39:57 UTC
There is no Howto for the QT4 and QT5 issue

In the UPDATING file of the ports collection we can read this:

  AFFECTS: users of Qt 4 and Qt 5
  AUTHOR: kde@FreeBSD.org

  Following what is already done in Qt 5, the Qt 4 ports no longer install
  their binaries into ${LOCALBASE}/bin (which is "/usr/local/bin" in most
  cases). Additionally, the "-qt4" suffix has been dropped from the file names
  of the binaries that had it, such as "qmake-qt4".

  The new misc/qtchooser port is now used to choose whether a Qt 4 or Qt 5
  version of a binary such as "moc", "qmake" or "designer" will be used. By
  default, the Qt 5 versions are preferred, but that can be changed by setting
  the QT_SELECT environment variable to "qt4".

  qtchooser also allows one to seamlessly use other Qt installations for those
  binaries, which is particularly beneficial to people working on Qt itself or
  who need their own checkouts.

  See qtchooser(1) for more information on how to configure qtchooser.

Okay, fine. But, HOW TO do this?!

I cannot install this qtchooser, because it bites with some qt4 ports that are installed. And I cannot deinstall them without deinstalling A LOT of dependencies - like kde. 

So please, WHAT is this for an issue in the UPDATING file? Is that kidding?
There is no sollution?! We need a HowTo - where is it?

My installed qt ports so far:
libdbusmenu-qt- Qt4 implementation of the DBusMenu protocol
polkit-qt-0.112.0              Qt wrapper around Polkit libraries
poppler-qt4-0.50.0_1           Qt 4 bindings to poppler
qt4-assistant-4.8.7            Qt 4 documentation browser
qt4-clucene-4.8.7              Qt bindings for the CLucene full-text search library
qt4-corelib-4.8.7_6            Qt core non-graphical module
qt4-dbus-4.8.7                 Qt D-Bus inter-process communication module
qt4-declarative-4.8.7          Qt declarative framework for dynamic user interfaces
qt4-designer-4.8.7             Qt 4 graphical user interface designer
qt4-doc-4.8.7                  Qt documentation
qt4-gui-4.8.7_1                Qt graphical user interface module
qt4-help-4.8.7                 Qt online help integration module
qt4-imageformats-4.8.7         Qt plugins for several image formats
qt4-moc-4.8.7_1                Qt Meta-Object Compiler
qt4-mysql-plugin-4.8.7_1       Qt MySQL database plugin
qt4-network-4.8.7              Qt network module
qt4-opengl-4.8.7               Qt OpenGL support module
qt4-qdbusviewer-4.8.7          Qt 4 graphical interface to D-Bus
qt4-qmake-4.8.7                Qt Makefile generator
qt4-qt3support-4.8.7           Qt 3 compatibility module
qt4-rcc-4.8.7                  Qt Resource Compiler
qt4-script-4.8.7               Qt scripting module
qt4-sql-4.8.7                  Qt SQL database integration module
qt4-sqlite-plugin-4.8.7_2      Qt SQLite 3 database plugin
qt4-svg-4.8.7                  Qt SVG support module
qt4-testlib-4.8.7              Qt unit testing module
qt4-uic-4.8.7                  Qt User Interface Compiler
qt4-webkit-4.8.7               Qt WebKit implementation
qt4-xml-4.8.7                  Qt SAX and DOM implementations
qt4-xmlpatterns-4.8.7          Qt support for XPath, XQuery, XSLT and XML Schema
Comment 1 Baptiste Daroussin freebsd_committer 2019-09-05 12:22:48 UTC
First for KDE people to address it, it should have been assigned to them, now it is is too late.