Matt84
30th August 2007, 10:33
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 :
mingw32-make all
mingw32-make -f Makefile.Release all
mingw32-make[1]: Entering directory `D:/workspace/Qutlook'
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
In file included from addressview.cpp:39:
addressview.h:73:2: warning: no newline at end of file
In file included from addressview.cpp:40:
msoutl.h:30: error: use of enum `MsoFeatureInstall' without previous declaration
msoutl.h:867: error: ISO C++ forbids declaration of `MsoFeatureInstall' with no type
msoutl.h:867: error: invalid use of `::'
msoutl.h:867: error: `MsoFeatureInstall' declared as an `inline' field
msoutl.h:867: error: expected `;' before "FeatureInstall"
msoutl.h:868: error: variable or field `SetFeatureInstall' declared void
msoutl.h:868: error: `SetFeatureInstall' declared as an `inline' field
msoutl.h:868: error: expected `;' before '(' token
msoutl.h:17538: error: ISO C++ forbids declaration of `MsoFeatureInstall' with no type
msoutl.h:17538: error: invalid use of `::'
msoutl.h:17538: error: `MsoFeatureInstall' declared as an `inline' field
msoutl.h:17538: error: expected `;' before "FeatureInstall"
msoutl.h:17539: error: variable or field `SetFeatureInstall' declared void
msoutl.h:17539: error: `SetFeatureInstall' declared as an `inline' field
msoutl.h:17539: error: expected `;' before '(' token
msoutl.h:24992: error: expected init-declarator before "_Application"
msoutl.h:24992: error: expected `,' or `;' before "_Application"
msoutl.h:24998: error: variable or field `SetFeatureInstall' declared void
msoutl.h:24998: error: `Outlook::_Application::SetFeatureInstall' declared as an `inline' variable
msoutl.h:24998: error: `int Outlook::_Application::SetFeatureInstall' is not a static member of `class Outlook::_Application'
msoutl.h:24998: error: `MsoFeatureInstall' is not a member of `Office'
msoutl.h:24998: error: expected `,' or `;' before '{' token
msoutl.h:42174: error: expected init-declarator before "Application"
msoutl.h:42174: error: expected `,' or `;' before "Application"
msoutl.h:42180: error: variable or field `SetFeatureInstall' declared void
msoutl.h:42180: error: `Outlook::Application::SetFeatureInstall' declared as an `inline' variable
msoutl.h:42180: error: `int Outlook::Application::SetFeatureInstall' is not a static member of `class Outlook::Application'
msoutl.h:42180: error: `MsoFeatureInstall' is not a member of `Office'
msoutl.h:42180: error: expected `,' or `;' before '{' token
addressview.cpp:274:2: warning: no newline at end of file
mingw32-make[1]: *** [release\addressview.o] Error 1
mingw32-make[1]: Leaving directory `D:/workspace/Qutlook'
mingw32-make: *** [release-all] Error 2
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.
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 :
mingw32-make all
mingw32-make -f Makefile.Release all
mingw32-make[1]: Entering directory `D:/workspace/Qutlook'
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
In file included from addressview.cpp:39:
addressview.h:73:2: warning: no newline at end of file
In file included from addressview.cpp:40:
msoutl.h:30: error: use of enum `MsoFeatureInstall' without previous declaration
msoutl.h:867: error: ISO C++ forbids declaration of `MsoFeatureInstall' with no type
msoutl.h:867: error: invalid use of `::'
msoutl.h:867: error: `MsoFeatureInstall' declared as an `inline' field
msoutl.h:867: error: expected `;' before "FeatureInstall"
msoutl.h:868: error: variable or field `SetFeatureInstall' declared void
msoutl.h:868: error: `SetFeatureInstall' declared as an `inline' field
msoutl.h:868: error: expected `;' before '(' token
msoutl.h:17538: error: ISO C++ forbids declaration of `MsoFeatureInstall' with no type
msoutl.h:17538: error: invalid use of `::'
msoutl.h:17538: error: `MsoFeatureInstall' declared as an `inline' field
msoutl.h:17538: error: expected `;' before "FeatureInstall"
msoutl.h:17539: error: variable or field `SetFeatureInstall' declared void
msoutl.h:17539: error: `SetFeatureInstall' declared as an `inline' field
msoutl.h:17539: error: expected `;' before '(' token
msoutl.h:24992: error: expected init-declarator before "_Application"
msoutl.h:24992: error: expected `,' or `;' before "_Application"
msoutl.h:24998: error: variable or field `SetFeatureInstall' declared void
msoutl.h:24998: error: `Outlook::_Application::SetFeatureInstall' declared as an `inline' variable
msoutl.h:24998: error: `int Outlook::_Application::SetFeatureInstall' is not a static member of `class Outlook::_Application'
msoutl.h:24998: error: `MsoFeatureInstall' is not a member of `Office'
msoutl.h:24998: error: expected `,' or `;' before '{' token
msoutl.h:42174: error: expected init-declarator before "Application"
msoutl.h:42174: error: expected `,' or `;' before "Application"
msoutl.h:42180: error: variable or field `SetFeatureInstall' declared void
msoutl.h:42180: error: `Outlook::Application::SetFeatureInstall' declared as an `inline' variable
msoutl.h:42180: error: `int Outlook::Application::SetFeatureInstall' is not a static member of `class Outlook::Application'
msoutl.h:42180: error: `MsoFeatureInstall' is not a member of `Office'
msoutl.h:42180: error: expected `,' or `;' before '{' token
addressview.cpp:274:2: warning: no newline at end of file
mingw32-make[1]: *** [release\addressview.o] Error 1
mingw32-make[1]: Leaving directory `D:/workspace/Qutlook'
mingw32-make: *** [release-all] Error 2
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.