The time now is Wed 27 Jan 2021, 22:38
All times are UTC - 4 |
Author |
Message |
panoss
Joined: 31 Oct 2011 Posts: 198
|
Posted: Mon 13 Oct 2014, 17:02 Post subject:
Errors when I try to Build Lazarus with Qt[Solved] |
|
I'm using Lazarus pascal 1.2.4 on Slacko 5.7.
I'm trying to build it with Qt.
I have installed qt_all-4.7.3
and ibqtwebkit_2.2.1 (I'm not sure, maybe this file is included in the first file)
But I stil get the same error when I'm tying to compile & build Lazarus:
Code: | Linking /usr/share/lazarus/1.2.4/lazarus
/usr/bin/ld: warning: /usr/share/lazarus/1.2.4/link.res contains output sections; did you forget -T?
/usr/bin/ld: warning: libQtWebKit.so.4, needed by /usr/lib/libQt4Pas.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libQtGui.so.4, needed by /usr/lib/libQt4Pas.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libQtNetwork.so.4, needed by /usr/lib/libQt4Pas.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libQtCore.so.4, needed by /usr/lib/libQt4Pas.so, not found (try using -rpath or -rpath-link)
/usr/lib/libQt4Pas.so: undefined reference to `QPlainTextEdit::textCursor() const'
/usr/lib/libQt4Pas.so: undefined reference to `QImageReader::setFormat(QByteArray const&)'
/usr/lib/libQt4Pas.so: undefined reference to `QNetworkRequest::setHeader(QNetworkRequest::KnownHeaders, QVariant const&)'
/usr/lib/libQt4Pas.so: undefined reference to `QTreeWidget::setFirstItemColumnSpanned(QTreeWidgetItem const*, bool)'
/usr/lib/libQt4Pas.so: undefined reference to `QWebHistory::canGoForward() const'
/usr/lib/libQt4Pas.so: undefined reference to `QFont::pointSize() const'
/usr/lib/libQt4Pas.so: undefined reference to `QSpacerItem::changeSize(int, int, QSizePolicy::Policy, QSizePolicy::Policy)'
/usr/lib/libQt4Pas.so: undefined reference to `QConicalGradient::center() const'
/usr/lib/libQt4Pas.so: undefined reference to `QTreeView::setColumnHidden(int, bool)'
/usr/lib/libQt4Pas.so: undefined reference to `QSslSocket::QSslSocket(QObject*)'
/usr/lib/libQt4Pas.so: undefined reference to `QGraphicsView::items(QPainterPath const&, Qt::ItemSelectionMode) const'
/usr/lib/libQt4Pas.so: undefined reference to `QBoxLayout::setStretchFactor(QWidget*, int)'
/usr/lib/libQt4Pas.so: undefined reference to `QFrame::setMidLineWidth(int)'
blah bla bla...thousand of errors and end like this:
QFlags<QTextDocument::FindFlag>)'
/usr/lib/libQt4Pas.so: undefined reference to `QMetaObject::trUtf8(char const*, char const*, int) const'
/usr/lib/libQt4Pas.so: undefined reference to `QCalendarWidget::setMaximumDate(QDate const&)'
/usr/lib/libQt4Pas.so: undefined reference to `QGraphicsScene::items(QRectF const&, Qt::ItemSelectionMode) const'
/usr/lib/libQt4Pas.so: undefined reference to `QInputDialog::getText(QWidget*, QString const&, QString const&, QLineEdit::EchoMode, QString const&, bool*, QFlags<Qt::WindowType>)'
/usr/lib/libQt4Pas.so: undefined reference to `QTableView::setColumnWidth(int, int)'
/usr/share/lazarus/1.2.4/ide/lazarus.pp(141,1) Error: Error while linking
/usr/share/lazarus/1.2.4/ide/lazarus.pp(141,1) Fatal: There were 1 errors compiling module, stopping |
Checked Qt:
Code: | ldconfig -p | grep Qt4
libQt4Pas.so.5 (libc6) => /usr/lib/libQt4Pas.so.5
libQt4Pas.so (libc6) => /usr/lib/libQt4Pas.so
|
I 'm on a dead end... can I do something?
Last edited by panoss on Fri 21 Nov 2014, 10:52; edited 1 time in total
|
Back to top
|
|
 |
panoss
Joined: 31 Oct 2011 Posts: 198
|
Posted: Fri 21 Nov 2014, 09:40 Post subject:
|
|
Ok, finally managed to build it with Qt!!! :
I installed the packages from here.
Qt from here (copy the unzipped files in /usr/lib, as per instructions).
And it 'll work!
|
Back to top
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|