When I try to build SW Studio on Centos 7, I first get warning message below about QT5X11Extras during the cmake, and then eventually a build error:
rpm -ql qt5-qtx11extras-devel-5.6.1-2.el7.x86_64 shows that Qt5X11Extras is installed on the system. How can I make cmake aware of its location? /usr/include/qt5/QtX11Extras /usr/include/qt5/QtX11Extras/QX11Info /usr/include/qt5/QtX11Extras/QtX11Extras /usr/include/qt5/QtX11Extras/QtX11ExtrasDepends /usr/include/qt5/QtX11Extras/QtX11ExtrasVersion /usr/include/qt5/QtX11Extras/qtx11extrasglobal.h /usr/include/qt5/QtX11Extras/qtx11extrasversion.h /usr/include/qt5/QtX11Extras/qx11info_x11.h /usr/lib64/cmake/Qt5X11Extras /usr/lib64/cmake/Qt5X11Extras/Qt5X11ExtrasConfig.cmake /usr/lib64/cmake/Qt5X11Extras/Qt5X11ExtrasConfigVersion.cmake /usr/lib64/libQt5X11Extras.prl /usr/lib64/libQt5X11Extras.so /usr/lib64/pkgconfig/Qt5X11Extras.pc /usr/lib64/qt5/mkspecs/modules/qt_lib_x11extras.pri /usr/lib64/qt5/mkspecs/modules/qt_lib_x11extras_private.pri
CMake Warning (dev) at Surfworks/CMakeLists.txt:12 (ADD_LIBRARY): Policy CMP0028 is not set: Double colon in target name means ALIAS or IMPORTED target. Run "cmake --help-policy CMP0028" for policy details. Use the cmake_policy command to set the policy and suppress this warning.
Target "Surfworks" links to target "Qt5::X11Extras" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at Application/CMakeLists.txt:84 (ADD_EXECUTABLE): Policy CMP0028 is not set: Double colon in target name means ALIAS or IMPORTED target. Run "cmake --help-policy CMP0028" for policy details. Use the cmake_policy command to set the policy and suppress this warning.
Target "ShapeWorksStudio" links to target "Qt5::X11Extras" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at CLT/CMakeLists.txt:12 (ADD_EXECUTABLE): Policy CMP0028 is not set: Double colon in target name means ALIAS or IMPORTED target. Run "cmake --help-policy CMP0028" for policy details. Use the cmake_policy command to set the policy and suppress this warning.
Target "ShapeworksCLT" links to target "Qt5::X11Extras" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done -- Build files have been written to: /root/Downloads/SW_Studio/ShapeWorksStudio/build
/usr/bin/ld: cannot find -lQt5::X11Extras collect2: error: ld returned 1 exit status make[2]: *** [Application/ShapeWorksStudio] Error 1 make[1]: *** [Application/CMakeFiles/ShapeWorksStudio.dir/all] Error 2 make: *** [all] Error 2
|
Archive powered by MHonArc 2.6.18.