Mike Jackson schrieb:
> Wow.. couldn't see the forest for the trees on that one.. So I changed the
> Cmake code a bit..
> #-- If we are on MinGW then copy the required libraries
> IF (MINGW)
> #=== Copy in the Qt Libs===
> SET (QTLIBS
> libQtCore4.dll
> libQtGui4.dll
> )
> FOREACH (depLib ${QTLIBS})
> ADD_CUSTOM_COMMAND (
> TARGET A2BinGui
> POST_BUILD
> COMMAND ${CMAKE_COMMAND}
> ARGS -E copy ${QT_LIBRARY_DIR}/${depLib}
> "${EXECUTABLE_OUTPUT_PATH}/"
> )
> ENDFOREACH (depLib)
> ENDIF (MINGW)
>
> but I still get the same error.
> Error copying file "C:/Developer/SDKs/qt-4.2.2/lib/libQtCore4.dll" to
> "C:/Workspace/a2bin/Build/Bin/"
>
> I have verified that the initial file is where the path says it is..
>
No - there is also no libQtCore4.dll on windows... why don't you use the
cmake vars for this as I asked earlier?Christian
signature.asc
Description: OpenPGP digital signature
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
