July 9, 2010

silvansky silvansky
Lab Rat
8 posts

building libraries for symbian

 

hello all!

my app contains one executable and several dlls (some of them are plugins) and I want to port it to symbian. there are no troubles with building executable, but when I try to build libraries (I use latest Nokia Qt SDK with Qt Creator) there is an error:

  1. PKG file does not exist, 'sis' and 'installer_sis' target are only supported for executables or projects with DEPLOYMENT statement. Stop.

well, also i want to include my dlls in the same .sis where my app is.
here is the project structure I use:

main .pro with TEMPLATE = subdirs
several subdirs, one with TEMPLATE = app, the others with TEMPLATE = lib

how to include everything into the single .sis?
it might be something like this in the .pro file:

  1.     myFiles.sources = ./path/to/dlls/*.dll
  2.     myfiles.path = !:/path/to/project
  3.     DEPLOYMENT += myFiles;

but how can i get all the paths to all the libs? everything is built in X:/Qt/NokiaQtSDK/Symbian/SDK/epoc32/BUILD/path/to/project

2 replies

July 9, 2010

danilocesar danilocesar
Ant Farmer
161 posts

silvansky wrote:
hello all!

my app contains one executable and several dlls (some of them are plugins) and I want to port it to symbian. there are no troubles with building executable, but when I try to build libraries (I use latest Nokia Qt SDK with Qt Creator) there is an error:

  1. PKG file does not exist, 'sis' and 'installer_sis' target are only supported for executables or projects with DEPLOYMENT statement. Stop.

well, also i want to include my dlls in the same .sis where my app is.
here is the project structure I use:

main .pro with TEMPLATE = subdirs

Subdirs doesn’t create a pkg file (used to create .sis).
Go to your lib directory (src, lib, whatever you’re using) and type “make sis” there.

 Signature 

Danilo Cesar Lemes de Paula
Software Engineer

July 9, 2010

danilocesar danilocesar
Ant Farmer
161 posts

I found something interesting about it:

http://bugreports.qt.nokia.com/browse/QTBUG-5312

 Signature 

Danilo Cesar Lemes de Paula
Software Engineer

 
  ‹‹ Android platform      Does anybody have any experience in using Qt with OpenCV? ››

You must log in to post a reply. Not a member yet? Register here!