[MacPorts] #51770: qgis @2.14.3 +grass+postgresql95+qt5 cmake errors during configuration
#51770: qgis @2.14.3 +grass+postgresql95+qt5 cmake errors during configuration ------------------------+-------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: mavericks | Port: qgis ------------------------+-------------------------------- When trying to build `qgis @2.14.3 +grass+postgresql95+qt5` on Mavericks, the following `cmake` errors are reported during configuration: {{{ :info:configure CMake Error at cmake/FindQScintilla.cmake:65 (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:94 (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! }}} Do the `qscintilla` and `qca` ports need to be dependencies of `qgis`? If so, then `qscintilla` would need to have a `+qt5` variant added to it to correspond to the `+qt5` variant for `qgis` (`qca` already has a `+qt5` variant). Note that neither `qscintilla` nor `qca` was installed when this was run. -- Ticket URL: <https://trac.macports.org/ticket/51770> MacPorts <https://www.macports.org/> Ports system for OS X
#51770: qgis @2.14.3 +grass+postgresql95+qt5 cmake errors during configuration -------------------------+--------------------- Reporter: macports@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qgis | -------------------------+--------------------- Changes (by mf2k@…): * owner: macports-tickets@… => vince@… * cc: vince@… (removed) * keywords: mavericks => -- Ticket URL: <https://trac.macports.org/ticket/51770#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#51770: qgis @2.14.3 +grass+postgresql95+qt5 cmake errors during configuration -------------------------+--------------------- Reporter: macports@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qgis | -------------------------+--------------------- Comment (by vince@…): I’m sorry I’m late on this. The +qt5 option is not functional yet. I must own up to getting a bit ahead of myself adding it. Qt 2 is not yet compatible with qt5. Please wait version 2.16 or, more probably, version 3. In the meantime, back up on qt4… But I’ll change the port to disable the option. -- Ticket URL: <https://trac.macports.org/ticket/51770#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#51770: qgis @2.14.3 +grass+postgresql95+qt5 cmake errors during configuration -------------------------+--------------------- Reporter: macports@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qgis | -------------------------+--------------------- Comment (by macports@…): Replying to [comment:2 vince@…]:
QGIS 2 is not yet compatible with qt5. Please wait [for] version 2.16 or, more probably, version 3.
Thanks for the update. According to [http://www.opengis.ch/2016/05/04 /qgis-qt5-and-python3-migration-current-state/ this OPENGIS.ch note from May], QGIS 2 works with Qt 5 without Python, but the stumbling block is with PyQtNullVariant in PyQt 5.6 for including Python in the mix. With Qt 5.7 released in June, perhaps the future combination of QGIS 2.16 + Qt 5.7 + PyQt 5.7 + Python 3.X will be sufficient to reënable the `+qt5` option here. -- Ticket URL: <https://trac.macports.org/ticket/51770#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#51770: qgis @2.14.3 +grass+postgresql95+qt5 cmake errors during configuration -------------------------+--------------------- Reporter: macports@… | Owner: vince@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: invalid | Keywords: Port: qgis | -------------------------+--------------------- Changes (by vince@…): * status: new => closed * resolution: => invalid Comment: Try to build the new 2.16 version with qt5. I'd be interested in knowing if that works. Reopen a trac ticket if that fails, I'll look into it. -- Ticket URL: <https://trac.macports.org/ticket/51770#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#51770: qgis @2.14.3 +grass+postgresql95+qt5 cmake errors during configuration -------------------------+--------------------- Reporter: macports@… | Owner: vince@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: invalid | Keywords: Port: qgis | -------------------------+--------------------- Comment (by macports@…): Replying to [comment:5 vince@…]:
Try to build the new 2.16 version with qt5.
One of the dependencies of `qgis` 2.16 is `qjson`, and `qjson` has `qt4-mac` as a dependency. My goal in using the `+qt5` variant with `qgis` was to avoid all Qt 4 dependencies. Would it be possible to add a `+qt5` variant to `qjson`, so that it can be compiled without Qt 4 as a dependency? -- Ticket URL: <https://trac.macports.org/ticket/51770#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#51770: qgis @2.14.3 +grass+postgresql95+qt5 cmake errors during configuration -------------------------+--------------------- Reporter: macports@… | Owner: vince@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: invalid | Keywords: Port: qgis | -------------------------+--------------------- Comment (by mf2k@…): Create a new Enhancement ticket for that. -- Ticket URL: <https://trac.macports.org/ticket/51770#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#51770: qgis @2.14.3 +grass+postgresql95+qt5 cmake errors during configuration -------------------------+--------------------- Reporter: macports@… | Owner: vince@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: invalid | Keywords: Port: qgis | -------------------------+--------------------- Comment (by macports@…): Replying to [comment:7 mf2k@…]:
Create a new Enhancement ticket for that.
Ticket #51975 has been created to request that enhancement. -- Ticket URL: <https://trac.macports.org/ticket/51770#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts