[SOLVED] InAppPurchase API - undefined reference to `IAPClient::getProductData(QString)’
Installation and Deployment
3
Posts
2
Posters
3.1k
Views
1
Watching
-
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