自己开发了一个动态库,包含.dso 和.dll文件。在自己写的另外一个程序(exe)中要用到这个动态库,希望将二者打包到一块。
请问需要在工程中做哪些变动才能实现?
是用Carbide.c++编写,应用到NOKIA 5800手机上的应用程序。
附上.pro文件,麻烦帮忙提供详细一些的解决方案
非常感谢!
.pro文件
TEMPLATE = app
TARGET = Gesture
QT += core \
gui
HEADERS += BluetoothThread/Segment.h \
BluetoothThread/DataBuffer.h \
GestureCallback.h \
BluetoothThread/Mavqueue.h \
Gesture.loc \
Gesture.h
SOURCES += BluetoothThread/Segment.cpp \
BluetoothThread/DataBuffer.cpp \
Gesture.rss \
Gesture_reg.rss \
main.cpp \
Gesture.cpp
FORMS += Gesture.ui
RESOURCES +=
symbian:TARGET.UID3 = 0xE8558470
symbian:TARGET.CAPABILITY = "ReadUserData WriteUserData ReadDeviceData WriteDeviceData LocalServices NetworkServices UserEnvironment SwEvent"
symbian:LIBS += -lBluetoothEngine
symbian:BLD_INF_RULES.prj_exports += ".\bin\HWR\gcce\BluetoothEngine.dll \epoc32\release\gcce\urel\BluetoothEngine.dll"
symbian: {
Gesture.sources = \epoc32\release\gcce\urel\BluetoothEngine.dll
Gesture.path = \sys\bin
DEPLOYMENT += Gesture
}