Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.0
-
Windows MSVC 2012/2010 etc
-
bc4fbcd215b72951d37db57103365963f3849fbc
Description
Hi guys I'm working with the cmake modules of qt and I'm trying to access opengles functions in qt5. I'm getting linking errors for the gles functions. Include directories are fine and compile time runs smoothly.
ie. I'm trying to directly access the gles functions directly which is why I need to link them.
I'm using
find_package(Qt5Gui REQUIRED) etc
and
target_link_libraries(cocos2dx ${Qt5Gui_LIBRARIES} etc)
etc
but I have to manually include the angle libs
link_directories("E:/qt/qt-5.0-ANGLE/qtbase/lib")
target_link_libraries(cocos2dx ${Qt5Gui_LIBRARIES} libGLESv2d libEGLd)
Note I don't get the link errors when I link in the libraries manually