[CMake] find_package(Qt4 REQUIRED) doesn't include QtNetwork?

2011-03-04 Thread kent williams
To use Qt in my projects with CMake, up until now all it seemed to require was this: find_package(Qt4 REQUIRED) include(${QT_USE_FILE}) But then I tried to use QTcpServer and QTcpSocket, and the compiles failed because it couldn't find the include files. Then I read through the FindQt4.cmake

Re: [CMake] find_package(Qt4 REQUIRED) doesn't include QtNetwork?

2011-03-04 Thread Clinton Stimpson
On Friday, March 04, 2011 11:59:07 am kent williams wrote: To use Qt in my projects with CMake, up until now all it seemed to require was this: find_package(Qt4 REQUIRED) include(${QT_USE_FILE}) But then I tried to use QTcpServer and QTcpSocket, and the compiles failed because it