Lazarus

Programming => Widgetset => QT => Topic started by: KarenT on July 14, 2017, 01:07:25 am

Title: Instructions for installing Qt - please?
Post by: KarenT on July 14, 2017, 01:07:25 am
Hello, I am frequently running foul of the "that does not work inGTK" so how do I change Ubuntu 14.04 over to Qt?

I have searched around and found either very long complicated processes or short ones that don't seem to do anything. Well, providing by "do anything" I don't mean crash the system :) Been there and they did that.

Can anyone point me in the right direction for instructions on installing Qt as the default Widget set for 14.04-LTS?
Title: Re: Instructions for installing Qt - please?
Post by: Phil on July 14, 2017, 03:04:50 am
Can anyone point me in the right direction for instructions on installing Qt as the default Widget set for 14.04-LTS?

Qt4 or Qt5? And are you just trying to get Qt installed on Ubuntu, which is what your message suggests, or do you want to get the Qt support activated in Lazarus?

Qt is transitioning from version 4 to 5. Here are instructions for installing Qt5 on Ubuntu:

http://www.bogotobogo.com/Qt/Qt5_Install_Ubuntu_14_64bit.php

Laz support for Qt is also transitioning to version 5:

http://wiki.lazarus.freepascal.org/Qt5_Interface

There's also this thread that I found:

http://lists.lazarus-ide.org/pipermail/qt/2017-May/003780.html

You need to build a library, libQt5Pas.so, which sits between the Qt C++ libraries and the Lazarus Qt widgetset code. With Lazarus 1.8, the source for this library is now included, so you can build it yourself. See the brief in README.TXT under lcl/interfaces/qt5/cbindings.

Title: Re: Instructions for installing Qt - please?
Post by: KarenT on July 14, 2017, 08:48:47 pm
Lazarus 1.8, the source for this library is now included, so you can build it yourself. See the brief in README.TXT under lcl/interfaces/qt5/cbindings.

Thank you, it is as you surmised for Lazarus integration. I think I will suffer it a little longer until 1.8 is more stable. I tried it last week and had more problems than I liked, so will stay with 1.6 for now and just pine away for Qt functionality.
Title: Re: Instructions for installing Qt - please?
Post by: avra on July 15, 2017, 12:01:54 pm
CodeTyphon advertises QT5 for 2 years already. Their history for 5.80 says "ADD Support for Ubuntu 16.04 (MultiArch for GTK2, QT4 and QT5)", so you might try that if everything else fails.
http://www.pilotlogic.com/sitejoom/index.php/forum/qt/3045-ct-first-step-on-qt5-planet
http://www.pilotlogic.com/sitejoom/index.php/forum/ct-lab-news/3808-ct-lab-ver-6-20
http://www.pilotlogic.com/sitejoom/index.php/88-wiki/technical/400-what-is-platform
http://www.pilotlogic.com/sitejoom/index.php/88-wiki/technical/171-directory-structure
http://www.pilotlogic.com/sitejoom/index.php/100-wiki/technical/multiarch/398-multiarch-on-linux
TinyPortal © 2005-2018