03-09-2013 06:27 AM
I'am trying to port my own Qt project that use gps; even I have add -lQtLocationSubset in .pro file, it always try to link to QtLocation...this is just where I got the problem:
cc: C:/bbndk/host_10_1_0_1/win32/x86/usr/bin/ntoarm-ld caught signal 1
How I can resolve that below??
Solved! Go to Solution.
03-11-2013 11:13 AM
The error message shows you've added
LIBS += -lQtLocation
Tried to search QtLocationSubset with grep:
Binary file target_10_0_9_2318/qnx6/armle-v7/usr/lib/libQtLoca
Binary file target_10_0_9_2318/qnx6/armle-v7/usr/lib/libbbcasc
Try adding to .pro file:
LIBS += -lQtLocationSubset -lbbcascadesmaps
03-11-2013 03:21 PM
03-11-2013 04:37 PM - edited 03-11-2013 04:42 PM
Do you have
QT += location
in your .pro file? (You should not).
Also note that QtLocationSubset classes are in the namespace QtMobilitySubset.
03-12-2013 05:54 AM
Hi as I told I have no QtLocation referenced within .pro file and I'm using all namespaces required. As you can see in the output it tries to link both library that dosn't make sense
03-13-2013 12:02 PM
I am not aware of anything in the configuration of Qt or default project files on BB10 that would cause -lQtLocation to be added as a linker option. There must be something in your setup/project file(s) that is causing this. I see you also link against QtSensors, do you have something like this in a project file:
CONFIG += mobility MOBILITY += sensors
If you have location listed as part of MOBILITY you should remove it. Or try:
MOBILITY -= location
03-13-2013 12:12 PM - edited 03-13-2013 12:13 PM
in my .pro file I have:
LIBS+= -lQtSensors -lQtLocationSubset
I have deleted any Qt style mobility references for sensors and location.