All of the dll files in your listing begin with "Qt" -- all of the .a
files begin with "libQt" -- if you want to copy the dll files, use the
exact name of the dll files as input... So. Begin them with "Qt" and
not "libQt"...<br><br>
Is it Monday?<br>
;)<br>
<br><div><span class="gmail_quote">On 12/12/06, <b class="gmail_sendername">Mike Jackson</b> <<a href="mailto:mike.jackson@imts.us">mike.jackson@imts.us</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
OK.. I guess I am just new to this whole software development thing and computer thing.. those 8 years are just NOT paying off..<br><br>I
built Qt.. All of Qt.. Every Single Bit of Qt. this INCLUDES the
libQt*.dll files. The files are there. I built them. I installed them.
I can see them from Windows Explorer. The files are there.. Granted I
did not have the naming correct in the first post but now everything
except the "/" seems correct. I have NO control over how CMake puts the
path separators in.<br><br>Let's take a step back from this for a sec.
I re-read the "Mastering CMake" book section that deals with this. From
what I can gather there are two possibilities here.<br><br>I am wrong and I still don't have a clue (Most likely)<br>CMake doesn't support the copying under mingw makefiles. (Least likely)<br><br>Here is the directory listing for my Qt Build. Which was built with MinGW.
<br> Directory: Microsoft.PowerShell.Core\FileSystem::C:\Developer\SDKs\qt-4.2.2\lib<br><br><br>Mode LastWriteTime
Length Name<br>---- -------------
------ ----<br>-a--- 12/11/2006
2:04 PM 18700 libQtAssistantClient4.a<br>-a--- 12/11/2006 1:53 PM 1728682 libQtCore4.a<br>-a--- 12/11/2006
2:08 PM 2018498 libQtDesigner4.a<br>-a--- 12/11/2006
2:10 PM 12636
libQtDesignerComponents4.a<br>-a--- 12/11/2006 2:01 PM 6324386 libQtGui4.a<br>-a--- 12/11/2006
1:49 PM 4622 libqtmain.a<br>-a--- 12/11/2006
2:02 PM 304072 libQtNetwork4.a<br>-a--- 12/11/2006
2:03 PM 153046 libQtOpenGL4.a<br>-a--- 12/11/2006 2:01 PM 290158 libQtSql4.a<br>-a--- 12/11/2006
2:02 PM 77426 libQtSvg4.a<br>-a--- 12/11/2006
2:05 PM 40066 libQtTest4.a<br>-a--- 12/11/2006
2:06 PM 1010752 libQtUiTools.a<br>-a--- 12/11/2006
2:06 PM 6821400 libQtUiToolsd.a<br>-a--- 12/11/2006 1:54 PM 342170 libQtXml4.a<br>-a--- 12/12/2006
1:06 PM 4060 more.txt<br>-a--- 12/11/2006
2:04 PM 696
QtAssistantClient.prl<br>-a--- 12/11/2006
2:04 PM 43008 QtAssistantClient4.dll<br>-a--- 12/11/2006
2:04 PM 661
QtAssistantClientd.prl<br>-a--- 12/11/2006
1:52 PM 775 QtCore.prl<br>-a--- 12/11/2006 1:53 PM 1889792 QtCore4.dll<br>-a--- 12/11/2006
1:52 PM 740 QtCored.prl<br>-a--- 12/11/2006
2:06 PM 706
QtDesigner.prl<br>-a--- 12/11/2006
2:08 PM 1823232 QtDesigner4.dll<br>-a--- 12/11/2006
2:08 PM 738
QtDesignerComponents.prl<br>-a--- 12/11/2006
2:10 PM 1785344 QtDesignerComponents4.dll<br>-a--- 12/11/2006
2:08 PM 703
QtDesignerComponentsd.prl<br>-a--- 12/11/2006
2:06 PM 671
QtDesignerd.prl<br>-a--- 12/11/2006
1:54 PM 766 QtGui.prl<br>-a--- 12/11/2006 2:01 PM 7656960 QtGui4.dll<br>-a--- 12/11/2006
1:54 PM 731 QtGuid.prl<br>-a--- 12/11/2006
1:49 PM 817 qtmain.prl<br>-a--- 12/11/2006
1:49 PM 782 qtmaind.prl<br>-a--- 12/11/2006
2:01 PM 778 QtNetwork.prl<br>-a--- 12/11/2006
2:02 PM 463872 QtNetwork4.dll<br>-a--- 12/11/2006
2:01 PM 743
QtNetworkd.prl<br>-a--- 12/11/2006
2:02 PM 782 QtOpenGL.prl<br>-a--- 12/11/2006 2:03 PM 242688 QtOpenGL4.dll<br>-a--- 12/11/2006
2:02 PM 747 QtOpenGLd.prl<br>-a--- 12/11/2006
2:01 PM 766 QtSql.prl<br>-a--- 12/11/2006 2:01 PM 605696 QtSql4.dll<br>-a--- 12/11/2006
2:01 PM 731 QtSqld.prl<br>-a--- 12/11/2006
2:02 PM 766 QtSvg.prl<br>-a--- 12/11/2006 2:02 PM 353280 QtSvg4.dll<br>-a--- 12/11/2006
2:02 PM 731 QtSvgd.prl<br>-a--- 12/11/2006
2:05 PM 677 QtTest.prl<br>-a--- 12/11/2006
2:05 PM 74240 QtTest4.dll<br>-a--- 12/11/2006
2:05 PM 642 QtTestd.prl<br>-a--- 12/11/2006
2:05 PM 740 QtUiTools.prl<br>-a--- 12/11/2006
2:05 PM 708
QtUiToolsd.prl<br>-a--- 12/11/2006
1:53 PM 766 QtXml.prl<br>-a--- 12/11/2006 1:54 PM 319488 QtXml4.dll<br>-a--- 12/11/2006
1:53 PM 731 QtXmld.prl<br>-a--- 11/27/2006
6:11 PM 76 README<br><br>I hope that helps clear up what I have on my system.<br><br>Mike<br><br>-----Original Message-----<br>From: Christian Ehrlicher [mailto:<a href="mailto:Ch.Ehrlicher@gmx.de">Ch.Ehrlicher@gmx.de
</a>]<br>Sent: Tue 12/12/2006 12:55 PM<br>To: <a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>Cc: Mike Jackson<br>Subject: Re: [CMake] Copying Files on Windows<br><br>Mike Jackson schrieb:<br>> Wow.. couldn't see the forest for the trees on that one.. So I changed the Cmake code a bit..
<br>> #-- If we are on MinGW then copy the required libraries<br>> IF (MINGW)<br>> #=== Copy in the Qt Libs===<br>> SET (QTLIBS<br>> libQtCore4.dll<br>> libQtGui4.dll
<br>> )<br>> FOREACH (depLib ${QTLIBS})<br>> ADD_CUSTOM_COMMAND (<br>>
TARGET A2BinGui<br>>
POST_BUILD<br>>
COMMAND ${CMAKE_COMMAND}<br>>
ARGS -E copy ${QT_LIBRARY_DIR}/${depLib} "${EXECUTABLE_OUTPUT_PATH}/"<br>> )<br>> ENDFOREACH (depLib)<br>> ENDIF (MINGW)<br>><br>> but I still get the same error.<br>> Error copying file "C:/Developer/SDKs/qt-
4.2.2/lib/libQtCore4.dll" to "C:/Workspace/a2bin/Build/Bin/"<br>><br>> I have verified that the initial file is where the path says it is..<br>><br>No - there is also no libQtCore4.dll on windows... why don't you use the
<br>cmake vars for this as I asked earlier?<br><br>Christian<br><br><br>_______________________________________________<br>CMake mailing list<br><a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br><a href="http://www.cmake.org/mailman/listinfo/cmake">
http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>