Recent

Author Topic: Instructions for installing Qt - please?  (Read 7499 times)

KarenT

  • Full Member
  • ***
  • Posts: 120
Instructions for installing Qt - please?
« 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?

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: Instructions for installing Qt - please?
« Reply #1 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.


KarenT

  • Full Member
  • ***
  • Posts: 120
Re: Instructions for installing Qt - please?
« Reply #2 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.

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

 

TinyPortal © 2005-2018