Nick Arini wrote: > Dear CMake users, > > I am trying to get some resources (icon images) compiled in a Qt > application on Mac OS X (10.4.8 Tiger) with cmake 2.4-patch 3. > > I am using version 4.2.0-snapshot-20060910 of Qt. > > I have the following in my CMakeLists.txt: > > PROJECT(QtApp) > > > INCLUDE (${CMAKE_ROOT}/Modules/FindQt4.cmake) > INCLUDE( ${QT_USE_FILE} ) > > INCLUDE_DIRECTORIES( > ${QT_INCLUDE_DIR} > ${QT_QTGUI_INCLUDE_DIR} > ${QT_QTCORE_INCLUDE_DIR} > ${QT_INCLUDE_PATH} > ) > > LINK_LIBRARIES ( > ${QT_QTCORE_LIBRARY} > ${QT_QTGUI_LIBRARY} > ) > > > # Gather the source files > SET(QtApp_SRCS > main.cpp > ) > > > #SET(QtApp_MOCS > #) > > SET(QtApp_RCCS > icons.qrc > ) > > # generate rules for building source files from the resources > QT4_ADD_RESOURCES(QtApp_RCC_SRCS ${QtApp_RCCS}) > > #QT4_WRAP_CPP(QtApp_MOC_SRCS ${VTKD_MOCS}) > > # Create the executable > ADD_EXECUTABLE(QtApp ${QtApp_SRCS} ${QtApp_RCCS_SRCS}) ------------------------------------------------^
-- Filipe Sousa
signature.asc
Description: OpenPGP digital signature
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake