Hello.
I am using NokiaSDKBeta.
I have two problems:
1)
I've built a static library with the next pro file:
TEMPLATE = lib
TARGET = testlib
CONFIG += qt static staticlib create_prl
QT -= gui
DESTDIR = $$_PRO_FILE_PWD_
DLLDESTDIR = $$DESTDIR
TEMPLATE = lib
TARGET = testlib
CONFIG += qt static staticlib create_prl
QT -= gui
DESTDIR = $$_PRO_FILE_PWD_
DLLDESTDIR = $$DESTDIR
To copy to clipboard, switch view to plain text mode
cmd command:
qmake testlib.pro -r -spec symbian-abld CONFIG-=debug CONFIG+=release
make release-gcce -w
However i can't find any lib file in my project directory. I've found that lib in
c:\NokiaQtSDK\Symbian\SDK\epoc32\release\armv5\ure l\testlib.lib
Can't get if that is ok.
2) I have a second project
TEMPLATE = app
TARGET = testlibuser
QT += core gui
INCLUDEPATH += ./../testlib
LIBS += libtestlib
LIBPATH += $$_PRO_FILE_PWD_/../testlib
symbian: message( building symiban )
symbian:LIBS += c:\NokiaQtSDK\Symbian\SDK\epoc32\release\armv5\urel\testlib.lib
symbian {
TARGET.UID3 = 0xe96599ea
TARGET.EPOCSTACKSIZE = 0x14000
TARGET.EPOCHEAPSIZE = 0x020000 0x800000
TARGET.EPOCALLOWDLLDATA=1
}
TEMPLATE = app
TARGET = testlibuser
QT += core gui
INCLUDEPATH += ./../testlib
LIBS += libtestlib
LIBPATH += $$_PRO_FILE_PWD_/../testlib
symbian: message( building symiban )
symbian:LIBS += c:\NokiaQtSDK\Symbian\SDK\epoc32\release\armv5\urel\testlib.lib
symbian {
TARGET.UID3 = 0xe96599ea
TARGET.EPOCSTACKSIZE = 0x14000
TARGET.EPOCHEAPSIZE = 0x020000 0x800000
TARGET.EPOCALLOWDLLDATA=1
}
To copy to clipboard, switch view to plain text mode
i run qmake, but in generated mmp file i can't find any information about that project needs testlib.lib (or something like this).
Is that ok, or have I missed something?
(Both projects are build fine and for for the simulator, building them from the console as well)
Bookmarks