Build: ok, run: not ok

George Staikos george at staikos.net
Mon Oct 22 08:54:25 CEST 2007


On 22-Oct-07, at 2:48 AM, Marius Storm-Olsen wrote:

> George Staikos said the following on 22.10.2007 05:53:
>> On 19-Oct-07, at 11:40 AM, Pierre-Nicolas Rigal wrote:
>>> From depends.exe, I have dependencies with coredll.dll (Qt
>>> modules have dependencies with coredll.dll too)
>>> But I can't find this DLL on my system (only the libs).
>>> Something to configure on the SDK, or is this DLL supposed to be
>>> on all Win CE PDAs by default ?
>> I seem to have the exact same problem.  I have an application  
>> linked to a dll, linked to Qt.  The Qt dlls are not getting
>> deployed by visual studio (2005) but the app dll and the app
>> executable are. I assume this is the reason I'm seeing this error.
>> I don't think I'm doing anything particularly fancy with the .pro.
>> Any ideas how to debug this?
>
> Oh, wait a minute. Am I correct in assuming that you have an  
> application, which links to a custom DLL which used Qt? Meaning  
> that your application is not using Qt directly, but through this  
> custom DLL?
>
> From what I've heard, when you generate a project with qmake for Qt/ 
> CE, then there should be added a Post Link step which deploys the  
> Qt DLLs for that application. However, if your setup is like I  
> suspect, then your application is not using Qt directly, so this  
> step would not be there. Thus, you'd need to deploy the Qt DLLs  
> manually.

   That's exactly it.  Hm that's unfortunate.  Is there no trick I  
could use to hardcode $(QTDIR)/lib/{dlls} that I use into the .pro to  
have them deployed?  Perhaps as data files?

--
George Staikos
Staikos Computing Services Inc.      http://www.staikos.net/




More information about the Qtce-preview-feedback mailing list