Lazarus

Programming => Widgetset => QT => Topic started by: Fred vS on December 28, 2011, 08:24:11 pm

Title: What to install ?
Post 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 :

Code: [Select]
sudo apt-get install qt-lib qt4pas
Many thanks and happy new year.  :P
Title: Re: What to install ?
Post by: Fred vS on January 01, 2012, 08:43:42 pm
Hey everybody.
Is there someone awake?
Many thanks for helping me.
HNY
Title: Re: What to install ?
Post by: BigChimp on January 01, 2012, 08:57:38 pm
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?
Title: Re: What to install ?
Post by: Fred vS on January 01, 2012, 09:59:14 pm
@ 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
Title: Re: What to install ?
Post by: ludob on January 02, 2012, 08:55:54 am
Quote
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
Code: [Select]
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.
Title: Re: What to install ?
Post by: Fred vS on January 09, 2012, 09:08:52 pm
@ ludob
Thanks my friend, that is perfectly easy and clear.  ;D
Title: Re: What to install ?
Post by: Fred vS on January 09, 2012, 09:30:58 pm
@ ludob.
Thanks for the !386 deb file.
But what about the 64 bits (amd64) package, where can i find it ?
Thanks.
Title: Re: What to install ?
Post by: Fred vS on January 09, 2012, 09:53:35 pm
@ 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
Title: Re: What to install ?
Post by: Fred vS on April 12, 2012, 01:01:41 pm
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.
Title: Re: What to install ?
Post by: Leledumbo on April 12, 2012, 03:36:45 pm
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.
Title: Re: What to install ?
Post by: zeljko on April 12, 2012, 07:39:57 pm
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.
TinyPortal © 2005-2018