On Sun, Jul 17, 2016 at 01:14:18AM -0700, Pavel Sanda wrote:

> Hi,
> 
> I received report of compilation problem for 2.2.0 with Qt5.
> I don't have Qt5 here to test myself, but it fails in configure
> phase and relevant part of config log says:
> 
> configure:10337: x86_64-pc-linux-gnu-g++ -o conftest -march=native -O2 -pipe  
>    -Wl,-O1 -Wl,--as-needed conftest.cpp  -lSM -lICE   -lz -lmagic  -lX11  
> -framework QtCore -framework QtGui >&5
> x86_64-pc-linux-gnu-g++: error: QtCore: No such file or directory
> x86_64-pc-linux-gnu-g++: error: QtGui: No such file or directory
> x86_64-pc-linux-gnu-g++: error: unrecognized command line option '-framework'
> x86_64-pc-linux-gnu-g++: error: unrecognized command line option '-framework'
> 
> 
> Aparently gcc does not like '-framework' on the commandline.
> Is it supposed to be there? I seem to remember this keyword
> was somehow related to OS X compilation(?).
> Ideas?
> 
> https://bugs.gentoo.org/show_bug.cgi?id=588972

You are looking too far in the log file attached there. The reason
it fails is that configure is not finding the Qt5Concurrent library:

configure:9448: checking for QT_FRONTEND
configure:9456: $PKG_CONFIG --exists --print-errors "$qt_guilibs"
Package Qt5Concurrent was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt5Concurrent.pc'
to the PKG_CONFIG_PATH environment variable
No package 'Qt5Concurrent' found

-- 
Enrico

Reply via email to