qt4.5 breaks lancelot.

Hi. After a recent update to qt45 it looks like my lancelot got broken.

It uses 100% CPU all the time (one core at a time, e.g. 1 core has ~5%, second 100%, and after a minute or so core one has 100%, core two ~5%)

Second thing is that I cannot open the programs sections. I mean, the program categories don’t open even though I click on them. I heard there is a patch on lancelot bugzilla for qt45 :

http://bugs.gentoo.org/258758

So, the only way to fix this would be to compile lancelot? I found instructions on lancelot’s site, but first, how do I remove the old lancelot and apply the patch after I copy the code from SVN?

Ref; to this and your other post about fonts.
Who told you to use QT45
Some I know have been using it with 4.2.2 also, but officially it’s not recommended as I recall.
I have no added QT repo and it’s all just fine.

I added the patch from that bug report to the package but it doesn’t seem to help. Better switch to KDE:42 with Qt 4.4 if you’re a Lancelot fan.

I don’t know - it just installed, I didn’t change anything in my repos. But FYI, I’ve got many repos, but I think I can manage them correctly - there haven’t been any problems for a while, and qt45 seems to fix some of the problem I had before. (system tray renders properly, menu icon now has the correct size)

If something is wrong, you can tell me.

Anyway, I’ve tried to apply the patch to the lancelot code I downlaoded from SVN, but it seems that it’s already there, so the issue is fixed. There are just no packages for newer lancelot, so I must compile it myself. I had to install newer cmake version from developer repos, and I still get an error:


cmake ../ -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..        -DCMAKE_BUILD_TYPE=release                                 
-- Found Qt-Version 4.5.1 (using /usr/bin/qmake)                                             
-- Found X11: /usr/lib64/libX11.so                                                           
-- Phonon Version: 4.3.0                                                                     
-- Found KDE 4.2 include dir: /usr/include                                                   
-- Found KDE 4.2 library dir: /usr/lib64                                                     
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler                   
-- Found automoc4: /usr/bin/automoc4                                                         
-- Found Soprano: /usr/lib64/libsoprano.so                                                   
-- Found Soprano includes: /usr/include                                                      
-- Found Soprano Index: /usr/lib64/libsopranoindex.so                                        
-- Found Soprano Client: /usr/lib64/libsopranoclient.so                                      
-- Found Soprano Plugin Dir: /usr/share/soprano/plugins                                      
-- Found Soprano Plugins: nquadparser nquadserializer raptorparser raptorserializer redlandbackend                                                                                        
CMake Error at CMakeLists.txt:39 (add_subdirectory):                                         
  add_subdirectory given source "libs" which is not an existing directory.                   


CMake Error at CMakeLists.txt:40 (add_subdirectory):
  add_subdirectory given source "applets" which is not an existing directory.


CMake Error at CMakeLists.txt:41 (add_subdirectory):
  add_subdirectory given source "dataengines" which is not an existing
  directory.                                                          


CMake Error at CMakeLists.txt:42 (add_subdirectory):
  add_subdirectory given source "runners" which is not an existing directory.


CMake Error at CMakeLists.txt:43 (add_subdirectory):
  add_subdirectory given source "scriptengines" which is not an existing
  directory.                                                            


CMake Error at CMakeLists.txt:44 (add_subdirectory):
  add_subdirectory given source "wallpapers" which is not an existing
  directory.                                                         


-- 
-----------------------------------------------------------------------------
-- The following external packages were located on your system.              
-- This installation will have the extra features provided by these packages.
+ OpenGL                                                                     
+ Soprano                                                                    
+ Nepomuk                                                                    
+ Marble                                                                     
Congratulations! All external packages have been found.                      
-----------------------------------------------------------------------------

-- Configuring incomplete, errors occurred!

I tried making these subdirectories myself and removing this code from CMakeLists.txt and it successfully finished. But even though there is ‘Makefile’ file, running ‘make’ does nothing.


warnec@linux-mrpe:~/Kompilowane/kdeplasma-addons> make
warnec@linux-mrpe:~/Kompilowane/kdeplasma-addons>

PS I atatch my repo list.
http://img16.imageshack.us/img16/2317/yast.png

KDE:KDE4:Factory:Desktop now contains Qt 4.5 in anticipation of KDE 4.3 Beta moving in soon and KDE 4.2.3 builds against it. Seems people like to continue using it despite all warnings and pointer about KDE:42. :slight_smile:

I’ve already compiled some things on KDE4, but these mostly have been plasmoids, so compiling wouldn’t be a big issue. But if the patch doesn’t help, well… So there is really no way to run Lancelot with qt45 currently? I was happy I finally got neat system tray! (no ghosting icons).

And with older qt I needed to resize the bottom panel all the time because the lancelot icon was too small - with qt45 it works ok, so I’d prefer doing a rollback only after I know there is no way to achieve working Lancelot.