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:

    @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:

    @
    myFiles.sources = ./path/to/dlls/*.dll
    myfiles.path = !:/path/to/project
    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



  • [quote author="silvansky" date="1278669768"]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:

    @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
    [/quote]

    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.



  • I found something interesting about it:

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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.