Results 1 to 6 of 6

Thread: opening PPT files in Qt

  1. #1
    Join Date
    Feb 2008
    Posts
    60
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default opening PPT files in Qt

    Dear all,

    Could anyone tell me is any way to open Microsoft Powerpoint(PPT) files in any Qt Widget?

    Thanks in advance.

  2. #2
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    517
    Thanks
    21
    Thanked 66 Times in 62 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: opening PPT files in Qt

    try using:
    Qt Code:
    1. QDesktopServices::openUrl(QUrl("file:///path_to_ppt_file"));
    To copy to clipboard, switch view to plain text mode 

  3. #3
    Join Date
    Feb 2008
    Posts
    60
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: opening PPT files in Qt

    I have referred the below link.

    http://www.qtcentre.org/forum/f-qt-p...dget-1082.html

    Please clarify the below point.

    Is it possible to show Powerpoint using ActiveQt widgets?

  4. #4
    Join Date
    Dec 2006
    Posts
    849
    Thanks
    6
    Thanked 162 Times in 151 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: opening PPT files in Qt

    On windows, if you have a powerpoint installation, and program against COM interface (ie ActiveQt) then, yes, you should be able to do that.
    You will need to find a tutorial or book on API exposed by/for powerpoint, though.

    (Can't help you there, sorry. I am running linux.)

  5. #5
    Join Date
    Feb 2008
    Posts
    60
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: opening PPT files in Qt

    I didn't worked ActiveQt related widgets before. Can you please tell me whether the Powerpoint which is viewing in ActiveQt can be editable and saved in a location?

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,363
    Thanks
    3
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: opening PPT files in Qt

    Yes, it can. You can control it through the exposed COM (ActiveX) interface.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. The following user says thank you to wysota for this useful post:

    jay (8th June 2009)

Similar Threads

  1. QDesktopServices::openUrl() not opening files in set path
    By been_1990 in forum Qt Programming
    Replies: 2
    Last Post: 4th May 2009, 18:34
  2. visual studio project files - adding extra files
    By luf in forum Qt Programming
    Replies: 3
    Last Post: 13th June 2008, 21:05
  3. compiling problem / Qt DLL files
    By ht1 in forum Newbie
    Replies: 1
    Last Post: 5th January 2008, 17:58
  4. Replies: 5
    Last Post: 22nd September 2006, 08:04
  5. [Win32/VC++ 8.0] Strange problems with qrc_*.cpp files
    By mloskot in forum Installation and Deployment
    Replies: 6
    Last Post: 6th March 2006, 10:28

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.