Bug report #8857

sip: Unable to find file "QtCore/QtCoremod.sip"

Added by Sandro Santilli about 11 years ago. Updated about 10 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Build/Install
Affected QGIS version:2.0.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:17539

Description

I got the error in the Subject while building the 2.0 branch.
NOTE: sip wasn't installed at the time of the first cmake run, then I installed sip (#8856) and re-run cmake and make to get the above error

History

#1 Updated by Sandro Santilli about 11 years ago

Wiping out CMakeCache.txt and re-running cmake doesn't help. It still failes at 98% of the build :(

#2 Updated by Sandro Santilli about 11 years ago

wiping out build dir and re-running cmake doesn't help either. Fails at 50% of build this time.
SIP version is 4.14.5. QT libs are version 4.8.4, this is on an Ubuntu 13.04

#3 Updated by Werner Macho almost 11 years ago

just as a note: on ubuntu you have to install python-qt4-dev package to solve this problem

#4 Updated by Even Rouault over 10 years ago

Thanks Werner! I was pulling my hair desperately until I found this ticket. I'm wondering if there would be a way of detecting this missing dependency at cmake stage. Other missing dependencies were not too hard to guess, but that one was subtle.

#5 Updated by Donovan Cameron over 10 years ago

I can't get QGIS 2.4 to compile and get this error too on Arch Linux x86_64.

sip 4.16.1
python2-sip 4.16.1
qt4 4.8.6
python2-pyqt4 4.11

#6 Updated by Yoshihiko BABA over 10 years ago

Donovan Cameron wrote:

I can't get QGIS 2.4 to compile and get this error too on Arch Linux x86_64.

sip 4.16.1
python2-sip 4.16.1
qt4 4.8.6
python2-pyqt4 4.11

You should copy-n-paste the error message, if you want to get help. You may try:

cmake -D PYQT4_SIP_DIR=/path/to/pyqt4 -D SIP_TAGS=Qt_4_7_4

Read my fix for MacOSX.
http://www.uclmail.net/users/babayoshihiko/fink/qgis/pyqt4-sip/index.html

#7 Updated by Donovan Cameron over 10 years ago

sip was updated the other day and now it compiles fine - I'll post error messages in the future, thanks =)

#8 Updated by Sandro Santilli over 10 years ago

2.0 branch builds for me too now. I do have "python-qt4-dev" installed indeed.

#9 Updated by Denis Rouzaud about 10 years ago

  • Status changed from Open to Closed

on mac, solved with last versoins of PyQt / SIP

Also available in: Atom PDF