You are not logged in.

Search results

Search results 1-18 of 18.

Sunday, May 29th 2005, 1:10pm

Author: Sebien

Draw toolbar-style handle onto a pixmap

Hello, For my program, I need to draw a toolbar-style handle (the grip on the left of toolbars to move/undock them) onto a pixmap. I've done this code: Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 // PREPARE THE PIXMAP: m_handlePixmap.resize(59, 39); painter.begin(&m_handlePixmap); // FILL IT FOR TEST PURPOSE: QBrush brush(Qt::black); painter.fillRect(QRect(0, 0, 59, 39), brush); // DRAW THE HANDLE: ((KStyle&)(kapp->style())).drawKStylePrimitive(KStyle::KPE_ToolBarHandle, &painter, this, QRect(0...

Wednesday, March 23rd 2005, 12:36am

Author: Sebien

relocation error: undefined symbol

Good. I think I solved the problem: /usr/lib/libkdecore.so.4 was pointing to /usr/lib/libkdecore.so.4.old !! I changed it to point to /usr/lib/libkdecore.so.4.2.0 and programs work, for the moment. Now I'm starting KDE to see if everything works. Bye bye GNOME

Wednesday, March 23rd 2005, 12:02am

Author: Sebien

relocation error: undefined symbol

That's bad. That's very bad. Even after recompiling and reinstalling Qt, kdelibs and kdebase it still crash. Is my computer lost?

Wednesday, March 23rd 2005, 12:00am

Author: Sebien

oups

Oups. How do I remove that thread? I hit "New Thread" instead of "Reply" in my previous thread (those buttons are too close). Sorry for the disturbations.

Tuesday, March 22nd 2005, 11:57pm

Author: Sebien

oups

That's bad. That's very bad. Even after recompiling and reinstalling Qt, kdelibs and kdebase it still crash. Is my computer lost?

Tuesday, March 22nd 2005, 8:32pm

Author: Sebien

relocation error: undefined symbol

Erf. I compiled and installed again Qt (3.3.4), kdelibs ! But that doesn't work: kopete: relocation error: /usr/lib/libkdeui.so.4: undefined symbol: _ZN15KGlobalSettings15shadeSortColumnEv Now, I'm recompiling kdebase... But I don't have any hope

Tuesday, March 22nd 2005, 12:16pm

Author: Sebien

relocation error: undefined symbol

Hello, I'm installing KDE 3.4 with konstruct. How, when I start ANY application I get an error like: DCOP: register 'konsole-14760' -> number of clients is now 1 kio (KSycoca): Trying to open ksycoca from /var/tmp/kdecache-seb/ksycoca konsole: relocation error: /usr/lib/libkdeinit_konsole.so: undefined symbol: _ZN19KAcceleratorManager10setNoAccelEP7QWidget DCOP: unregister 'konsole-14760'h DCOPServer : slotTerminate() -> sending terminateKDE signal. I can start some applications, like KWrite, bu...

Friday, October 15th 2004, 6:01pm

Author: Sebien

relocation error: /usr/lib/libkdecore.so.4: undefined symbol

This is finally fixed. In fact, Mandrake installs QT in /usr/lib/qt3/... And some times ago I added subdirectories in the path (or Mandrake done it itself). Quoted QTDIR=/usr/lib/qt3 PATH=$QTDIR/bin:$PATH MANPATH=$QTDIR/man:$MANPATH LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH export QTDIR PATH MANPATH LD_LIBRARY_PATH Then the first files that was found was the old ones. I deleted the dir (since Konstruct installed the new files in /usr) and it works.

Friday, October 15th 2004, 5:55pm

Author: Sebien

Different sort order for different folders?? (Konqueror)

Yes it is possible. After changing the sorting (View -> Sort -> By Date), go to "Configure -> Save View Properties in folder". And that's all!

Monday, October 11th 2004, 6:10pm

Author: Sebien

relocation error: /usr/lib/libkdecore.so.4: undefined symbol

Forgotten to precise: I get this problem when trying to run eventwatcher (3rd paty app). But also when wanting to run KSirc, which is compiled by konstruct, I think.

Monday, October 11th 2004, 5:32pm

Author: Sebien

relocation error: /usr/lib/libkdecore.so.4: undefined symbol

As far as I see, konstruct is very good to install KDE whitout knowledges. But it's also very bad for tuning it: if a thing turn bad, you cannot do anything. It's how I see it. Quoted @Sebien: AFAIK undefined symbols can come about if there's a version mixup where the wrong version of a file is picked up. - Did you compile all of KDE using konstruct? - Do you have any other/old versions of Qt or KDE around? I have Mandrake Linux 9.2which comes with a KDE 3.1 version. I've then installed Mandrake...

Sunday, October 10th 2004, 4:22pm

Author: Sebien

relocation error: /usr/lib/libkdecore.so.4: undefined symbol

The "undefined symbol: qt_x_user_time" error was happening when I tried to run a KDE 3.2 compiled program. When I try to recompile a program from sources, I get this message during configure: Quoted checking for KDE... libraries /usr/lib, headers /usr/include checking if UIC has KDE plugins available... no configure: error: you need to install kdelibs first. What is the problem? I already installed KDE with Konstruct. And why does KDE 3.3.0 break Binary Compatibility?

Saturday, October 9th 2004, 12:56pm

Author: Sebien

relocation error: /usr/lib/libkdecore.so.4: undefined symbol

Hello, I've installed KDE 3.3.0 with Konstruct (meta/everything). Since then, few programs don't want to start and say, eg.: Quoted [seb@localhost seb]$ kscd kscd: relocation error: /usr/lib/libkdecore.so.4: undefined symbol: qt_x_user_time Same if I want to compile my programs from KDevelop. If I look at the filesystem, /usr/lib/libkdecore.so.4 is a symlink to /usr/lib/libkdecore.so.4.2.0 ! What can I do to have it working ? Thank you.

Sunday, October 3rd 2004, 5:04pm

Author: Sebien

Re: Konstruct: what happens if it fail to build?

Quoted Original von m4ktub Can't say exactly but expect it to take a couple of hours. Not days? Cool. Hum... I have G++ 3.3. It is very slow on compiling my programs. Don't know if G++ 3.4 is a bit faster... Quoted Original von m4ktub But since you want't to override the old KDE then I recommend reading the docs before starting. Yes, of course. This post was just to get experiences and some responses from some fears :-) Quoted Original von m4ktub Check that you have everything that is needed. I...

Sunday, October 3rd 2004, 2:28pm

Author: Sebien

Konstruct: what happens if it fail to build?

Hello, Since KDE 3.3.1 will be out very soon, I plan to migrate to 3.3 now. And I want to use Konstruct. Since I haven't used it yet (and used buggy rpms) before, I have some questions: 1. How many time it take ? I have a P4 1.6 GHz. 2. Can I work while it compile/install? ie. I can stay on my KDE and don't need to restart computer to text mode only. 3. Is it installing all at the end or all packages one by one just after theire compilation? 4. And what happens if it doesn't work at middle of th...

Thursday, June 24th 2004, 5:30pm

Author: Sebien

KPopupMenu : disappear one time by two

Hello, When right clicking my widget, popup menu appears. When right clicking another time, it appears but is hidden as soon as we release mouse button. The 3rd time, it's well, the 4th it's bad (hidden), etc... To be noticed : the menu is hidden only when the menu appears on bottom-right of the mouse position. (if I right click on the bottom-right of the screen/widget, the menu is forced to appears on top-left of the cursor end it's fine (never disappear). I remember Konqueror was having the sa...

Thursday, June 17th 2004, 7:45pm

Author: Sebien

Paste toolbar icon powered by DCOP klipper

I like KWrite/Kate/... dropdown toolbar icon to paste one of the multiple entires of Klipper. Of course I want it in my app (better KDE complient). But I find that nowhere. It seem to be black magic ! Is anyone know how to code it ?

Wednesday, June 16th 2004, 4:17pm

Author: Sebien

KSystemTray::minimizeRestoreAction() : make it public

Hello, I need KSystemTray::minimizeRestoreAction() to be a public method. I've subclassed KSystemTray and then added a toggleVisible() method that call minimizeRestoreAction() but GCC doesn't want : Source code 1 2 3 4 5 6 7 8 /usr/include/ksystemtray.h:157: error: `void KSystemTray::minimizeRestoreAction()' is private /home/seb/Programmation/basket/src/container.cpp:80: error: within this context /usr/include/ksystemtray.h:160: error: `void KSystemTray::minimizeRestore(bool)' is private /home/s...