You are not logged in.

#1 2007-10-28 09:49:27

moustic
Member
Registered: 2007-04-08
Posts: 43

[Fixed]Lazarus lqt4intf error

Hello word,

When i try to compile lazarus to have a qt interface with qt3 and qt4 installed, i have the following error in messages console:

/usr/bin/ld: cannot find -lqt4intf

I'm using kde and lazarus compile just with gtk2 !

Can you help me ?

Thank you very much.

smile

Last edited by moustic (2007-10-29 16:16:05)


On parle toujours mal quand on a rien à dire.

Offline

#2 2007-10-28 18:32:00

Jansson
Member
From: Sweden
Registered: 2006-09-10
Posts: 106

Re: [Fixed]Lazarus lqt4intf error

Is qt4 the active lib?

Try '#qt-config qt4' as root (you will have to log in/log out for it to affect all but the used terminal).

Offline

#3 2007-10-28 21:46:50

moustic
Member
Registered: 2007-04-08
Posts: 43

Re: [Fixed]Lazarus lqt4intf error

qt-config qt4
-bash: qt-config: command not found

neutral


On parle toujours mal quand on a rien à dire.

Offline

#4 2007-10-28 21:56:48

kumico
Member
Registered: 2007-09-28
Posts: 224
Website

Re: [Fixed]Lazarus lqt4intf error

it's without the hyphen, so `qtconfig` is correct

Offline

#5 2007-10-29 08:24:46

Jansson
Member
From: Sweden
Registered: 2006-09-10
Posts: 106

Re: [Fixed]Lazarus lqt4intf error

Strange... on my system it's 'qt-config', Well, hope it works with kumicos corrections.

Offline

#6 2007-10-29 16:15:42

moustic
Member
Registered: 2007-04-08
Posts: 43

Re: [Fixed]Lazarus lqt4intf error

# qtconfig
No protocol specified

The problem is fixed with the following instructions:
http://wiki.lazarus.freepascal.org/Qt_Interface

Download the libqt4intf.so binary:
http://users.pandora.be/Jan.Van.hijfte/ … 3.1.tar.gz

Copy libqt4intf.so in /usr/lib and compile lazarus with qt interface...it's work fine.

Thank you.

smile

Last edited by moustic (2007-10-29 16:16:29)


On parle toujours mal quand on a rien à dire.

Offline

#7 2007-10-31 20:49:24

funkmuscle
Member
Registered: 2006-02-09
Posts: 534

Re: [Fixed]Lazarus lqt4intf error

qt-config worked for me to switch between qt3 and qt4, now I get the command not found.
if I gtconfig, I get the configuration gui.
how do I switch back and forth now?

Offline

#8 2007-10-31 22:51:04

kumico
Member
Registered: 2007-09-28
Posts: 224
Website

Re: [Fixed]Lazarus lqt4intf error

/etc/profile.d/qt.sh || /etc/profile.d/qt4.sh

Offline

Board footer

Powered by FluxBB