Compiling with OSX - QT issue and solution #40

Closed
raziele opened this Issue Oct 4, 2015 · 2 comments

Projects

None yet

3 participants

@raziele
raziele commented Oct 4, 2015

Apparently there is an issue when you try to compile under OSX.
Problem occurs when QT4 is installed and collides with QT5 while running Cmake.
I have been able to solve this issue simply by running:

CMAKE_PREFIX_PATH=$(brew --prefix qt5)/lib/cmake cmake .. -DCMAKE_CXX_FLAGS:STRING=-I/usr/local/opt/qt5/include ..

I recommend adding this to readme.md.

@raziele raziele closed this Oct 4, 2015
@raziele raziele reopened this Oct 4, 2015
@pavel-i-am

I've wasted quite some time trying to find a workaround for this... And your solution actually works, thank you a lot!. GQRX and USRP b200 mini also compile well with this fix.

@saerdnaer saerdnaer added a commit to saerdnaer/inspectrum that referenced this issue Sep 11, 2016
@saerdnaer saerdnaer fixes the qt5 issues reported in #40 and #60 1543274
@miek
Owner
miek commented Sep 12, 2016

Fixed in #87

@miek miek closed this Sep 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment