Modifications are very simple, to build with Qt4.

QTermwidget can be installed in the system linked to Qt4 and 5.

QTerminal, obviously, can't.

If only one of each package is installed, as I wrote, the modifications are simple, easy to describe in the respective pages.

Took some time, but I got to a solution that makes install of qterminal for Qt4 and 5 compatible, but after the instructions referred above, the following modifications are necessary, but the application name is not fixed for all locales, although it is for many, perhaps most.

{{{
      sed -e 's/EXE_NAME qterminal/&-qt4/' \
          -e 's:share/qterminal:&-qt4:'    \
          -e 's/\.desktop/-qt4&/'          \
          -i CMakeLists.txt                &&

      sed -e 's/qterminal\.png/qterminal-qt4.png/' \
          -i src/icons.qrc CMakeLists.txt          &&

      sed -e 's/terminal/&-qt4/' \
          -e 's/Terminal/&-Qt4/' \
          -e 's/\(utilities-terminal\)-qt4/\1/' \
          -i *.desktop            &&

      mv -vi src/icons/qterminal{,-qt4}.png &&
      mv -vi qterminal{,-qt4}.desktop &&
      mv -vi qterminal_drop{,-qt4}.desktop
}}}

Of course, a patch could be produced.

Question is: consider that the user will only want one version, so that just simple clarifications are included in the pages, or include also a patch?

I am leaning to consider that the user only needs one version of qterminal, consequently, only one version of qtermwidget.

Opinions, please?

--
[]s,
Fernando
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to