Howto use QT for your Windows CE application
You can compile QT for your respective NetDCU, PicoMOD or PicoCOM SDK.
#1 download the Qt for Open Source C++ development on Windows CE from
http://download.qt-project.org…-opensource-src-4.8.4.zip
#2 unzip to (i.e) C:\Qt
#3 Environment variables
In order to build and use Qt, the PATH environment variable needs to be extended:
QuotePATH - to locate qmake, moc and other Qt tools
This is done by adding C:\Qt\bin to the PATH variable.
For newer versions of Windows, PATH can be extended through "Control Panel->System->Advanced->Environment variables" and for older versions by editing c:\autoexec.bat.
Make sure the enviroment variables for your compiler are set. Visual Studio includes vcvars32.bat for that purpose - or simply use the "Visual Studio Command Prompt" from the Start menu.
#4 Modify \Qt\bin\setcepaths.bat to include the respective F&S SBC SDK (located in C:\Programme\Windows CE Tools):
#5 Configure Qt
Open the Visual Studio Command Prompt and type
nmake takes a while from here...
Compile simple Qt application
#1 Change from Visual Studio Command Prompt to the \Qt\examples\qmake\tutorial folder
#2 Create a hello.pro file with content:
#3 Create a corresponding Makefile:
#4 Compile source code
Run compiled program on the F&S SBC
# Copy the hello.exe from \Qt\examples\qmake\tutorial\release to your platforms' \FFSDISK
# Copy the QtCore4.dll and the QtGui4.dll to the same folder as you did with the hello.exe file
# Run the program
Thanks to AndiTheBest.
More informations:
http://doc.trolltech.com/4.4/index.html
http://doc.trolltech.com/4.4/install-wince.html
Visual Studio Add-in
#1 download and install (from qt.nokia.com): <!-- m --><a class="postlink" href="http://qt.nokia.com/downloads/visual-studio-add-in">http://qt.nokia.com/downloads/visual-studio-add-in</a><!-- m -->
#2 Setup Qt in VS2005: see figure 1
#3 Modify qmake.conf (\QT\mkspecs\wince60standard-armv4i-msvc2005):
Alter CE_SDK to:
#4 Create a Windows CE Qt project: see figure 2
#5 Build and run application (copy QtCore4.dll, QtGui4.dll and the EXE file to the same folder on the device)
DKuhne.