[MacPorts] #48649: qgis install fails due to qt4-mac/qt5-mac conflict
#48649: qgis install fails due to qt4-mac/qt5-mac conflict --------------------+-------------------------------- Reporter: fw@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: qgis --------------------+-------------------------------- A recent "upgrade outdated" triggered an error attempting to install qt5-mac as a dependency of gpsbabel, due to its conflicting with the installed qt4-mac. After removing qt4-mac and its dependencies, the gpsbabel upgrade worked, but it's now not possible to reinstall qgis due to its dependency on qt4-mac. With any luck, it can be updated to use qt5-mac instead, though there may be complications with the py27-qt4 and py27-qscintilla dependencies as well. More generally, it would be nice to have a better way to handle versioned dependencies than the situation typified by this. -- Ticket URL: <https://trac.macports.org/ticket/48649> MacPorts <https://www.macports.org/> Ports system for OS X
#48649: qgis install fails due to qt4-mac/qt5-mac conflict ---------------------+--------------------- Reporter: fw@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: qgis | ---------------------+--------------------- Changes (by mf2k@…): * cc: vince@… (removed) * owner: macports-tickets@… => vince@… -- Ticket URL: <https://trac.macports.org/ticket/48649#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#48649: qgis install fails due to qt4-mac/qt5-mac conflict ---------------------+--------------------- Reporter: fw@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: qgis | ---------------------+--------------------- Comment (by macports@…): I believe QGIS 2.8+ now supports Qt5: https://www.qgis.org/en/site/forusers/visualchangelog28/index.html #feature-qt5-support so a Qt5 variant could be another way around this -- Ticket URL: <https://trac.macports.org/ticket/48649#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#48649: qgis install fails due to qt4-mac/qt5-mac conflict ---------------------+--------------------- Reporter: fw@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: qgis | ---------------------+--------------------- Comment (by vince@…): QGis installs correctly with Qt4. Unfortunately I can’t install Qt5 at that time, so I’ll test this as soon as I can. -- Ticket URL: <https://trac.macports.org/ticket/48649#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#48649: qgis install fails due to qt4-mac/qt5-mac conflict ---------------------+--------------------- Reporter: fw@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: qgis | ---------------------+--------------------- Comment (by fw@…): I was able to successfully install qgis +grass now, after uninstalling qwt52 to permit it to install the conflicting qwt61. I had no dependents for qwt52, so it was probably just a leftover from the earlier qgis install. However, an attempted build of qgis +grass +qt5 failed in the configure phase. Here is what's probably the relevant logfile excerpt: {{{ :info:configure CMake Error at cmake/FindQScintilla.cmake:58 (FILE): :info:configure file failed to open for reading (No such file or directory): :info:configure :info:configure /opt/local/libexec/qt5/include/Qsci/qsciglobal.h :info:configure Call Stack (most recent call first): :info:configure CMakeLists.txt:309 (FIND_PACKAGE) :info:configure :info:configure :info:configure -- Found QScintilla2: /opt/local/libexec/qt5/lib/libqscintilla2.dylib () :info:configure CMake Error at cmake/FindQCA.cmake:88 (message): :info:configure Could not find QCA >= 2.0.3 :info:configure Call Stack (most recent call first): :info:configure CMakeLists.txt:312 (FIND_PACKAGE) :info:configure :info:configure :info:configure -- Configuring incomplete, errors occurred! }}} The qscintilla and qca packages are installed: {{{ MacPro:~ fw$ port installed qscintilla The following ports are currently installed: qscintilla @2.9.1_0 (active) MacPro:~ fw$ port installed qca The following ports are currently installed: qca @2.1.0_1+qt5 (active) }}} So the original problem reported in this ticket is in fact resolved, due to the ability of qt4 and qt5 to coexist, but qgis still doesn't work with qt5. That might deserve a new ticket (while closing this one). I'll attach the complete logfile of the failure, anyway. -- Ticket URL: <https://trac.macports.org/ticket/48649#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#48649: qgis install fails due to qt4-mac/qt5-mac conflict ---------------------+--------------------- Reporter: fw@… | Owner: vince@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: qgis | ---------------------+--------------------- Changes (by vince@…): * status: new => closed * resolution: => fixed Comment: QGis does not officially support Qt5 yet, and it seems to be a low priority task on the developers' team agenda. What I did here was only preliminary work to clear the path for a future version. I'll try to explore further and see if I can get a working build, but do not be hopeful of anything soon. -- Ticket URL: <https://trac.macports.org/ticket/48649#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts