View Full Version : Embedding Acrobat Reader or Excel
dachick
19th February 2011, 12:01
Hi guys,
I read about ActiveQt being able to embed the native windows acrobat reader or excel into a Qt widget.
But as ActiveQt is only available in commercial versions I'm looking for another way to solve this task.
I would appreciate if you can give me any hints :).
Best Regards!
stampede
19th February 2011, 12:11
But as ActiveQt is only available in commercial versions
it's not, look at Qt 4.7 docs (http://doc.qt.nokia.com/latest/activeqt.html):
The ActiveQt modules are part of the Qt Commercial Edition and the Open Source Versions of Qt.
dachick
19th February 2011, 12:24
oh I must have had a look at an older version. There it was commercial only.
Thanks :)
dachick
19th February 2011, 19:12
Sorry to bother again, but I'm still facing some problems.
I followed the instructions on http://doc.qt.nokia.com/4.7-snapshot/activeqt.html#activeqt-framework in order to build the libraries and integrate the axcontainer into the designer. But its not appearing in the designer.
I can use the QAxObject in source code, e.g., to open an excel sheet, what compiles and runs just fine.
I use the latest Qt_2010.05 SDK with mingw. Is there anything else to consider?!
best regards
dachick
20th February 2011, 17:38
I finally found the way to get QAxWidget into the designer.
In case anybody else is interested I post the solution here.
Open the file plugins.pro in the QTDIR\tools\designer\src\plugins folder.
And replace
win32:!contains(QT_EDITION, OpenSource):SUBDIRS += activeqt
with
win32: SUBDIRS += activeqt
This seems to be fixed in the git sources ( see: http://qt.gitorious.org/qt/qaxwidget-opensource-fix) but is not yet included in the distributed versions.
regards
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.