Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
None
-
5.1.0
-
None
-
Linux Ubuntu 12.04, gcc 4.6.3
Description
Our software builds and works fine with Qt 4. I built Qt 5 from qt-everywhere-opensource-src-5.1.0.tar.gz. Compiling with cmake gives me an error, see below.
Cmake developers suggest it is not cmake, but Qt issue. Can you help to resolve it? The problem occurs at the line
find_package(Qt5Widgets)
Thanks, Zach.
zach@cloud1-12:~/p5/arptop/arp/build$ cmake ..
– The C compiler identification is GNU 4.6.3
– The CXX compiler identification is GNU 4.6.3
– Check for working C compiler: /AZ/x86_64/kernel-3.2.0-25-virtual/glibc-2.15/2013-09-19-12.16.39/bin/gcc
– Check for working C compiler: /AZ/x86_64/kernel-3.2.0-25-virtual/glibc-2.15/2013-09-19-12.16.39/bin/gcc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working CXX compiler: /AZ/x86_64/kernel-3.2.0-25-virtual/glibc-2.15/2013-09-19-12.16.39/bin/c++
– Check for working CXX compiler: /AZ/x86_64/kernel-3.2.0-25-virtual/glibc-2.15/2013-09-19-12.16.39/bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Boost version: 1.51.0
– Found the following Boost libraries:
– system
– filesystem
– program_options
CMake Error at /AZ/x86_64/kernel-3.2.0-25-virtual/glibc-2.15/2013-09-19-12.16.39/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:16 (message):
Failed to find "GL" in "".
Call Stack (most recent call first):
/AZ/x86_64/kernel-3.2.0-25-virtual/glibc-2.15/2013-09-19-12.16.39/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:48 (_qt5gui_find_extra_libs)
/AZ/x86_64/kernel-3.2.0-25-virtual/glibc-2.15/2013-09-19-12.16.39/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:118 (include)
/AZ/x86_64/kernel-3.2.0-25-virtual/glibc-2.15/2013-09-19-12.16.39/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:77 (find_package)
CMakeLists.txt:176 (find_package)
– Configuring incomplete, errors occurred!
See also "/home/zach/p5/arptop/arp/build/CMakeFiles/CMakeOutput.log".