Lazarus
Programming => Widgetset => QT => Topic started by: Fred vS on December 28, 2011, 08:24:11 pm
-
Hello everybody.
I have developed a DJ's program also for Linux (https://sites.google.com/site/fiensprototyping/ (https://sites.google.com/site/fiensprototyping/)) with Ubuntu 10.04 and Lazarus.
The program was compiled in Linux with QT widgetset.
Now i have installed a brand new Ubuntu 11.10.
Unfortunately, the Qt libraries and Qt for Pascal libraries are not installed by default with Ubuntu (they are installed when you install Lazarus).
And after the install of the DJ program, it does not load, because some Qt libraries are missing %).
Witch easy command in console must the free customers and i use to install all that missing libraries for every new linux distributions (without Lazarus installed) ?
For example :
sudo apt-get install qt-lib qt4pas
Many thanks and happy new year. :P
-
Hey everybody.
Is there someone awake?
Many thanks for helping me.
HNY
-
Have you searched the wiki and forums? Installing the general Qt libs should be easy I should think - and is not Lazarus/FPC specific.
Apart from that, I think you need Qt4pas or something, made by Den Jean.
(Haven't done any of this, just what I remembered).
Good luck.
Edit: quick search in the wiki turned up this:
http://wiki.lazarus.freepascal.org/index.php/Qt_Interface (http://wiki.lazarus.freepascal.org/index.php/Qt_Interface)
Hope it is helpful; if not could you update it please?
-
@ BigChimp.
Thanks for your help.
about : http://wiki.lazarus.freepascal.org/index.php/Qt_Interface (http://wiki.lazarus.freepascal.org/index.php/Qt_Interface)
Why so complicated :o ? Is there somebody who knows witch dependencies to install with a simple command from terminal (like sudo apt-get install qt-lib) ?
PS: Why does it not exists a easy script to install QT and QT for Pascal for dummies people like me ?
PS2 : I like Qt, more than GTK, but, Qt developers, please help us, we normal humans, to install and use it.
Many thanks
-
Why so complicated :o ? Is there somebody who knows witch dependencies to install with a simple command from terminal (like sudo apt-get install qt-lib) ?
From https://launchpad.net/ubuntu/oneiric/i386/libqt4pas5/2.1Qt4.5.3-5.1ubuntu1 download libqt4pas5_2.1Qt4.5.3-5.1ubuntu1_i386.deb and run
sudo gdebi libqt4pas5_2.1Qt4.5.3-5.1ubuntu1_i386.deb
Or just double click on the file in nautilus. It'll pull in all qt4 libs needed.
-
@ ludob
Thanks my friend, that is perfectly easy and clear. ;D
-
@ ludob.
Thanks for the !386 deb file.
But what about the 64 bits (amd64) package, where can i find it ?
Thanks.
-
@ ludob
Ooops, i find it...
https://launchpad.net/ubuntu/oneiric/amd64/libqt4pas5/2.1Qt4.5.3-5.1ubuntu1 (https://launchpad.net/ubuntu/oneiric/amd64/libqt4pas5/2.1Qt4.5.3-5.1ubuntu1)
Many thanks
-
Hello folks.
I'm desperate :'(
I just have done a update of Ubuntu and if i want to load my software compiled with Qt, it do not work.
Of course i have download and install :
https://launchpad.net/ubuntu/oneiric/amd64/libqt4pas5/2.1Qt4.5.3-5.1ubuntu1 but dependencies are sill missing.
Then i have install via synaptic Qt developpement tools but still some missing dependencies (for example Qtwebtoolkit).
What a hell to do Qt working...(without Lazarus installed)
My question was simple:
What must install a user (who did not install Lazarus and Qt for Lazarus) to do working a program compiled with Lazarus and Qt widgetset.
Thanks for the brave heart who can help me.
-
A proper Qt library installation (this depends on distro, find it out in your package manager) + libQt4Pas (in ubuntu repo, it's already available and AFAIK lists all of its dependencies correctly) should do it.
-
One more thing: I've installed ubuntu 11.10 inside vmware, and libqt4pas provided by ubuntu crashes any qtlcl app, so I have to compile it by myself, and then it works ok.