Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to config ActiveX controls and COM object in qt 4.7.4
Forum Updated to NodeBB v4.3 + New Features

How to config ActiveX controls and COM object in qt 4.7.4

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 2.0k 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
    mathi77in
    wrote on last edited by
    #1

    Hi,
    I have open source of QT 4.7.4. I have work our sample GUI qt application. now i try excel file read and write through qt api. i am using ActiveX controls and COM object. i try QAxObject api use @QAxObject* excel = new QAxObject("Excel.Application", 0);@. but i got error.

    error is: error LNK2019: unresolved external symbol "public: __thiscall QAxObject::QAxObject(class QString const &,class QObject *)" (??0QAxObject@@QAE@ABVQString@@PAVQObject@@@Z) referenced in function _main

    how to config ActiveX controls and COM. please explain step by step or url please.

    Regards,
    M.Mathi

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jdavet
      wrote on last edited by
      #2

      Did you add @#include <ActiveQt/QAxObject>@ to your source code and @CONFIG += qaxcontainer@ to your .pro (qmake) file?

      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