Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#51770 closed defect (invalid)

qgis @2.14.3 +grass+postgresql95+qt5 cmake errors during configuration

Reported by: macports@… Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: vaccari@…, aaschwanden (Andy Aschwanden)
Port: qgis

Description

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.

Change History (9)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Cc: vince@… removed
Keywords: mavericks removed
Owner: changed from macports-tickets@… to vince@…

comment:2 Changed 8 years ago by Veence (Vincent)

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. QGIS 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.

Last edited 8 years ago by Veence (Vincent) (previous) (diff)

comment:3 in reply to:  2 Changed 8 years ago by macports@…

Replying to 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 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.

comment:4 Changed 8 years ago by vaccari@…

Cc: vaccari@… added

Cc Me!

comment:5 Changed 8 years ago by Veence (Vincent)

Resolution: invalid
Status: newclosed

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.

comment:6 in reply to:  5 Changed 8 years ago by macports@…

Replying to 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?

comment:7 Changed 8 years ago by mf2k (Frank Schima)

Create a new Enhancement ticket for that.

comment:8 in reply to:  7 Changed 8 years ago by macports@…

Replying to mf2k@…:

Create a new Enhancement ticket for that.

Ticket #51975 has been created to request that enhancement.

comment:9 Changed 8 years ago by aaschwanden (Andy Aschwanden)

Cc: andy.aschwanden@… added

Cc Me!

Note: See TracTickets for help on using tickets.