OK, it seems that the problem was related to the Qt 4.4 beta that I had
installed. It was always using that qmake, so I added my own compiled Qt bin
directory on the PATH and that solved the problem, but not I'm getting the
following errors:
library.native.compile:
[make]
[make] Running : (/Users/dfx/Documents/Workspaces/qtjambi) make -s
[make] In file included from javawritedeclaration.cpp:23:
[make] javawritedeclaration.h:26:24: error: treewalker.h: No such file or
directory
[make] In file included from javawritedeclaration.cpp:24:
[make] javawriteinitialization.h:27:20: error: option.h: No such file or
directory
[make] javawritedeclaration.cpp:25:20: error: driver.h: No such file or
directory
[make] javawritedeclaration.cpp:26:17: error: ui4.h: No such file or
directory
[make] javawritedeclaration.cpp:27:17: error: uic.h: No such file or
directory
[make] javawritedeclaration.cpp:28:26: error: databaseinfo.h: No such
file or directory
[make] javawritedeclaration.cpp:29:31: error: customwidgetsinfo.h: No
such file or directory
[make] javawritedeclaration.h:37: error: expected class-name before '{'
token
[make] javawritedeclaration.h:40: error: 'DomUI' has not been declared
[make] javawritedeclaration.h:41: error: 'DomWidget' has not been
declared
[make] javawritedeclaration.h:42: error: 'DomLayout' has not been
declared
[make] javawritedeclaration.h:43: error: 'DomSpacer' has not been
declared
[make] javawritedeclaration.h:44: error: 'DomActionGroup' has not been
declared
[make] javawritedeclaration.h:45: error: 'DomAction' has not been
declared
[make] javawriteinitialization.h:42: error: expected class-name before
'{' token
[make] javawriteinitialization.h:48: error: 'DomUI' has not been declared
[make] javawriteinitialization.h:49: error: 'DomWidget' has not been
declared
[make] javawriteinitialization.h:50: error: 'DomLayout' has not been
declared
[make] javawriteinitialization.h:51: error: 'DomSpacer' has not been
declared
[make] javawriteinitialization.h:52: error: 'DomLayoutItem' has not been
declared
[make] javawriteinitialization.h:57: error: 'DomActionGroup' has not been
declared
[make] javawriteinitialization.h:58: error: 'DomAction' has not been
declared
[make] javawriteinitialization.h:59: error: 'DomActionRef' has not been
declared
[make] javawriteinitialization.h:64: error: 'DomTabStops' has not been
declared
[make] javawriteinitialization.h:69: error: 'DomCustomWidgets' has not
been declared
[make] javawriteinitialization.h:70: error: 'DomCustomWidget' has not
been declared
[make] javawriteinitialization.h:75: error: 'DomLayoutDefault' has not
been declared
[make] javawriteinitialization.h:76: error: 'DomLayoutFunction' has not
been declared
[make] javawriteinitialization.h:81: error: 'DomConnection' has not been
declared
[make] javawriteinitialization.h:86: error: 'DomImage' has not been
declared
[make] javawriteinitialization.h:89: error: 'DomColor' has not been
declared
[make] javawriteinitialization.h:92: error: 'DomProperty' has not been
declared
[make] javawriteinitialization.h:94: error: 'DomString' has not been
declared
[make] javawriteinitialization.h:97: error: 'DomProperty' was not
declared in this scope
[make] javawriteinitialization.h:97: error: template argument 1 is
invalid
[make] javawriteinitialization.h:98: error: 'DomColorGroup' has not been
declared
[make] javawriteinitialization.h:103: error: 'DomWidget' has not been
declared
[make] javawriteinitialization.h:104: error: 'DomWidget' has not been
declared
[make] javawriteinitialization.h:105: error: 'DomWidget' has not been
declared
[make] javawriteinitialization.h:106: error: 'DomWidget' has not been
declared
[make] javawriteinitialization.h:107: error: 'DomItem' was not declared
in this scope
[make] javawriteinitialization.h:107: error: template argument 1 is
invalid
[make] javawriteinitialization.h:108: error: 'DomWidget' has not been
declared
[make] javawriteinitialization.h:110: error: ISO C++ forbids declaration
of 'DomWidget' with no type
[make] javawriteinitialization.h:110: error: expected ';' before '*'
token
[make] javawriteinitialization.h:111: error: ISO C++ forbids declaration
of 'DomImage' with no type
[make] javawriteinitialization.h:111: error: expected ';' before '*'
token
[make] javawriteinitialization.h:119: error: field 'option' has
incomplete type
[make] javawriteinitialization.h:130: error: 'DomWidget' was not declared
in this scope
[make] javawriteinitialization.h:130: error: template argument 1 is
invalid
[make] javawriteinitialization.h:131: error: 'DomLayout' was not declared
in this scope
[make] javawriteinitialization.h:131: error: template argument 1 is
invalid
[make] javawriteinitialization.h:132: error: 'DomActionGroup' was not
declared in this scope
[make] javawriteinitialization.h:132: error: template argument 1 is
invalid
[make] javawriteinitialization.h:136: error: 'DomWidget' was not declared
in this scope
[make] javawriteinitialization.h:136: error: template argument 2 is
invalid
[make] javawriteinitialization.h:137: error: 'DomImage' was not declared
in this scope
[make] javawriteinitialization.h:137: error: template argument 2 is
invalid
[make] javawriteinitialization.h:138: error: 'DomAction' was not declared
in this scope
[make] javawriteinitialization.h:138: error: template argument 2 is
invalid
[make] javawritedeclaration.cpp: In constructor
'Java::WriteDeclaration::WriteDeclaration(Uic*)':
[make] javawritedeclaration.cpp:41: error: invalid use of undefined type
'struct Uic'
[make] javawritedeclaration.h:30: error: forward declaration of 'struct
Uic'
[make] javawritedeclaration.cpp:41: error: invalid use of undefined type
'struct Uic'
[make] javawritedeclaration.h:30: error: forward declaration of 'struct
Uic'
[make] javawritedeclaration.cpp:41: error: invalid use of undefined type
'struct Uic'
[make] javawritedeclaration.h:30: error: forward declaration of 'struct
Uic'
[make] javawritedeclaration.cpp: At global scope:
[make] javawritedeclaration.cpp:46: error: variable or field 'acceptUI'
declared void
[make] javawritedeclaration.cpp:46: error: 'int
Java::WriteDeclaration::acceptUI' is not a static member of 'struct
Java::WriteDeclaration'
[make] javawritedeclaration.cpp:46: error: 'DomUI' was not declared in
this scope
[make] javawritedeclaration.cpp:46: error: 'node' was not declared in
this scope
[make] javawritedeclaration.cpp:47: error: expected ',' or ';' before '{'
token
[make] javawritedeclaration.cpp:89: error: variable or field
'acceptWidget' declared void
[make] javawritedeclaration.cpp:89: error: 'int
Java::WriteDeclaration::acceptWidget' is not a static member of 'struct
Java::WriteDeclaration'
[make] javawritedeclaration.cpp:89: error: 'DomWidget' was not declared
in this scope
[make] javawritedeclaration.cpp:89: error: 'node' was not declared in
this scope
[make] javawritedeclaration.cpp:90: error: expected ',' or ';' before '{'
token
[make] javawritedeclaration.cpp:101: error: variable or field
'acceptLayout' declared void
[make] javawritedeclaration.cpp:101: error: 'int
Java::WriteDeclaration::acceptLayout' is not a static member of 'struct
Java::WriteDeclaration'
[make] javawritedeclaration.cpp:101: error: 'DomLayout' was not declared
in this scope
[make] javawritedeclaration.cpp:101: error: 'node' was not declared in
this scope
[make] javawritedeclaration.cpp:102: error: expected ',' or ';' before
'{' token
[make] javawritedeclaration.cpp:113: error: variable or field
'acceptSpacer' declared void
[make] javawritedeclaration.cpp:113: error: 'int
Java::WriteDeclaration::acceptSpacer' is not a static member of 'struct
Java::WriteDeclaration'
[make] javawritedeclaration.cpp:113: error: 'DomSpacer' was not declared
in this scope
[make] javawritedeclaration.cpp:113: error: 'node' was not declared in
this scope
[make] javawritedeclaration.cpp:114: error: expected ',' or ';' before
'{' token
[make] javawritedeclaration.cpp:121: error: variable or field
'acceptActionGroup' declared void
[make] javawritedeclaration.cpp:121: error: 'int
Java::WriteDeclaration::acceptActionGroup' is not a static member of 'struct
Java::WriteDeclaration'
[make] javawritedeclaration.cpp:121: error: 'DomActionGroup' was not
declared in this scope
[make] javawritedeclaration.cpp:121: error: 'node' was not declared in
this scope
[make] javawritedeclaration.cpp:122: error: expected ',' or ';' before
'{' token
[make] javawritedeclaration.cpp:129: error: variable or field
'acceptAction' declared void
[make] javawritedeclaration.cpp:129: error: 'int
Java::WriteDeclaration::acceptAction' is not a static member of 'struct
Java::WriteDeclaration'
[make] javawritedeclaration.cpp:129: error: 'DomAction' was not declared
in this scope
[make] javawritedeclaration.cpp:129: error: 'node' was not declared in
this scope
[make] javawritedeclaration.cpp:130: error: expected ',' or ';' before
'{' token
[make] make[2]: *** [release/javawritedeclaration.o] Error 1
[make] make[1]: *** [release-all] Error 2
[make] make: *** [sub-juic-make_default-ordered] Error 2
BUILD FAILED
/Users/dfx/Documents/Workspaces/qtjambi/build.xml:121: Running: make -s
failed with exit code: 2
Dimitri Frederickx <[EMAIL PROTECTED]> wrote:
> It seems that no makefiles are created during the qmake process, but xcode
> projects. For example com_trolltech_qt_core.xcodeproj
>
> How can I specify that makefiles need to be created?
>
> /Dimitri
>
>
>
> Dimitri Frederickx <[EMAIL PROTECTED]> wrote:
>
>> Hi Eskil,
>>
>> I tried to compile Qt and Qt Jambi.
>>
>> - I've compiled Qt 4.4 on my Mac. I've used rsync to get the latest
>> snapshot (4.4.1) and build it with the following options:
>> /configure -no-dbus -no-framework
>>
>> No errors occured during this process, and at the end I did a 'make
>> install'.
>>
>> Qt is now located in /usr/local/Trolltech/Qt-4.4.1-snapshot-20080326
>>
>> After that I've set the following environment variables:
>> export QTDIR=/usr/local/Trolltech/Qt-4.4.1-snapshot-20080326
>> export JAVADIR=/Library/Java/Home
>>
>>
>> - I've downloaded the preview release of Qt Jambi 4.4. When I run ant,
>> I'm getting an error. What is going wrong here?
>>
>> /Dimitri
>>
>>
>>
>>
>> Buildfile: build.xml
>>
>> init.ant:
>>
>> init.taskdef:
>>
>> init:
>> [qtjambi-initialize] qtjambi.osname: macosx
>> [qtjambi-initialize] qtjambi.libsubdir: lib
>> [qtjambi-initialize] qtjambi.qtdir: /usr/local/Trolltech/Qt-4.4.1-
>> snapshot-20080326
>> [qtjambi-initialize] qtjambi.compiler: gcc
>> [qtjambi-initialize] qtjambi.configuration: release
>> [qtjambi-initialize] qtjambi.phonon: true
>> [qtjambi-initialize] qtjambi.webkit: true
>> [qtjambi-initialize] qtjambi.xmlpatterns: true
>>
>> generator.xmlmerge:
>> [xslt] Processing /Users/dfx/Documents/Workspaces/qtjambi/
>> generator/typesystem_core-common.xml to /Users/dfx/Documents/
>> Workspaces/qtjambi/generator/typesystem_core.xml
>> [xslt] Loading stylesheet /Users/dfx/Documents/Workspaces/
>> qtjambi/generator/merge.xsl
>> [xslt] Processing /Users/dfx/Documents/Workspaces/qtjambi/
>> generator/typesystem_gui-common.xml to /Users/dfx/Documents/
>> Workspaces/qtjambi/generator/typesystem_gui.xml
>> [xslt] Loading stylesheet /Users/dfx/Documents/Workspaces/
>> qtjambi/generator/merge.xsl
>> [xslt] Processing /Users/dfx/Documents/Workspaces/qtjambi/
>> generator/typesystem_network-common.xml to /Users/dfx/Documents/
>> Workspaces/qtjambi/generator/typesystem_network.xml
>> [xslt] Loading stylesheet /Users/dfx/Documents/Workspaces/
>> qtjambi/generator/merge.xsl
>> [xslt] Processing /Users/dfx/Documents/Workspaces/qtjambi/
>> generator/typesystem_svg-common.xml to /Users/dfx/Documents/
>> Workspaces/qtjambi/generator/typesystem_svg.xml
>> [xslt] Loading stylesheet /Users/dfx/Documents/Workspaces/
>> qtjambi/generator/merge.xsl
>> [xslt] Processing /Users/dfx/Documents/Workspaces/qtjambi/
>> generator/typesystem_xml-common.xml to /Users/dfx/Documents/
>> Workspaces/qtjambi/generator/typesystem_xml.xml
>> [xslt] Loading stylesheet /Users/dfx/Documents/Workspaces/
>> qtjambi/generator/merge.xsl
>> [xslt] Processing /Users/dfx/Documents/Workspaces/qtjambi/
>> generator/typesystem_xmlpatterns-common.xml to /Users/dfx/Documents/
>> Workspaces/qtjambi/generator/typesystem_xmlpatterns.xml
>> [xslt] Loading stylesheet /Users/dfx/Documents/Workspaces/
>> qtjambi/generator/merge.xsl
>> [xslt] Processing /Users/dfx/Documents/Workspaces/qtjambi/
>> generator/typesystem_opengl-common.xml to /Users/dfx/Documents/
>> Workspaces/qtjambi/generator/typesystem_opengl.xml
>> [xslt] Loading stylesheet /Users/dfx/Documents/Workspaces/
>> qtjambi/generator/merge.xsl
>> [xslt] Processing /Users/dfx/Documents/Workspaces/qtjambi/
>> generator/typesystem_sql-common.xml to /Users/dfx/Documents/
>> Workspaces/qtjambi/generator/typesystem_sql.xml
>> [xslt] Loading stylesheet /Users/dfx/Documents/Workspaces/
>> qtjambi/generator/merge.xsl
>> [xslt] Processing /Users/dfx/Documents/Workspaces/qtjambi/
>> generator/typesystem_designer-common.xml to /Users/dfx/Documents/
>> Workspaces/qtjambi/generator/typesystem_designer.xml
>> [xslt] Loading stylesheet /Users/dfx/Documents/Workspaces/
>> qtjambi/generator/merge.xsl
>> [xslt] Processing /Users/dfx/Documents/Workspaces/qtjambi/
>> generator/typesystem_webkit-common.xml to /Users/dfx/Documents/
>> Workspaces/qtjambi/generator/typesystem_webkit.xml
>> [xslt] Loading stylesheet /Users/dfx/Documents/Workspaces/
>> qtjambi/generator/merge.xsl
>> [xslt] Processing /Users/dfx/Documents/Workspaces/qtjambi/
>> generator/typesystem_phonon-common.xml to /Users/dfx/Documents/
>> Workspaces/qtjambi/generator/typesystem_phonon.xml
>> [xslt] Loading stylesheet /Users/dfx/Documents/Workspaces/
>> qtjambi/generator/merge.xsl
>>
>> generator.qmake:
>> [qmake]
>> [qmake] Running : (/Users/dfx/Documents/Workspaces/qtjambi/
>> generator) qmake -config release /Users/dfx/Documents/Workspaces/
>> qtjambi/generator/generator.pro
>>
>> generator.compile:
>> [make]
>> [make] Running : (/Users/dfx/Documents/Workspaces/qtjambi/
>> generator) make -s
>> [make] make: *** No targets specified and no makefile found. Stop.
>>
>> BUILD FAILED
>> /Users/dfx/Documents/Workspaces/qtjambi/build.xml:106: Running: make -s
> failed with exit code: 2
>>
>>
>>
>
>
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest