Пытаюсь воткнуть 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 и еще какой-то...
А с этими ошибками не особо понятно что делать.
Что нужно исправить в исходниках?
Ответ на:
комментарий
от ale
Ответ на:
комментарий
от ilyagoo
Ответ на:
комментарий
от alex_custov
Ответ на:
комментарий
от UVV
Ответ на:
комментарий
от ilyagoo
Ответ на:
комментарий
от UVV
Ответ на:
комментарий
от ilyagoo
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Похожие темы
- Форум не собирается qt 5.15.2: error: ‘numeric_limits’ is not a class template (2021)
- Форум Шаблон класса 2 (2008)
- Форум Компиляция Qt-проекта. Кто-то хочет конструктор без аргументов. (2015)
- Форум kdepim не собирается (2010)
- Форум Сборка КDE из SVN (2008)
- Форум Не могу установить Qt4 (2009)
- Форум qobject_cast (2015)
- Форум [c++] ошибка при сортировке vector<SomeStruct> (2011)
- Форум Не могу создать производный класс от QComboBox (2014)
- Форум Не собирается x11-drivers/xf86-video-virtualbox-4.3.40 (2016)