hi,
I generated a msvc10 solution with cmake 2.8.5.
I use the following in the project's CMakeLists.txt
FIND_PACKAGE(Qt4 4.5.3 COMPONENTS QtCore QtGui QtOpenGL REQUIRED)
IF(QT4_FOUND)
INCLUDE(${QT_USE_FILE})
TARGET_LINK_LIBRARIES(nhui ${QT_LIBRARIES})
ELSE()
MESSAGE(FATAL_ERROR "Qt>=4.5.3 not found")
ENDIF()
opening the solution in vs2010 and linking against qwtplot3d required adding
these 2 libs on winxp32bit
OpenGL32.Lib et GlU32.Lib
I would have thought QtOpenGL4.lib required these above 2 libs and so
FindQt4 would have added them automatically?
rds,
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake