Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [SOLVED] InAppPurchase API - undefined reference to `IAPClient::getProductData(QString)’
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] InAppPurchase API - undefined reference to `IAPClient::getProductData(QString)’

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 3.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MagicR
    wrote on last edited by
    #1

    Problem:

    If I run below code In mainwindow.cpp. It cannot compile.
    @IAPClient iap_client;
    int current_requestId = iap_client.getProductData("760716");@

    Environment:

    1. Windows 7 Professional SP 1 (32bit)
    2. Qt Creator 2.3.1 (Qt 4.7.4 32bit)
    3. Targeted platform: Qt 4.6.3 for Symbian ^3

    Preparation:

    1. I copy epoc32 from InAppPurchase_API_12_05_2011 to *C:\QtSDK\Symbian\SDKs\Symbian3Qt463*
    2. 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

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      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.

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MagicR
        wrote on last edited by
        #3

        Solved. Request for latest api and then it solved.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved