SDG Systems

  • Increase font size
  • Default font size
  • Decrease font size
Developer Articles

Qt Extended Programming

Print PDF

The libraries and tools for Qt Extended are in a separate package, available as a compressed tar file from http://developer.sdgsystems.com/sdk . The file will be named sdk-addon-qtex<version>-<release>.tgz. The <version> should match the version of Qt Extended you are compiling for. Extract the tar file as root after extracting the main SDK package:

# cd / 
# tar xzvf /path/to/sdk-addon-qtex<version>-<release>.tgz 

You may set up an environment for Qt Extended by sourcing /opt/sdg/angstrom2007.12/sdk/settings_qtex4.sh or/opt/sdg/angstrom2007.12/sdk/settings_qtex4.csh, as appropriate for your shell.

See http://doc.qtsoftware.com/qtextended4.4/application.html for information on creating Qt Extended applications. You can write a project file (qbuild.pro) by hand or run qbuild -project to create a project file based on the contents of the current directory. Once you have a project file, you can run qbuild with no arguments to build your application.

Testing Qt Extended applications

You can transfer your application to the Nomad or Recon using scp if you have USB or wireless networking set up, or on a removable storage device (CF, SD, USB drive). If you are using a serial console or SSH, you will need to source /opt/Qtopia/qpe.env to set up the environment before running a QtEx application from the command line. If you are running your program from the QtEx Terminal application, the environment is already set up.

Installing Qt Extended applications

Task switching works best if you install your application in /opt/Qtopia/bin. Install a .desktop file for your application to the appropriate category:

/opt/Qtopia/apps/Applications/ 
/opt/Qtopia/apps/Games/ 
/opt/Qtopia/apps/Settings/ 

You may need to create one or more of these directories. See http://doc.qtsoftware.com/qtextended4.4/desktopfiles.html for details of the .desktop format as used in Qt Extended. Once the .desktop file is installed, source /opt/Qtopia/qpe.env if necessary and run/opt/Qtopia/bin/qcontent install <new .desktop file>.

 

Nomad Java Support

Print PDF

Beginning with the Linux-Angstrom software release, Java applications have become a reality on the TDS Nomad. With the Nomad, you can develop both AWT and Swing applications using the JamVM virtual machine and the GNU Classpath Libraries.

 

Read more...
 

Nomad SDK QuickStart

Print PDF

The Nomad SDK Quick Start Guide is intended to provide the basics for using the Nomad SDK .

 

Read more...
 

Nomad Hardware Interfacing AppNote

Print PDF

This guide provides information about controlling or monitoring the hardware on the TDS Nomad.
While some developers have sufficient control within the Qtopia or X11 environment, other
developers need to control or monitor the hardware within their own applications. This guide is
intended to provide that information.

 

Read more...
 

Linux Device Porting

Print PDF

Here at SDG Systems, we have ported the Linux kernel to several different platforms. The structure of the kernel lends itself well to supporting multiple platforms in a single code base, and the kernel authors have done a superb job in streamlining the build process. In order to successfully port the kernel to a new platform, there are several portions of the kernel code that need to be addressed. In this article, we will discuss the general process of porting the Linux kernel to a new platform.

Read more...
 


Newsflash

You can now follow SDG Systems on Twitter as sdgsys.