Hello,

I use the Qt 4.3.1 commercial edition for Windows, and I want to test the ActiveQt example : "Qutlook".

Unfortunately, during the compilation of this example, I get the following errors :

Qt Code:
  1. mingw32-make all
  2. mingw32-make -f Makefile.Release all
  3. mingw32-make[1]: Entering directory `D:/workspace/Qutlook'
  4. g++ -c -O2 -Wall -fno-exceptions -fno-rtti -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Qt\4.3.1\include\QtCore" -I"c:\Qt\4.3.1\include\QtCore" -I"c:\Qt\4.3.1\include\QtGui" -I"c:\Qt\4.3.1\include\QtGui" -I"c:\Qt\4.3.1\include" -I"c:\Qt\4.3.1\include\ActiveQt" -I"release" -I"." -I"c:\Qt\4.3.1\mkspecs\win32-g++" -o release\addressview.o addressview.cpp
  5. In file included from addressview.cpp:39:
  6. addressview.h:73:2: warning: no newline at end of file
  7. In file included from addressview.cpp:40:
  8. msoutl.h:30: error: use of enum `MsoFeatureInstall' without previous declaration
  9. msoutl.h:867: error: ISO C++ forbids declaration of `MsoFeatureInstall' with no type
  10. msoutl.h:867: error: invalid use of `::'
  11. msoutl.h:867: error: `MsoFeatureInstall' declared as an `inline' field
  12. msoutl.h:867: error: expected `;' before "FeatureInstall"
  13. msoutl.h:868: error: variable or field `SetFeatureInstall' declared void
  14. msoutl.h:868: error: `SetFeatureInstall' declared as an `inline' field
  15. msoutl.h:868: error: expected `;' before '(' token
  16. msoutl.h:17538: error: ISO C++ forbids declaration of `MsoFeatureInstall' with no type
  17. msoutl.h:17538: error: invalid use of `::'
  18. msoutl.h:17538: error: `MsoFeatureInstall' declared as an `inline' field
  19. msoutl.h:17538: error: expected `;' before "FeatureInstall"
  20. msoutl.h:17539: error: variable or field `SetFeatureInstall' declared void
  21. msoutl.h:17539: error: `SetFeatureInstall' declared as an `inline' field
  22. msoutl.h:17539: error: expected `;' before '(' token
  23. msoutl.h:24992: error: expected init-declarator before "_Application"
  24. msoutl.h:24992: error: expected `,' or `;' before "_Application"
  25. msoutl.h:24998: error: variable or field `SetFeatureInstall' declared void
  26. msoutl.h:24998: error: `Outlook::_Application::SetFeatureInstall' declared as an `inline' variable
  27. msoutl.h:24998: error: `int Outlook::_Application::SetFeatureInstall' is not a static member of `class Outlook::_Application'
  28. msoutl.h:24998: error: `MsoFeatureInstall' is not a member of `Office'
  29. msoutl.h:24998: error: expected `,' or `;' before '{' token
  30. msoutl.h:42174: error: expected init-declarator before "Application"
  31. msoutl.h:42174: error: expected `,' or `;' before "Application"
  32. msoutl.h:42180: error: variable or field `SetFeatureInstall' declared void
  33. msoutl.h:42180: error: `Outlook::Application::SetFeatureInstall' declared as an `inline' variable
  34. msoutl.h:42180: error: `int Outlook::Application::SetFeatureInstall' is not a static member of `class Outlook::Application'
  35. msoutl.h:42180: error: `MsoFeatureInstall' is not a member of `Office'
  36. msoutl.h:42180: error: expected `,' or `;' before '{' token
  37. addressview.cpp:274:2: warning: no newline at end of file
  38. mingw32-make[1]: *** [release\addressview.o] Error 1
  39. mingw32-make[1]: Leaving directory `D:/workspace/Qutlook'
  40. mingw32-make: *** [release-all] Error 2
To copy to clipboard, switch view to plain text mode 

Does anyone have the same problem as me when compiling this example?

Thanks for your help.

PS : Office Outlook 2003 is installed on my computer.