Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Highlighted
Developer
Posts: 23
Registered: ‎04-18-2014
My Device: z10
My Carrier: DTAC
Accepted Solution

UPD.: Always - make: *** [translate] Error 2

[ Edited ]

when i try run example projects from http://developer.blackberry.com/native/sampleapps/ , i always get same  error with translation, in Build time , somebody could help me fix it ? my environment - MacOS 10.9, Momentics 2.0

error here - error

 

 P.S.

 

 

20:48:31 **** Build of configuration sim -release for project poemmaker ****

make -j11 Simulator-Debug 

make -C .//translations -f Makefile update

dyld: Library not loaded: libQtXml.4.dylib

  Referenced from: /Applications/Momentics.app/host_10_2_0_15/darwin/x86/usr/bin/lupdate

  Reason: image not found

cd x86 && /Applications/Momentics.app/host_10_2_0_15/darwin/x86/usr/bin/qmake -spec blackberry-x86-qcc ../poemmaker.pro  CONFIG+=debug_and_release CONFIG+=simulator

make[1]: Entering directory `/Users/asp/momentics-workspace/poemmaker/translations'

/Applications/Momentics.app/host_10_2_0_15/darwin/x86/usr/bin/lupdate poemmaker.pro

make[1]: Leaving directory `/Users/asp/momentics-workspace/poemmaker/translations'

make[1]: *** [update] Trace/BPT trap: 5

make: *** [translate] Error 2

make: *** Waiting for unfinished jobs....

 

--------

 

thanks

 

 

 

 

Developer
Posts: 23
Registered: ‎04-18-2014
My Device: z10
My Carrier: DTAC

Re: UPD.: Always - make: *** [translate] Error 2

So , BB forgot put that file to BB NDK 10 ? why i don't have libQtXml.4.dylib ((sad
Developer
Posts: 23
Registered: ‎04-18-2014
My Device: z10
My Carrier: DTAC

Re: UPD.: Always - make: *** [translate] Error 2

Ok, I did it. install BB SDK 10.0 , then copy files libQtCore.*.*.dylib, and libQtXml.* to BB SDK 10.2 , host_* directory
Developer
Posts: 23
Registered: ‎04-18-2014
My Device: z10
My Carrier: DTAC

Re: UPD.: Always - make: *** [translate] Error 2

P.S. path for libs where i've copied libQt**.dylib is /Applications/Momentics.app/host_10_2_0_15/darwin/x86/usr