maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [ Solved ] Porting Harmattan app to Symbian... (https://talk.maemo.org/showthread.php?t=83376)

sony123 2012-04-01 06:43

[ Solved ] Porting Harmattan app to Symbian...
 
I'm experimenting with porting my app to Symbian.
I have made the necessary changes to QML and pro files so the app looks fine in Qt Simulator. I also got the developer certificate from nokia and can build the sis file.

However, when I installed it on an RDA device, the app installed but wouldn't launch. Is there a terminal in symbian world that can be used for debugging?

Thanks in advance for any pointer.

bandora 2012-04-01 07:33

Re: Porting Harmattan app to Symbian...
 
Not that I know of... There's no Terminal.. Maybe this will help?

http://doc.qt.nokia.com/qtcreator-2....bugging-agents

EDIT: Btw I have an N8, so if you would like me to test some stuff for you.. I can..

qwazix 2012-04-01 10:39

Re: Porting Harmattan app to Symbian...
 
Most probably there are some dependencies missing. Try packaging with smart installer.

sony123 2012-04-12 06:11

Re: Porting Harmattan app to Symbian...
 
Quote:

Originally Posted by qwazix (Post 1186776)
Most probably there are some dependencies missing. Try packaging with smart installer.

Thanks for the hints. After starting from a basic example and work my way through re-adding components, I found out two things that prevent the app from working:
1) TARGET.EPOCHEAPSIZE = 0x1000 0x1800000 # 24MB
I had set this to a smaller number. With that, the app simply doesn't run.
2) I had a wrong signal name in Qt-component switch, which caused the app to crash after about 2 seconds.

So the app now runs, but I have a new problem. I need encryption so I include openssl by:

Code:

*.pro: LIBS += -lcrypto
*.h:  #include <openssl/evp.h>
  #include <openssl/aes.h>

But when I compiled, QtSDK failed with the following errors:
Code:

error: Recipe linkandpostlink failed with exit code 1.
It complained about undefined reference to the functions in openssl/aes.h.

I have googled and all reference I found suggested LIBS += -lcrypto or -libcrypto should pull in the openssl library, but it is not happening. Any suggestion what went wrong?

Thanks in advance.


EDIT: Found out why, it should be two 'l' -llibcrypto.....


All times are GMT. The time now is 15:57.

vBulletin® Version 3.8.8