This forum has been archived. All content is frozen. Please use KDE Discuss instead.

QtBindings not found

Tags: None
(comma "," separated)
tizatron
Registered Member
Posts
7
Karma
0

QtBindings not found

Thu Apr 23, 2009 6:01 pm
Hello,

I was hoping to build amarok on my Ubuntu Box.

I continue to get the following error on cmake:

Code: Select all
-- Checking if the QtScript Qt Bindings are installed.
-- includes /usr/include/qt4/QtCore;/usr/include/qt4/QtScript;/usr/include;/usr/include/KDE;/usr/include/KDE;/usr/include;/usr/include/qt4/phonon;/usr/include/qt4/QtXmlPatterns;/usr/include/qt4/QtWebKit;/usr/include/qt4/QtHelp;/usr/include/qt4/QtAssistant;/usr/include/qt4/QtDBus;/usr/include/qt4/QtTest;/usr/include/qt4/QtUiTools;/usr/include/qt4/QtScript;/usr/include/qt4/QtSvg;/usr/include/qt4/QtXml;/usr/include/qt4/QtSql;/usr/include/qt4/QtOpenGL;/usr/include/qt4/QtNetwork;/usr/include/qt4/QtDesigner;/usr/include/qt4/QtDesigner;/usr/include/qt4/QtAssistant;/usr/include/qt4/Qt3Support;/usr/include/qt4/QtGui;/usr/include/qt4/QtCore;/usr/include/qt4/Qt;/usr/share/qt4/mkspecs/default;/usr/include/qt4;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include libraries /usr/lib/libQtScript.so;/usr/lib/libQtCore.so;-L/usr/lib;-lkdecore;-lkdeui
-- QtBindings not found
.
.
.
-----------------------------------------------------------------------------
-- The following REQUIRED packages could NOT be located on your system.
-- Please install them before continuing this software installation.
-----------------------------------------------------------------------------
+ qtscript-qt: QtScript Qt Bindings <http://code.google.com/p/qtscriptgenerator/>
+ mysqld: Embedded MySQL <http://www.mysql.com>
-----------------------------------------------------------------------------
CMake Error at /usr/share/kde4/apps/cmake/modules/MacroLogFeature.cmake:93 (MESSAGE):
  Exiting: Missing Requirements



I thought I went through the qtscriptgenerator stuff but I guess I am missing something. 

Any help or advice appreciated.
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: QtBindings not found

Fri Apr 24, 2009 9:53 am


--
Mark Kretschmann - Amarok Developer
tizatron
Registered Member
Posts
7
Karma
0

Re: QtBindings not found

Wed Apr 29, 2009 7:46 pm
Thanks for the link.

I eventually got this to work.  I had to blow away my build directory and start again.
sach
Registered Member
Posts
4
Karma
0

Re: QtBindings not found

Fri May 01, 2009 1:45 pm
Hi, I get the same error. I've followed the link you posted above and installed qtscripts, then I tried to remove the building directory, but  nothing, cmake won't find qtscripts.
I am on ubuntu 9.04 and kde4.3 built with kdesvn-build.
Thanks for your help!
tizatron
Registered Member
Posts
7
Karma
0

Re: QtBindings not found

Fri May 01, 2009 5:53 pm
cmake is a mystery to me.  So apologies if I flounder around on this.

Make sure that your qtscriptgenerator-src-0.1.0 build was successfully.

What is the contents of ~/kde/src/qtscriptgenerator-src-0.1.0/plugins/script?  (BTW - I choose to build this in my home dir)

Here is mine

Code: Select all
libqtscript_core.so@           libqtscript_sql.so.1.0@
libqtscript_core.so.1@         libqtscript_sql.so.1.0.0*
libqtscript_core.so.1.0@       libqtscript_svg.so@
libqtscript_core.so.1.0.0*     libqtscript_svg.so.1@
libqtscript_gui.so@            libqtscript_svg.so.1.0@
libqtscript_gui.so.1@          libqtscript_svg.so.1.0.0*
libqtscript_gui.so.1.0@        libqtscript_uitools.so@
libqtscript_gui.so.1.0.0*      libqtscript_uitools.so.1@
libqtscript_network.so@        libqtscript_uitools.so.1.0@
libqtscript_network.so.1@      libqtscript_uitools.so.1.0.0*
libqtscript_network.so.1.0@    libqtscript_webkit.so@
libqtscript_network.so.1.0.0*  libqtscript_webkit.so.1@
libqtscript_opengl.so@         libqtscript_webkit.so.1.0@
libqtscript_opengl.so.1@       libqtscript_webkit.so.1.0.0*
libqtscript_opengl.so.1.0@     libqtscript_xmlpatterns.so@
libqtscript_opengl.so.1.0.0*   libqtscript_xmlpatterns.so.1@
libqtscript_phonon.so@         libqtscript_xmlpatterns.so.1.0@
libqtscript_phonon.so.1@       libqtscript_xmlpatterns.so.1.0.0*
libqtscript_phonon.so.1.0@     libqtscript_xml.so@
libqtscript_phonon.so.1.0.0*   libqtscript_xml.so.1@
libqtscript_sql.so@            libqtscript_xml.so.1.0@
libqtscript_sql.so.1@          libqtscript_xml.so.1.0.0*


There are a few steps in there that are easy to trip on.  Check your patch.
sach
Registered Member
Posts
4
Karma
0

Re: QtBindings not found

Fri May 01, 2009 8:12 pm
Hi thanks for the fast reply! Here's what I have in ../scripts

libqtscript_core.so          libqtscript_sql.so
libqtscript_core.so.1        libqtscript_sql.so.1
libqtscript_core.so.1.0      libqtscript_sql.so.1.0
libqtscript_core.so.1.0.0    libqtscript_sql.so.1.0.0
libqtscript_network.so        libqtscript_svg.so
libqtscript_network.so.1      libqtscript_svg.so.1
libqtscript_network.so.1.0    libqtscript_svg.so.1.0
libqtscript_network.so.1.0.0  libqtscript_svg.so.1.0.0
libqtscript_opengl.so        libqtscript_xml.so
libqtscript_opengl.so.1      libqtscript_xml.so.1
libqtscript_opengl.so.1.0    libqtscript_xml.so.1.0
libqtscript_opengl.so.1.0.0  libqtscript_xml.so.1.0.0
tizatron
Registered Member
Posts
7
Karma
0

Re: QtBindings not found

Fri May 01, 2009 11:01 pm
Hmmm.  Appears that you are few files short.

I remember installing a slew of Qt packages to get *something* in this build to work.  You will need to dive into qtgenerator and see if you can get that puppy to build completely. I wish the package requirements for the this build were clarified somewhere.

I hope you get your build to work.  I was able to get mine to build a binary, but the program refused to play any music.  I opened another Forum topic, but I doubt that non-KDE user, such as myself,  will get much play.

So after looking over Amarok 2 there was not much there for me.  I have reverted to 1.4 and am using amarok-svn.sh to build my binary.  Works OK.


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], markhm, Sogou [Bot], Yahoo [Bot]