Symbian
Symbian OS Library

FAQ-0672 How do I port my existing apps from v5 of Symbian OS to UIQ?

[Index][spacer] [Previous] [Next]



 

Classification: C++ Category: EIKON
Created: 08/31/2000 Modified: 04/09/2002
Number: FAQ-0672
Platform: Not Applicable

Question:
When I try to port an app, which runs fine with v5 of Symbian OS to UIQ, a lot of compilation errors
appear. What are the main changes that cause this problem to occur?


Answer:

There have been a number of changes between SDKs for Symbian OS v5 and UIQ SDKs for Symbian OS v7. The three main ones are:

1) The Project Files (.mmp)

Only UNICODEUID is specified. Narrow build is not available.

You will need to replace Eikon.lib with eikcore.lib, eikcoctl.lib; or with eikdlg.lib (for dialogs), or eikfilelib (for file dialogs) if the app requires dialogs.


2) The Resource Files (.rss)

The following are not available in UIQ:
      #include
      #include
      #include
      #include
      #include
      #include
      #include
      #include
      they can be replaced with:
          #include
          #include
          #include
          3) The Header/Source files (.h /.cpp)

          You will need to replace occurrences of #include with #include .
          The function SetRectL(..) does not exist anymore and can be replaced with SetRect(..)