LINUX.ORG.RU

Qt-4.2.2, установка под Linux


0

0

Пытаюсь воткнуть Qt-4.2.2
При запуске конфигуратора вылезает следующая ошибка:
[root@PPO-TP1 qt-x11-opensource-src-4.2.2]# ./configure

This is the Qt/X11 Open Source Edition.

You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).

Type 'Q' to view the Q Public License.
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of either license? yes

Creating qmake. Please wait...
qt-x11-opensource-src-4.2.2/src/corelib/kernel/qvariant.cpp
unction `const class QString * v_cast<QString>(const QVariant::Private *, QString * = 0)':
/tmp/qt-x11-opensource-src-4.2.2/src/corelib/kernel/qvariant.cpp:269: instantiated from here
tatic_cast from `void *' to `const QString *'
unction `const class QChar * v_cast<QChar>(const QVariant::Private *, QChar * = 0)':
/tmp/qt-x11-opensource-src-4.2.2/src/corelib/kernel/qvariant.cpp:271: instantiated from here
tatic_cast from `void *' to `const QChar *'
unction `const class QDate * v_cast<QDate>(const QVariant::Private *, QDate * = 0)':
/tmp/qt-x11-opensource-src-4.2.2/src/corelib/kernel/qvariant.cpp:273: instantiated from here
tatic_cast from `void *' to `const QDate *'
unction `const class QTime * v_cast<QTime>(const QVariant::Private *, QTime * = 0)':
/tmp/qt-x11-opensource-src-4.2.2/src/corelib/kernel/qvariant.cpp:275: instantiated from here
tatic_cast from `void *' to `const QTime *'
unction `const class QDateTime * v_cast<QDateTime>(const QVariant::Private *, QDateTime * = 0)':
/tmp/qt-x11-opensource-src-4.2.2/src/corelib/kernel/qvariant.cpp:277: instantiated from here
tatic_cast from `void *' to `const QDateTime *'
/tmp/qt-x11-opensource-src-4.2.2/include/QtCore/private/../../../src/corelib/ke rnel/qvariant_p.h: In function `const class QByteArray * v_cast<QByteArray>(const QVariant::Private *, QByteArray * = 0)':
/tmp/qt-x11-opensource-src-4.2.2/src/corelib/kernel/qvariant.cpp:279: instantiated from here
/tmp/qt-x11-opensource-src-4.2.2/include/QtCore/private/../../../src/corelib/ke rnel/qvariant_p.h:59: static_cast from `void *' to `const QByteArray *'
/tmp/qt-x11-opensource-src-4.2.2/include/QtCore/private/../../../src/corelib/ke rnel/qvariant_p.h: In function `const class QBitArray * v_cast<QBitArray>(const QVariant::Private *, QBitArray * = 0)':
/tmp/qt-x11-opensource-src-4.2.2/src/corelib/kernel/qvariant.cpp:281: instantiated from here
/tmp/qt-x11-opensource-src-4.2.2/include/QtCore/private/../../../src/corelib/ke rnel/qvariant_p.h:59: static_cast from `void *' to `const QBitArray *'
/tmp/qt-x11-opensource-src-4.2.2/include/QtCore/private/../../../src/corelib/ke rnel/qvariant_p.h: In function `const class QVariantList * v_cast<QVariantList>(const QVariant::Private *, QVariantList * = 0)':
/tmp/qt-x11-opensource-src-4.2.2/src/corelib/kernel/qvariant.cpp:323: instantiated from here
/tmp/qt-x11-opensource-src-4.2.2/include/QtCore/private/../../../src/corelib/ke rnel/qvariant_p.h:59: static_cast from `void *' to `const QVariantList *'
/tmp/qt-x11-opensource-src-4.2.2/include/QtCore/private/../../../src/corelib/ke rnel/qvariant_p.h: In function `const class QVariantMap * v_cast<QVariantMap>(const QVariant::Private *, QVariantMap * = 0)':/tmp/qt-x11-opensource-src-4.2.2/src/corelib/kernel/qvariant.cpp:325: instantiated from here
/tmp/qt-x11-opensource-src-4.2.2/include/QtCore/private/../../../src/corelib/ke rnel/qvariant_p.h:59: static_cast from `void *' to `const QVariantMap *'
/tmp/qt-x11-opensource-src-4.2.2/include/QtCore/private/../../../src/corelib/ke rnel/qvariant_p.h: In function `const class QStringList * v_cast<QStringList>(const QVariant::Private *, QStringList * = 0)':/tmp/qt-x11-opensource-src-4.2.2/src/corelib/kernel/qvariant.cpp:344: instantiated from here
/tmp/qt-x11-opensource-src-4.2.2/include/QtCore/private/../../../src/corelib/ke rnel/qvariant_p.h:59: static_cast from `void *' to `const QStringList *'
/tmp/qt-x11-opensource-src-4.2.2/include/QtCore/private/../../../src/corelib/ke rnel/qvariant_p.h: In function `const class QUrl * v_cast<QUrl>(const QVariant::Private *, QUrl * = 0)':
/tmp/qt-x11-opensource-src-4.2.2/src/corelib/kernel/qvariant.cpp:364: instantiated from here
/tmp/qt-x11-opensource-src-4.2.2/include/QtCore/private/../../../src/corelib/ke rnel/qvariant_p.h:59: static_cast from `void *' to `const QUrl *'
/tmp/qt-x11-opensource-src-4.2.2/include/QtCore/private/../../../src/corelib/ke rnel/qvariant_p.h: In function `const class QLocale * v_cast<QLocale>(const QVariant::Private *, QLocale * = 0)':
/tmp/qt-x11-opensource-src-4.2.2/src/corelib/kernel/qvariant.cpp:366: instantiated from here
/tmp/qt-x11-opensource-src-4.2.2/include/QtCore/private/../../../src/corelib/ke rnel/qvariant_p.h:59: static_cast from `void *' to `const QLocale *'
/tmp/qt-x11-opensource-src-4.2.2/include/QtCore/private/../../../src/corelib/ke rnel/qvariant_p.h: In function `const class QRegExp * v_cast<QRegExp>(const QVariant::Private *, QRegExp * = 0)':
/tmp/qt-x11-opensource-src-4.2.2/src/corelib/kernel/qvariant.cpp:368: instantiated from here
/tmp/qt-x11-opensource-src-4.2.2/include/QtCore/private/../../../src/corelib/ke rnel/qvariant_p.h:59: static_cast from `void *' to `const QRegExp *'
gmake: *** [qvariant.o] Ошибка 1


Помню, что когда втыкал эти библиотеки под Windows, приходилось править два файла: qmap.h и еще какой-то...
А с этими ошибками не особо понятно что делать.
Что нужно исправить в исходниках?

Ответ на: комментарий от ilyagoo

По-моему топикстартер простой троль. ну "не верю" (с), что кто-то еще пользуется gcc-2.95!

irq
()

P.S. обнови систему хотя бы до последних стабильных версий.

irq
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.