11-21-2012 02:32 PM
What kind of problem? it is in NDK Project settings, you can't find it?
11-21-2012 03:24 PM
I get the errors:
/Applications/bbndk/host_10_0_9_52/darwin/x86/usr/bin/ntoarm-ld: cannot find -lcpp, /Applications/bbndk/host_10_0_9_52/darwin/x86/usr/ bin/ntoarm-ld: cannot find QtCore,: No such file or directory /Applications/bbndk/host_10_0_9_52/darwin/x86/usr/ bin/ntoarm-ld: cannot find QtGui: No such file or directory
11-21-2012 04:12 PM
11-21-2012 04:24 PM
**** Build of configuration Device-Debug for project QtFonts **** **** Internal Builder is used for build **** qcc -o QtFonts src/moc_myedit.o src/main.o -lcpp, QtCore, QtGui -V4.6.3,gcc_ntoarmv7le -w1 -g -Wl,-z,relro -Wl,-z,now -L/Applications/bbndk/target_10_0_9_386/qnx6/../target-override/armle-v7/lib -L/Applications/bbndk/target_10_0_9_386/qnx6/armle -v7/usr/lib/qt4/lib -L/Applications/bbndk/target_10_0_9_386/qnx6/../ta rget-override/armle-v7/usr/lib /Applications/bbndk/host_10_0_9_52/darwin/x86/usr/ bin/ntoarm-ld: cannot find -lcpp, /Applications/bbndk/host_10_0_9_52/darwin/x86/usr/ bin/ntoarm-ld: cannot find QtCore,: No such file or directory /Applications/bbndk/host_10_0_9_52/darwin/x86/usr/ bin/ntoarm-ld: cannot find QtGui: No such file or directory cc: /Applications/bbndk/host_10_0_9_52/darwin/x86/usr/ bin/ntoarm-ld error 1 Build error occurred, build is stopped Time consumed: 141 ms.
11-21-2012 05:37 PM
My guesss you missed this step:
9. Under C/C++ Build->Settings->QCC Linker->Libraries add following folders in
'Library Paths (-L)' section: ${QNX_TARGET}/${CPUVARDIR}/usr/lib/qt4/lib.
as I cannot see this path in your -L directive.
And this:
-lcpp, QtCore, QtGui
is very weird specification of libraries. It does not work this way. Every library has to be added as separate line.
So read this
10. Under C/C++ Build->Settings->QCC Linker->Libraries add following libraries in
'Libraries (-l)' section: cpp, QtCore, QtGui. Click OK.
as
10. Under C/C++ Build->Settings->QCC Linker->Libraries add following libraries in
'Libraries (-l)' section: cpp, QtCore, QtGui. Every library should be added as separate line every time hitting + sighn. Click OK.
11-21-2012 05:50 PM
I was adding
cpp, QtCore, QtGui
all on one line, I added themin seperate and it compiles. When I run it, I get the error:
ldd:FATAL: Could not load library libQtCore.so.4
11-21-2012 05:56 PM
Are you sure you copied bar-descriptor.xml file? Check it should have this line at the very bottom
<env var="LD_LIBRARY_PATH" value="/usr/lib/qt4/lib"/>
Are you deploying to DevAlpha I hope?