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. Run an external application inside a qwidget
Qt 6.11 is out! See what's new in the release blog

Run an external application inside a qwidget

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 2.1k Views 2 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.
  • N Offline
    N Offline
    nikit
    wrote on last edited by
    #1

    Want to run an Excel.exe inside a Display widget.
    Any idea?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      Hi
      you can have a look at QAxObject
      http://doc.qt.io/qt-5/qaxbase.html
      It allows you to remote control Excel. (via automation)
      Not sure you can get to be inside your widget.

      QAxObject *excel;
      excel = new QAxObject("Excel.Application", this);
      excel->setProperty("Visible", 1);
      

      Also read about automation here.
      http://www.informit.com/articles/article.aspx?p=1405560&seqNum=2

      1 Reply Last reply
      0
      • Chris KawaC Offline
        Chris KawaC Offline
        Chris Kawa
        Lifetime Qt Champion
        wrote on last edited by
        #3

        There's a QAxWidget exactly for the purpose of embedding ActiveX controls inside widgets.

        1 Reply Last reply
        1

        • Login

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