You are not logged in.

solesides

Beginner

  • "solesides" is male
  • "solesides" started this thread

Posts: 25

Occupation: Student

  • Send private message

1

Wednesday, August 1st 2007, 10:51am

Qt-4.3.0 on PPC Mac

Hi there,

I tried to build qt-4.3.0 on my ppc-mac (PB G4) and it died allready building qmake! The same occured for the beta some weeks ago. I use gcc-4.0.1 as recommended.

Then I installed the .dmg without any problems. But now qmake does not accept my project files anymore. It requires some xcode stuff. I've not worked with xcode yet, but I don't want to reorganize my projects! What can I do? Any suggestions?



Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
[...]
Creating qmake. Please wait...
c++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -g   -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/Users/solesides/Development/Qt/qt-mac-opensource-src-4.3.0/src/corelib/arch/generic -I/Users/solesides/Development/Qt/qt-mac-opensource-src-4.3.0/include -I/Users/solesides/Development/Qt/qt-mac-opensource-src-4.3.0/include/QtCore -I/Users/solesides/Development/Qt/qt-mac-opensource-src-4.3.0/include -I/Users/solesides/Development/Qt/qt-mac-opensource-src-4.3.0/include/QtCore -I/Users/solesides/Development/Qt/qt-mac-opensource-src-4.3.0/src/corelib/global -I/Users/solesides/Development/Qt/qt-mac-opensource-src-4.3.0/src/script -DQT_NO_PCRE -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_BUILD_QMAKE -DQT_NO_COMPRESS -I/Users/solesides/Development/Qt/qt-mac-opensource-src-4.3.0/mkspecs/macx-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT  project.cpp
In file included from /Users/solesides/Development/Qt/qt-mac-opensource-src-4.3.0/include/QtCore/qlist.h:1,
                 from /Users/solesides/Development/Qt/qt-mac-opensource-src-4.3.0/include/QtCore/../../src/corelib/tools/qstringlist.h:29,
                 from /Users/solesides/Development/Qt/qt-mac-opensource-src-4.3.0/include/QtCore/qstringlist.h:1,
                 from project.h:27,
                 from project.cpp:24:
/Users/solesides/Development/Qt/qt-mac-opensource-src-4.3.0/include/QtCore/../../src/corelib/tools/qlist.h:36:15: error: new: No such file or directory
/Users/solesides/Development/Qt/qt-mac-opensource-src-4.3.0/include/QtCore/../../src/corelib/tools/qlist.h: In member function 'void QList<T>::node_construct(QList<T>::Node*, const T&) [with T = QString]':
/Users/solesides/Development/Qt/qt-mac-opensource-src-4.3.0/include/QtCore/../../src/corelib/tools/qlist.h:402:   instantiated from 'void QList<T>::append(const T&) [with T = QString]'
/Users/solesides/Development/Qt/qt-mac-opensource-src-4.3.0/include/QtCore/../../src/corelib/tools/qstringlist.h:50:   instantiated from here
/Users/solesides/Development/Qt/qt-mac-opensource-src-4.3.0/include/QtCore/../../src/corelib/tools/qlist.h:316: error: no matching function for call to 'operator new(long unsigned int, QList<QString>::Node*&)'
[...]


The missing files in the error message are actually there, so I don't understand what is happening here.


Best regards,
solesides

solesides

Beginner

  • "solesides" is male
  • "solesides" started this thread

Posts: 25

Occupation: Student

  • Send private message

2

Tuesday, August 7th 2007, 1:33pm

RE: Qt-4.3.0 on PPC Mac

Ok... just switching -spec to the environment I want did the job....