Running Qt application on Windows CE
-
Hi,
Sorry for delayed reply. My compilation of Qt build worked.
The QtCore4.dll had dependency on MSVCR80d.dll. That had to be removed.
And i used custom sdk as per target board for Qt compilation.
Instead of setcepaths.bat, i directly invoked checksdk.exe with my custom SDK name. And it worked.
I wrote a small test application to play ".wav" file, which also worked. It had been a tiring 3 and half weeks of effort.
Thanks guys for your help. -
[quote author="piya_k" date="1320738196"]hi.
I am also trying to develope application for WinCE by using QT network tool.I m totally new for this environment.I want to know how to start developing application for winCE.Can u please help[/quote]First read the Qt documentation about the Windows CE platform to get a basic idea of what tools you need and basic information about how to configure and build Qt for a specific Windows CE SDK.
It is highly probable that you will have problems, especially if you build for Windows CE 6.0 or higher, but if you search in this forum discussions with "Windows CE" in the title, it is very likely that you will find the solution you need or the right clue to solve your specific problem.
-
hiiii........Thanks for the quick reply
actully i have already read that QT documentation about the Windows CE platform and I have installed that environment. I want to call a web service n get response from that web service.
Is it possible with Qt on WinCE???
If Yes then can any 1 give me some guideline...Any Tutorial to start with it???
Thanks. -
[quote author="piya_k" date="1320816577"] I want to call a web service n get response from that web service.
Is it possible with Qt on WinCE???[/quote]Yes, it basically works as with Qt for Windows for x86 and Linux, provided the Windows CE build on your device has all the OS components required and the Windows CE SDK you use to compile Qt libraries and your application exposes those functionalities.
-
Hi,
Check if following link helps you. -
Hi there,
I encounter the same problem as you described.
You mentioned the solution to remove @QtCore.lib@? How can this lib be removed in a Qt project? I new a Qt WinCE project with Qt-Addin, the QtCore.lib and QtGUI.lib are checked by default and cannot be de-checked.
[quote author="tiger86" date="1305118358"]Hi,
Sorry for delayed reply. My compilation of Qt build worked.
The QtCore4.dll had dependency on MSVCR80d.dll. That had to be removed.
And i used custom sdk as per target board for Qt compilation.
Instead of setcepaths.bat, i directly invoked checksdk.exe with my custom SDK name. And it worked.
I wrote a small test application to play ".wav" file, which also worked. It had been a tiring 3 and half weeks of effort.
Thanks guys for your help.[/quote] -
[quote author="Shimmering" date="1396920603"]
You mentioned the solution to remove @QtCore.lib@? How can this lib be removed in a Qt project? I new a Qt WinCE project with Qt-Addin, the QtCore.lib and QtGUI.lib are checked by default and cannot be de-checked.
[/quote]He removed the dependency on MSVCR80d.dll from QtCore.dll.
-
This is what I want !
Thanks a lot !With the same tool, here are the results I got:
PI Ordinal Hint Function Entry Point
C N/A 29(0x001D) calloc Not Bound
C N/A 2 (0x0002) _CrtDbgReportW Not Bound
C N/A 6 (0x0006) _CrtSetReportMode Not Bound
C N/A 33(0x0021) strcpy_s Not Bound
C N/A 34(0x0022) strncpy_s Not BoundNow what I have to do is to find the source code containing these functions in my Qt/src, comment (or delete ?) them and rebuild QtCore.lib, don't I?
[quote author="L.MCH" date="1397125761"]
[quote author="Shimmering" date="1396920603"]
You mentioned the solution to remove @QtCore.lib@? How can this lib be removed in a Qt project? I new a Qt WinCE project with Qt-Addin, the QtCore.lib and QtGUI.lib are checked by default and cannot be de-checked.
[/quote]He removed the dependency on MSVCR80d.dll from QtCore.dll.
[/quote]
-
When compiling Qt libraries (just the libraries, not an application using them) there are usually no dependencies on msvcrt80.dll or msvcrt80d.dll, because the stuff that may require them has some problems on Windows CE (requires too much ram, etc.).
If you can't avoid compiling that, just put msvcrt80.dll and msvcrt80d.dll in the same folder where the other Qt libs are.
You can find them on your computer in the MSVC arm crosscompiler for WIndows CE folders.
Using MSVC2005 they are (if you compiled for ARMV4i)
either in
"C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\Dll\armv4i"
or in
"C:\Program Files\Microsoft Visual Studio 8\VC\ce\Dll\armv4i" -
Actually, this is what I'm doing and the problem is solved.
Thanks for your kind help ~
[quote author="L.MCH" date="1397169097"]
When compiling Qt libraries (just the libraries, not an application using them) there are usually no dependencies on msvcrt80.dll or msvcrt80d.dll, because the stuff that may require them has some problems on Windows CE (requires too much ram, etc.).If you can't avoid compiling that, just put msvcrt80.dll and msvcrt80d.dll in the same folder where the other Qt libs are.
You can find them on your computer in the MSVC arm crosscompiler for WIndows CE folders.
Using MSVC2005 they are (if you compiled for ARMV4i)
either in
"C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\Dll\armv4i"
or in
"C:\Program Files\Microsoft Visual Studio 8\VC\ce\Dll\armv4i"[/quote]