11-13-2013 06:53 PM
When i compile my Cascades-based project in Momentics, i see a number of libraries that I don't use fly by.
qcc -Vgcc_ntoarmv7le -lang-c++ -Wl,-rpath-link,C:/bbndk/target_10_1_0_4828/qnx6/a
rmle-v7/lib -Wl,-rpath-link,C:/bbndk/target_10_1_0_4828/qnx6/a rmle-v7/usr/lib -Wl,-rpath-link,C:/bbndk/target_10_1_0_4828/qnx6/a rmle-v7/usr/lib/qt4/lib -o o.le-v7-g/FindMyThread o.le-v7-g/.obj/MySimpleThread.o o.le-v7-g/.obj/MyWorkManager.o o.le-v7-g/.obj/applicationui.o o.le-v7-g/.obj/main.o o.le-v7-g/.obj/moc_MySimpleThread.o o.le-v7-g/.obj/moc_MyWorkManager.o o.le-v7-g/.obj/moc_applicationui.o -LC:/bbndk/target_10_1_0_4828/qnx6/armle-v7/lib -LC:/bbndk/target_10_1_0_4828/qnx6/armle-v7/usr/li b -LC:/bbndk/target_10_1_0_4828/qnx6/armle-v7/usr/li b/qt4/lib -LC:/bbndk/target_10_1_0_4828/qnx6//usr/lib/qt4/li b -lbbcascades -lQtDeclarative -lQtScript -lQtSvg -lQtSql -lsqlite3 -lz -lQtXmlPatterns -lQtGui -lQtNetwork -lsocket -lQtCore -lm -lbps
I don't think I need QtSvg, QtSql, sqlite3, QtXmlPatterns, QtNetwork, socket or bps.
I can't figure out where to remove them though. I think it used to be in the .cproject file, but that appears to have changed in the recent Momentics update.
I tried removing them from the Makefile.Debug, but that appears to be automatically generated, so that did no good.
is there a way to remove those unnecessary libraries?
Solved! Go to Solution.
11-13-2013 07:09 PM
Just checked, and the libraries are still declared in the same place in the .cproject file in the latest Momentics version. I have posted on this topic before, but here is a high level overview.
Look for this text in the .cproject file:
The libraries are declared on the lines after that one. Note that each build profile (usually four, Simulator-Debug/Device-Debug/Device-Profile/Device
07-13-2014 01:34 PM