[SOLVED] InAppPurchase API - undefined reference to `IAPClient::getProductData(QString)’
-
Problem:
If I run below code In mainwindow.cpp. It cannot compile.
@IAPClient iap_client;
int current_requestId = iap_client.getProductData("760716");@Environment:
- Windows 7 Professional SP 1 (32bit)
- Qt Creator 2.3.1 (Qt 4.7.4 32bit)
- Targeted platform: Qt 4.6.3 for Symbian ^3
Preparation:
- I copy epoc32 from InAppPurchase_API_12_05_2011 to *C:\QtSDK\Symbian\SDKs\Symbian3Qt463*
- Follow the In-App Purchase document to update .pro file ( "Link":https://projects.developer.nokia.com/dav/iap/doc/index.html?content=GUID-5A41F2D3-A8FE-4479-A4ED-25DFA8BA7AE6.html )
3) Put below code in mainwindow.h file
@#include "include/iapclient.h"@
Error Log:
"Download":http://www.sendspace.com/file/o35bak -
Hi,
I moved your topic to the installation and deployment subforum. A link to this topic will remain in the chinese subforum.
Since you described it in English, more people will see it.
-
Solved. Request for latest api and then it solved.