Now I solved by adding following Lines in the CMakeLists.txt File.
IF(WIN32)
LINK_LIBRARIES(
${QT_QTMAIN_LIBRARY}
)
ENDIF(WIN32)
IF(WIN32)
ADD_DEFINITIONS(-DQT_DLL)
ENDIF(WIN32)
and then ,
WIN32 in ADD_EXUCUTABLE
Now I solved by adding following Lines in the CMakeLists.txt File.
IF(WIN32)
LINK_LIBRARIES(
${QT_QTMAIN_LIBRARY}
)
ENDIF(WIN32)
IF(WIN32)
ADD_DEFINITIONS(-DQT_DLL)
ENDIF(WIN32)
and then ,
WIN32 in ADD_EXUCUTABLE
Thanks,
Rajesh.S
Bookmarks