[CMake] using only release versions of QT libraries

edA-qa mort-ora-y eda-qa at disemia.com
Thu Sep 9 15:06:32 EDT 2010


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?


-- 
edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Need to get something off your chest?
    Have an urge to scream?
        Your boss up for the weekly bastinado?
		
		http://NamelessRage.com/
		
Berate. Swear. Lambaste. Castigate.
    All with reckless abandon and anonymity.
	
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100909/c115b90a/attachment.pgp>


More information about the CMake mailing list