Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. AddressView Qutlook Example (ActiveQt) updated to Qt5
Qt 6.11 is out! See what's new in the release blog

AddressView Qutlook Example (ActiveQt) updated to Qt5

Scheduled Pinned Locked Moved 3rd Party Software
6 Posts 3 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.
  • T Offline
    T Offline
    thurberdog
    wrote on last edited by
    #1

    Well to make a long story short I placed another ticket for IT to fix the issues with Outlook 2010 "rules" and after a long talk with our local IT expert it became clear that what I wanted to do would have to be done via the Microsoft Outlook api and deeper dive. So I did a google "Qt Outlook" and low and behold I found this piece of code written for Qt4 by Digia as an example

    "https://qt-project.org/doc/qt-4.8/activeqt-qutlook.html ":https://qt-project.org/doc/qt-4.8/activeqt-qutlook.html

    I went ahead and updated the Qt4 application "Qutlook" for Qt5 as it looks to be a nice starting point for dealing with Microsoft Outlook. You will find only minor changes to the original source to get the "Qutlook" Qt4 application to work with Outlook 2010 and Qt5

    I did change the name of the Application to AddressView, so a new name for the project file

    "Modified Code can be found here on GitHub"https://github.com/thurberdog/AddressView

    I have noticed a number of folks on the web had trouble finding "msoutl.h", it's located in the build directory and is all uppercase, original code had lowercase in the #include "msoutl.h" so I changed this to match the actual file name #include "MSOUTL.h" .

    Enjoy!

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi thurberdog,

      Thanks for sharing your update! Would you be willing to "contribute your patch":http://qt-project.org/wiki/Setting-up-Gerrit directly into the Qt Project?

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • T Offline
        T Offline
        thurberdog
        wrote on last edited by
        #3

        JKSH, Thanks for the link on setting up Gerrit. I am still a little lost on where the docs and examples get hidden away so it may take me a bit to find where I need to make a change. I went ahead and filled an issue to get the webpage updated https://bugreports.qt-project.org/browse/QTWEBSITE-604, be happy to submit the code changes once I get setup and find where the code is located.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi and welcome to devnet,

          The code is in qt/examples/activeqt/qutlook

          Happy coding !

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • T Offline
            T Offline
            thurberdog
            wrote on last edited by
            #5

            SGaist Thanks I found qutlook right under my nose in the examples where it should be. Loaded the example and hit the issue

            C:\Qt\Examples\Qt-5.3\activeqt\qutlook\addressview.cpp:43: error: C1083: Cannot open include file: 'msoutl.h': No such file or directory

            Changed original line 43 from #include "msoutl.h" to #include "MSOUTL.h"

            Now the file is found and all works, now just need to contribute the change.

            1 Reply Last reply
            0
            • JKSHJ Offline
              JKSHJ Offline
              JKSH
              Moderators
              wrote on last edited by
              #6

              Hi thurberdog,

              When you've done that, post the link to your Gerrit submission here, or PM me. I'd be happy to review it for you.

              Please feel free to ask if you have any other questions.

              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

              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