In case anyone wants to use the latest and greatest version of QT
here is what I had to do to get past the various errors.
You have to modify the following pro files to get around the error
/src/corelib/corelib.pro
/src/gui/gui.pro
/src/opengl/opengl.pro
Add in this line which stops prelinker from running after
the lib *.a file is created.
To get the designer to compile
you have to modify the following file
/tools/designer/src/components/lib/lib.pro
add the following to the
INCLUDEPATH +=
To get around the error
Also the following file has to tweaked.
/tools/designer/src/components/formeditor/brushmanagerproxy.h
I'll formalize the fixes and send them to Qt when I get a chance
but I wanted to post the fixes here because searching the Qt
bug list is a pain and usually fruitless.
The C++ prelinker: error: instantiation loop was solved by reading
the forms here.
viewtopic.php?f=11&t=11942&start=75
Rich
here is what I had to do to get past the various errors.
Code:
./configure -prefix /usr/local/Trolltech/Qt-4.7.0 -debug -static -qt-gif -qt-libjpeg -qt-libpng -verbose -continue -platform irix-cc -qt-sql-mysql -qt-sql-tds -I/usr/local/mysql/include -L/usr/local/mysql/lib -I/usr/local/freetds-0.82/include -L/usr/local/freetds-0.82/src/dblib/.libs -no-sql-odbc -confirm-license -nomake examples -nomake demos -mysql_config /usr/local/mysql/bin/mysql_config -no-dbus -no-xsync -no-script -no-javascript-jit -no-libpng
You have to modify the following pro files to get around the error
Code:
C++ prelinker: error: instantiation loop
/src/corelib/corelib.pro
/src/gui/gui.pro
/src/opengl/opengl.pro
Add in this line which stops prelinker from running after
the lib *.a file is created.
Code:
QMAKE_CXXFLAGS += -no_prelink -ptused
To get the designer to compile
you have to modify the following file
/tools/designer/src/components/lib/lib.pro
add the following to the
INCLUDEPATH +=
Code:
$$QT_SOURCE_TREE/tools/designer/translations/.moc/debug-static \
To get around the error
Code:
The source file "moc_qtpropertybrowser.cpp" is unavailable.
#include "moc_qtpropertybrowser.cpp"
^
1 catastrophic error detected in the compilation of "../propertyeditor/propertyeditor.cpp".
#include "moc_qtpropertybrowser.cpp"
^
1 catastrophic error detected in the compilation of "../propertyeditor/propertyeditor.cpp".
Also the following file has to tweaked.
/tools/designer/src/components/formeditor/brushmanagerproxy.h
Code:
// Q_PRIVATE_SLOT(d_func(), void brushAdded(const QString &, const QBrush &))
// Q_PRIVATE_SLOT(d_func(), void brushRemoved(const QString &name))
void brushAdded(const QString &, const QBrush &);
void brushRemoved(const QString &name);
// Q_PRIVATE_SLOT(d_func(), void brushRemoved(const QString &name))
void brushAdded(const QString &, const QBrush &);
void brushRemoved(const QString &name);
I'll formalize the fixes and send them to Qt when I get a chance
but I wanted to post the fixes here because searching the Qt
bug list is a pain and usually fruitless.
The C++ prelinker: error: instantiation loop was solved by reading
the forms here.
viewtopic.php?f=11&t=11942&start=75
Rich