08-27-2014 02:01 PM - edited 08-27-2014 04:29 PM
Could somenone help me with this one ?
ik have cocos2dx application ( 2x) , and i would like to add little functionality to library - i need to
i have adde such a function to CCApplication.cpp
void CCApplication:penURL(const char* pszUrl)
// Who do we want to send the invoke request to?
// What do we want the target application to do with it?
// What are we sending?
// Where is the data?
and include directive
thern I get error about missing QtGlobal
so I've added additional include directory what You can see in output
but i Still gets this Error :/
qcc -o "platform\\blackberry\\CCApplication.o" "..\\..\\platform\\blackberry\\CCApplication.cpp" -V4.6.3,gcc_ntoarmv7le_cpp -w1 -shared -IC:/bbndk/target_10_2_0_1155/qnx6/usr/include/fre
In file included from C:/bbndk/target_10_2_0_1155/qnx6/usr/include/bb/sy
08-27-2014 04:29 PM
OK I was ab;e to solve it.
First of all i had to add two directorites to include PATH :
in cocos2dx Project.
rthe i had to add them in my project.
it was also required to link to bbsystem and QTcore.
I had to also add qt directory to -L
and after that Iwas able to compile project.
But on the device it crashed with a message:
blackberry ldd:FATAL: Could not load library libQtCore.so.4
so I changed bar description
<env var="LD_LIBRARY_PATH" value="app/native/lib:/usr/lib/qt4/lib"/>
And now it's runing and can open Pages from app
08-27-2014 07:08 PM