Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Qt Creator Build Error

$
0
0
Qt v5.3.1 (used both static and shared) OS: CentOS 6.6 Qt Creator v.3.3 Qt has been established on this machine since July of ’14. Recently, Qt Creator 3.0 quit functioning indicating a missing xcb library. This is after functioning fine for several months. I decided to try to update to the latest version of Qt Creator. Downloaded the sources from my account. Untarred. QTDIR and path variable pointed to my static installation. [sototech@obiwancentos qt-creator-enterprise-src-3.3.0]$ qmake -v QMake version 3.0 Using Qt version 5.3.1 in /Qt/5.3.1_static/lib qmake -r … completed with no error make -j 2 … /qt-creator-enterprise-src-3.3.0/lib/qtcreator/libqbscore.a(qmljsrewriter.o): In function `QbsQmlJS::Rewriter::includeLeadingEmptyLine(QString const&, int&)’: qmljsrewriter.cpp:(.text+0×196): undefined reference to `QTextDocument::QTextDocument(QString const&, QObject*)’ qmljsrewriter.cpp:(.text+0×1a8): undefined reference to `QTextDocument::characterAt(int) const’ qmljsrewriter.cpp:(.text+0×1b6): undefined reference to `QTextDocument::~QTextDocument()’ qmljsrewriter.cpp:(.text+0×1fc): undefined reference to `QTextCursor::QTextCursor(QTextDocument*)’ qmljsrewriter.cpp:(.text+0×209): undefined reference to `QTextCursor::setPosition(int, QTextCursor::MoveMode)’ qmljsrewriter.cpp:(.text+0×211): undefined reference to `QTextCursor::blockNumber() const’ qmljsrewriter.cpp:(.text+0×220): undefined reference to `QTextCursor::block() const’ qmljsrewriter.cpp:(.text+0×230): undefined reference to `QTextBlock::previous() const’ qmljsrewriter.cpp:(.text+0×240): undefined reference to `QTextBlock::text() const’ qmljsrewriter.cpp:(.text+0×26c): undefined reference to `QTextBlock::position() const’ qmljsrewriter.cpp:(.text+0×27f): undefined reference to `QTextCursor::~QTextCursor()’ qmljsrewriter.cpp:(.text+0×2a9): undefined reference to `QTextCursor::~QTextCursor()’ qmljsrewriter.cpp:(.text+0×2b1): undefined reference to `QTextDocument::~QTextDocument()’ /home/sototech/qt-creator-enterprise-src-3.3.0/lib/qtcreator/libqbscore.a(changeset.o): In function `QbsQmlJS::ChangeSet::textAt(int, int)’: changeset.cpp:(.text+0×133): undefined reference to `QTextCursor::setPosition(int, QTextCursor::MoveMode)’ changeset.cpp:(.text+0×149): undefined reference to `QTextCursor::setPosition(int, QTextCursor::MoveMode)’ changeset.cpp:(.text+0×155): undefined reference to `QTextCursor::selectedText() const’ /home/sototech/qt-creator-enterprise-src-3.3.0/lib/qtcreator/libqbscore.a(changeset.o): In function `QbsQmlJS::ChangeSet::doReplace(QbsQmlJS::ChangeSet::EditOp const&, QList<QbsQmlJS::ChangeSet::EditOp>*)’: changeset.cpp:(.text+0×487): undefined reference to `QTextCursor::setPosition(int, QTextCursor::MoveMode)’ changeset.cpp:(.text+0×49b): undefined reference to `QTextCursor::setPosition(int, QTextCursor::MoveMode)’ /home/sototech/qt-creator-enterprise-src-3.3.0/lib/qtcreator/libqbscore.a(changeset.o): In function `QbsQmlJS::ChangeSet::apply_helper()’: changeset.cpp:(.text+0xa69): undefined reference to `QTextCursor::beginEditBlock()’ changeset.cpp:(.text+0xb9f): undefined reference to `QTextCursor::endEditBlock()’ /home/sototech/qt-creator-enterprise-src-3.3.0/lib/qtcreator/libqbscore.a(changeset.o): In function `QbsQmlJS::ChangeSet::doReplace(QbsQmlJS::ChangeSet::EditOp const&, QList<QbsQmlJS::ChangeSet::EditOp>*)’: changeset.cpp:(.text+0×4b2): undefined reference to `QTextCursor::insertText(QString const&)’ collect2: ld returned 1 exit status make3: *** [../../../../../../bin/qbs] Error 1 make3: Leaving directory `/home/sototech/qt-creator-enterprise-src-3.3.0/src/shared/qbs/src/app/qbs’ make2: *** [sub-qbs-make_first] Error 2 make2: Leaving directory `/home/sototech/qt-creator-enterprise-src-3.3.0/src/shared/qbs/src/app’ make1: *** [sub-shared-qbs-src-app-make_first-ordered] Error 2 make1: Leaving directory `/home/sototech/qt-creator-enterprise-src-3.3.0/src’ make: *** [sub-src-make_first-ordered] Error 2 Reset to shared version of Qt 5.3.1 logged out and back in [sototech@obiwancentos ~]$ qmake -v QMake version 3.0 Using Qt version 5.3.1 in /Qt/5.3.1_shared/lib Removed the old sources. Untarred the sources again. qmake -r make -j 2 … ln -s libQtcSsh.so.1.0.0 libQtcSsh.so ln -s libQtcSsh.so.1.0.0 libQtcSsh.so.1 ln -s libQtcSsh.so.1.0.0 libQtcSsh.so.1.0 rm -f ../../../lib/qtcreator/libQtcSsh.so.1.0.0 mv -f libQtcSsh.so.1.0.0 ../../../lib/qtcreator/ rm -f ../../../lib/qtcreator/libQtcSsh.so rm -f ../../../lib/qtcreator/libQtcSsh.so.1 rm -f ../../../lib/qtcreator/libQtcSsh.so.1.0 mv -f libQtcSsh.so ../../../lib/qtcreator/ mv -f libQtcSsh.so.1 ../../../lib/qtcreator/ mv -f libQtcSsh.so.1.0 ../../../lib/qtcreator/ make3: Leaving directory `/home/sototech/qt-creator-enterprise-src-3.3.0/src/libs/ssh’ make2: Leaving directory `/home/sototech/qt-creator-enterprise-src-3.3.0/src/libs’ make1: *** [sub-libs-make_first-ordered] Error 2 make1: Leaving directory `/home/sototech/qt-creator-enterprise-src-3.3.0/src’ make: *** [sub-src-make_first-ordered] Error 2 Did not see any errors previous to this one. I’m clueless. Anybody have a clue that can help? Karl

Viewing all articles
Browse latest Browse all 2113

Trending Articles