Skip to content
This repository has been archived by the owner on May 10, 2019. It is now read-only.

ld: framework not found QtGui #26

Open
lokkju opened this issue Jan 6, 2013 · 2 comments
Open

ld: framework not found QtGui #26

lokkju opened this issue Jan 6, 2013 · 2 comments

Comments

@lokkju
Copy link

lokkju commented Jan 6, 2013

When building with brew install gnuradio --with-qt -v, the build fails. Walking through why it's failing, it seems to be that the gnuradio-qtgui subproject can't find the framework paths for QT, and the only place it is looking is in /usr/local/Cellar/python/2.7.3/Frameworks (-F/usr/local/Cellar/python/2.7.3/Frameworks).

The Qt_.framework and qwt_.framework exist in /usr/local/lib, not in /usr/local/Cellar/python/2.7.3/Frameworks.

As a workaround, I was able to get it working via symlinking the Qt* and qwt* frameworks into /usr/local/Cellar/python/2.7.3/Frameworks:

ln -s /usr/local/lib/qwt* /usr/local/Cellar/python/2.7.3/Frameworks/
ln -s /usr/local/lib/Qt* /usr/local/Cellar/python/2.7.3/Frameworks/

Based on other things I've seen online, this may have to do with the version of qt/qwt/pyqt/pyqwt:
qt: stable 4.8.4 (bottled), HEAD
pyqt: stable 4.9.4
qwt: stable 6.0.1
pyqwt: stable 5.2.0

@epall
Copy link

epall commented Jan 8, 2013

I think I'm running into the same issue. Thanks for the workaround!

@good1209
Copy link

good1209 commented Apr 9, 2013

I found how to solve the problem. I found in here http://www.qtcentre.org/threads/34857-Qwt-6-0-0-rc1
Answer is : On Mac OS X, the linker is looking for the qwt libraries in /Libary/Frameworks/qwt.framework/
so need to link qwt.framework to /Libary/Frameworks/ and the problem solve ^^

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants