Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, June 2007
[4.3.0] Compile error


Message 1 in thread

I am trying to build 4.3.0 (release) with VC7, configured with
"-debug-and-release -static -direct3d", and get the following:

      cl -c -nologo -Zm300 -Zi -MDd -GR -EHsc -W3 -w34100 -w34189 -DUNICODE
-DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_EDITION=QT_EDITION_DESKTOP -DQAXSERVER
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\include\QtCore"
-I"..\..\..\include\QtCore" -I"..\..\..\include\QtGui"
-I"..\..\..\include\QtGui" -I"..\..\..\include" -I"d:\Libraries\Qt\4.3.0
\tools\activeqt\container\debug" -I"d:\Libraries\Qt\4.3.0
\tools\activeqt\container\release" -I"..\..\..\src\activeqt\container"
-I"..\..\..\include\ActiveQt" -I"tmp\moc\debug_static" -I"."
-I"..\..\..\mkspecs\win32-msvc.net" -Fotmp\obj\debug_static\
@C:\DOCUME~1\357244\LOCALS~1\Temp\nm47B.tmp
mainwindow.cpp
mainwindow.cpp(35) : error C2143: syntax error : missing ';' before '*'
mainwindow.cpp(35) : error C2501: 'QAxObject' : missing storage-class or
type specifiers
mainwindow.cpp(35) : error C2501: 'ax_mainWindow' : missing storage-class
or type specifiers
mainwindow.cpp(51) : error C2027: use of undefined type 'QAxScriptManager'
        d:\Libraries\Qt\4.3.0\tools\activeqt\testcon\mainwindow.h(30) : see
declaration of 'QAxScriptManager'
mainwindow.cpp(51) : error C3861: 'registerEngine': identifier not found,
even with argument-dependent lookup
mainwindow.cpp(52) : error C2027: use of undefined type 'QAxScriptManager'
        d:\Libraries\Qt\4.3.0\tools\activeqt\testcon\mainwindow.h(30) : see
declaration of 'QAxScriptManager'
mainwindow.cpp(52) : error C3861: 'registerEngine': identifier not found,
even with argument-dependent lookup
mainwindow.cpp(78) : error C2065: 'QAxSelect' : undeclared identifier
mainwindow.cpp(78) : error C2146: syntax error : missing ';' before
identifier 'select'
mainwindow.cpp(78) : error C2660: 'select' : function does not take 1
arguments
mainwindow.cpp(79) : error C2228: left of '.exec' must have
class/struct/union type
        type is 'overloaded-function'

and lots, lots more... that first error seems to indicate that QAxObject is
not defined.

Any ideas?

--
 [ signature omitted ] 

Message 2 in thread

Check to see if there is an ActiveX switch (which -direct3d should
probably turn on)

Scott

> -----Original Message-----
> From: Gordon.Schumacher@xxxxxxxxxxx
[mailto:Gordon.Schumacher@xxxxxxxxxxx]
> Sent: Wednesday, June 06, 2007 4:59 PM
> To: qt-interest@xxxxxxxxxxxxx
> Subject: [4.3.0] Compile error
> 
> 
> I am trying to build 4.3.0 (release) with VC7, configured with
> "-debug-and-release -static -direct3d", and get the following:
> 
>       cl -c -nologo -Zm300 -Zi -MDd -GR -EHsc -W3 -w34100 -w34189 -
> DUNICODE
> -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_EDITION=QT_EDITION_DESKTOP
-DQAXSERVER
> -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT
-I"..\..\..\include\QtCore"
> -I"..\..\..\include\QtCore" -I"..\..\..\include\QtGui"
> -I"..\..\..\include\QtGui" -I"..\..\..\include"
-I"d:\Libraries\Qt\4.3.0
> \tools\activeqt\container\debug" -I"d:\Libraries\Qt\4.3.0
> \tools\activeqt\container\release" -I"..\..\..\src\activeqt\container"
> -I"..\..\..\include\ActiveQt" -I"tmp\moc\debug_static" -I"."
> -I"..\..\..\mkspecs\win32-msvc.net" -Fotmp\obj\debug_static\
> @C:\DOCUME~1\357244\LOCALS~1\Temp\nm47B.tmp
> mainwindow.cpp
> mainwindow.cpp(35) : error C2143: syntax error : missing ';' before
'*'
> mainwindow.cpp(35) : error C2501: 'QAxObject' : missing storage-class
or
> type specifiers
> mainwindow.cpp(35) : error C2501: 'ax_mainWindow' : missing
storage-class
> or type specifiers
> mainwindow.cpp(51) : error C2027: use of undefined type
'QAxScriptManager'
>         d:\Libraries\Qt\4.3.0\tools\activeqt\testcon\mainwindow.h(30)
:
> see
> declaration of 'QAxScriptManager'
> mainwindow.cpp(51) : error C3861: 'registerEngine': identifier not
found,
> even with argument-dependent lookup
> mainwindow.cpp(52) : error C2027: use of undefined type
'QAxScriptManager'
>         d:\Libraries\Qt\4.3.0\tools\activeqt\testcon\mainwindow.h(30)
:
> see
> declaration of 'QAxScriptManager'
> mainwindow.cpp(52) : error C3861: 'registerEngine': identifier not
found,
> even with argument-dependent lookup
> mainwindow.cpp(78) : error C2065: 'QAxSelect' : undeclared identifier
> mainwindow.cpp(78) : error C2146: syntax error : missing ';' before
> identifier 'select'
> mainwindow.cpp(78) : error C2660: 'select' : function does not take 1
> arguments
> mainwindow.cpp(79) : error C2228: left of '.exec' must have
> class/struct/union type
>         type is 'overloaded-function'
> 
> and lots, lots more... that first error seems to indicate that
QAxObject
> is
> not defined.
> 
> Any ideas?
> 
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/

--
 [ signature omitted ] 

Message 3 in thread

"Scott Aron Bloom" <scott@xxxxxxxxxxxx> wrote on 06/06/2007 06:33:57 PM:

# Check to see if there is an ActiveX switch (which -direct3d should
# probably turn on)

Not one that's documented...

--
 [ signature omitted ]