On Thu, Sep 9, 2010 at 3:06 PM, edA-qa mort-ora-y <[email protected]> wrote: > My cmake file has the fairly standard QT setup: > > find_package(Qt4 COMPONENTS QtCore QtGui QtXml QtNetwork QtSvg QtOpenGL > QtMain REQUIRED) > include(${QT_USE_FILE}) > > > and then later use ${QT_LIBRARIES} > > However, this uses the debug libraries when I do a debug build. I don't > want that. I want to just use the Release libraries for QT. Is there an > easy way to do this? >
Do not do that. Your application will crash (in unexpected ways) if you mix debug and release libraries in visual studio. You also can not mix compiler versions. John _______________________________________________ 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
