Friday, July 25th 2008, 2:40am UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Sunday, April 6th 2008, 9:16pm

QT compile error on Mac

I was compiling latest QT 4.4 rc1 release on Mac OS X Leopard. I had the following compile parameters:
./configure -universal -static -no-framework
make sub-src

Here is the error I got:


Source code

1
2
3
4
5
6
7
8
9
10
11
12
qobjectmodel/qqobjectnodemodel.cpp:54:51: error: qqobjectpropertytoattributeiterator_p.h: No such file or directory
qobjectmodel/qqobjectnodemodel.cpp:54:51: error: qqobjectpropertytoattributeiterator_p.h: No such file or directory
qobjectmodel/qqobjectnodemodel.cpp: In member function ‘virtual QExplicitlySharedDataPointer<QAbstractXmlForwardIterator<QXmlNodeModelIndex> > QPatternist::QObjectNodeModel::iterate(const QXmlNodeModelIndex&, QXmlNodeModelIndex::Axis) const’:
qobjectmodel/qqobjectnodemodel.cpp:181: error: invalid use of undefined type ‘struct QPatternist::QObjectPropertyToAttributeIterator’
qobjectmodel/qqobjectnodemodel_p.h:125: error: forward declaration of ‘struct QPatternist::QObjectPropertyToAttributeIterator’
qobjectmodel/qqobjectnodemodel.cpp: In member function ‘virtual QExplicitlySharedDataPointer<QAbstractXmlForwardIterator<QXmlNodeModelIndex> > QPatternist::QObjectNodeModel::iterate(const QXmlNodeModelIndex&, QXmlNodeModelIndex::Axis) const’:
qobjectmodel/qqobjectnodemodel.cpp:181: error: invalid use of undefined type ‘struct QPatternist::QObjectPropertyToAttributeIterator’
qobjectmodel/qqobjectnodemodel_p.h:125: error: forward declaration of ‘struct QPatternist::QObjectPropertyToAttributeIterator’
lipo: can't open input file: /var/tmp//ccoILKgF.out (No such file or directory)
make[2]: *** [.obj/debug-static/qqobjectnodemodel.o] Error 1
make[1]: *** [debug-all] Error 2
make: *** [sub-xmlpatterns-sub_src_target_ordered] Error 2


I've checked that qqobjectpropertytoattributeiterator_p.h exists. Does anybody have any idea what is going on?

Thanks in advance.
pj
  • Go to the top of the page

2

Monday, April 7th 2008, 8:07am

I've solved this error and many others during "make" but still "make install" doesn't succeed. Did anybody managed to compile 4.4 on Leopard?

pj
  • Go to the top of the page

Rate this thread