Building on ubuntu 12.04 / elementary os #1
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi
What are the build requirements? I've installed build-essentials, libqt4-dev, qt4-qmake and I get:
$ make
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Iyat/backend -Iyat/yat_declarative -I.moc -o .obj/yat_pty.o yat/backend/yat_pty.cpp
In file included from yat/backend/yat_pty.cpp:21:0:
yat/backend/yat_pty.h:41:5: error: ‘QSize’ does not name a type
/usr/include/qt4/QtCore/qsocketnotifier.h: In constructor ‘YatPty::YatPty()’:
/usr/include/qt4/QtCore/qsocketnotifier.h:76:10: error: ‘void QSocketNotifier::activated(int)’ is protected
yat/backend/yat_pty.cpp:71:39: error: within this context
yat/backend/yat_pty.cpp:71:73: error: no matching function for call to ‘YatPty::connect(QSocketNotifier_&, void (QSocketNotifier::)(int), YatPty* const, void (YatPty::)())’
yat/backend/yat_pty.cpp:71:73: note: candidates are:
/usr/include/qt4/QtCore/qobject.h:204:17: note: static bool QObject::connect(const QObject_, const char_, const QObject_, const char_, Qt::ConnectionType)
/usr/include/qt4/QtCore/qobject.h:204:17: note: no known conversion for argument 2 from ‘void (QSocketNotifier::)(int)’ to ‘const char’
/usr/include/qt4/QtCore/qobject.h:217:17: note: static bool QObject::connect(const QObject_, const QMetaMethod&, const QObject_, const QMetaMethod&, Qt::ConnectionType)
/usr/include/qt4/QtCore/qobject.h:217:17: note: no known conversion for argument 2 from ‘void (QSocketNotifier::)(int)’ to ‘const QMetaMethod&’
/usr/include/qt4/QtCore/qobject.h:337:13: note: bool QObject::connect(const QObject, const char_, const char_, Qt::ConnectionType) const
/usr/include/qt4/QtCore/qobject.h:337:13: note: no known conversion for argument 2 from ‘void (QSocketNotifier::)(int)’ to ‘const char’
yat/backend/yat_pty.cpp: At global scope:
yat/backend/yat_pty.cpp:111:22: error: no ‘QSize YatPty::size() const’ member function declared in class ‘YatPty’
make: *_* [.obj/yat_pty.o] Error 1
Hello... Sadly it is not so easy to make it work on that version of ubuntu since qt5 are not in the official repositories. You are trying to build against qt4.8 and this causes the errors you list. The easiest solution would be to wait until ubuntu 14.04 which includes them by default or trying to download them from the official website (http://qt-project.org/downloads) and compile linking to those libraries...
Ok. Can you upload a compiled binary?
I'm just having a "/usr/bin/ld: cannot find -lGL" error during make.
I have a solution here:
http://ubuntuforums.org/showthread.php?t=1480282
just not sure where to create the symbolic link ...
Building worked fine for me after installing that qt binary linked on the setup page. Would upload the compiled binary, but seems one needs lots of dependecies just to run it. Better to wait for final release.