New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OS X install looks for PyQt4 instead of PyQt5 #25117
Comments
Author Name: Joel Buckley (Joel Buckley) David Liontooth wrote:
What were your cmake options? I have found that
ameliorates some issues (though I am not 100% satisfied it makes everything go away). Further, I suspect some changes need to be made in /mac/cmake/1qt.cmake.in (PyQt version 4 seems to be hard-coded in) |
Author Name: David Liontooth (David Liontooth) Great, thanks. I've been using this, from David Marteau with supplements:
The "-DWITH_GRASS7:BOOL=ON" option fails to find grass7 installed by MacPorts in /opt/local/share/grass-7.2.2. As you say, pyqt4 is hardcoded in a few places in mac/cmake/1qt.cmake.in:
Is the goal to support both pyqt4 and 5? Cheers, |
Author Name: Giovanni Manghi (@gioman) Please check if this issue is still valid on QGIS 3.4.5 or 3.6.
|
Closing for lack of feedback. |
Author Name: David Liontooth (David Liontooth)
Original Redmine Issue: 17218
Affected QGIS version: master
Redmine category:build/install
Assignee: dmartella -
On an up-to-date OS X Sierra, using QGIS git master and MacPorts' QT5 following David Marteau's instructions at https://www.3liz.com/blog/rldhont/index.php?post/2017/06/01/How-to-build-qgis-on-OSX-with-MacPort), I set the compilers as suggested in INSTALL:
export CC=/usr/bin/llvm-gcc
export CXX=/usr/bin/llvm-g++
The build was successful, but install complains. I take it these codecs are not required?
Install finds QT5, but looks for PyQt4 instead of PyQt5 -- py36-pyqt5 @5.8.2_0 is installed:
How can I tell install to look for PyQt5?
The text was updated successfully, but these errors were encountered: