This is my 2nd day with Qt development and eventually it has became tough for me to migrate from Carbide C++ to Qt for Symbian.. need your help..
I have a Symbian C++ DLL developed using Carbide C++ for sending SMS.. I want to use this DLL in a Qt App.. say a button push on Qt App triggers SendL() in DLL and sends SMS.. things I am stuck with are:
1. How do I connect to or load a Symbian DLL in Qt App..
none of the above is working for me and I cannot connect or load SMS.. I have even tried loading an existing header file from Carbide work space which resulted in header file not found error..LIBS += c:/Qt/4.7.0/lib/SmsDll.lib in Qt .pro or
symbian:LIBS += -lSmsDll
2. Can I use the same header file which i have used in Carbide C++ in Qt as well.. reason is when I just create new header file of the Symbian LIB Header file within the Qt App.. I can only see lot of errors as I can see that Qt does't understand any of the Symbian header files or libraries or datatypes.. DO I NEED TO CREATE A NEW HEADER FILE OF THE LIB FILE in Qt..HEADERS += mainwindow.h \
3. How can i invoke SendL() function which eventually is in DLL from my push button or atleast from Main() of Qt.. for Dynamic loading..
I need to pass arguments Phone Number and Message to SendL()..void MainWindow:n_SendSmsButton_clicked()
typedef void (*MyPrototype)();
MyPrototype myFunction = (MyPrototype) myLib.resolve("SendL");
I am a bit lost.. can you plz help me with an example or suggestions of loading and using a Symbian DLL in a Qt App..
Thank you very much..
P.S. If the whole message is absolutely crap plz forgive me as this eventually is my 2nd day with Qt...