[Qtce-preview-feedback] Certificate problems when running Qt applications on HTC Touch device
Trond Grefsrud
trond.grefsrud at hig.no
Wed May 21 09:40:30 CEST 2008
Hi,
No I don't use Visual Studio for deployment, because I have some USB
problems with VirtualBox. Thats why I use nmake from Visual Studio
command prompt, and manually copy the .exe into the HTC Touch device.
But how do I deploy the necessary .dlls? Do I have to add some text to
the .pro file?
Best regards,
Trond
Thomas Hartmann wrote:
> Hi,
>
> Did you deploy all the necessary .dlls?
> QtGui4.dll, QtCore4.dll + the C runtime: msvcr80.dll
> Do you use Visual Studio for deployment? (Then it should work automatically)
>
> Best Regards,
> Thomas
>
> Trond Grefsrud wrote:
>
>> Hi!
>>
>> I'm trying to run Qt applications on my HTC Touch device. But I can't
>> get this to work because of certificate problems. Here is a description
>> of what I've done so far:
>>
>> I'm using Windows XP professional with Service Pack 2 and have installed
>> Visual Studio 2005 Professional, Windows Mobile 6 Professional SDK
>> Refresh, .NET Framework 2.0 SP2 and Service Pack 1 for Visual Studio
>> 2005. Downloaded and extracted
>> qt-embedded-wince-opensource-src-4.4.0.zip into c:\qt\4.4.0\, and added
>> c:\qt\4.4.0\bin\ directory to PATH variable. Then I started "Visual
>> Studio 2005 Command Prompt", and executed: "configure -platform
>> win32-msvc2005 -xplatform wincewm60professional-msvc2005 -signature
>> c:\qt\SamplePrivDeveloper.pfx" from c:\qt\4.4.0\. It configured without
>> problems. Then I set following paths:
>>
>> set INCLUDE=C:\Program Files\Microsoft Visual Studio
>> 8\VC\ce\include;C:\Program Files\Windows Mobile 6
>> SDK\PocketPC\Include\Armv4i
>>
>> set LIB=C:\Program Files\Microsoft Visual Studio
>> 8\VC\ce\lib\armv4i;C:\Program Files\Windows Mobile 6 SDK\PocketPC\Lib\Armv4i
>>
>> set PATH=C:\Program Files\Microsoft Visual Studio 8\VC\ce\bin\x86_arm;%PATH%
>>
>> And executed:
>> setcepaths wincewm60professional-msvc2005
>>
>> This worked fine, and then I ran nmake.
>>
>> I then made a simple Qt application that just shows a QWidget window,
>> and compiled it like this:
>> qmake -project
>> qmake temp.pro
>> nmake
>>
>> Then I copied "c:\program files\windows mobile 6 sdk\tools\security\sdk
>> development certificates\Certs.cab" to my HTC Touch device, and ran it.
>> It installed correctly and I now tried to run my simple Qt application,
>> but I still gets the failure message about the certificate.
>>
>> Can anyone help me with this problem?
>> Thanks in advanced.
>>
>> Best regards
>> Trond Grefsrud
>> _______________________________________________
>> Qtce-preview-feedback mailing list
>> Qtce-preview-feedback at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qtce-preview-feedback
>>
>>
>
> _______________________________________________
> Qtce-preview-feedback mailing list
> Qtce-preview-feedback at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qtce-preview-feedback
>
More information about the Qtce-preview-feedback
mailing list