[CMake] Why the ui_header.h can not be found in Qt project when I add a share lib?

Kermit Mei kermit.mei at gmail.com
Tue Jan 20 13:35:56 EST 2009


Michael Jackson wrote:
> TARGET_LINK_LIBRARIES( gtc GUI  ${QT_LIBRARIES} )
>
> Also BEFORE the FindPackage(Qt4) add the following line:
>
> IF (WIN32)
>     SET (QT_USE_QTMAIN TRUE)
It works. But what's the meaning here?
I hope you can give me some links. I googled it, but
I can't  find enough answers for me.
> ENDIF (WIN32)
>
> _________________________________________________________
> Mike Jackson                  mike.jackson at bluequartz.net
> BlueQuartz Software                    www.bluequartz.net
> Principal Software Engineer                  Dayton, Ohio
Thank you!




More information about the CMake mailing list