Hello
I'm planning to migrate to Qt5 on RHEL6. What is my best option of installing it?
I tested with building Qt5 on CentOS6 and it works OK. But my usual method on RHEL5 has been to download Fedora source RPMs from Koji and build them on RHEL5. I would then create a custom RHEL DVD with these packages so that Anaconda can install them for future installs.
Can I do the same with qt5* packages from Koji? Will I get the *complete* parallel-installable Qt5 with that?
So far, I see the following packages (v5.1.1) on Koji: qt5-qtbase qt5-qtdeclarative qt5-qtscript qt5-qtsvg qt5-qttools qt5-qtwebkit
If Koji doesn't suit, my other option is to build Qt5 from the official tar-ball and create a rather simple RPM from that so that I can include it in a customized RHEL6 DVD for future installs.
So, please advice on my best option for Qt5/RHEL6..
By the way, I'm loving the KDE 4.10 packages for RHEL6 by Rex.. Thanks a lot.. (any chance of 4.11 hitting EL6?, too greedy, heh ;-)
regards,
Syam
On 08/29/2013 08:48 PM, Syam Krishnan wrote:
So, please advice on my best option for Qt5/RHEL6..
Probably rebuilding the the fedora src.rpm's. May require minor tweaking wrt dependencies and such. I'd be willing to adapt things to make it work.
If so, heck, could probably build for epel-6 officially
By the way, I'm loving the KDE 4.10 packages for RHEL6 by Rex.. Thanks a lot.. (any chance of 4.11 hitting EL6?, too greedy, heh ;-)
Very good chances... just need to find the time to make it happen. Also been working a bit behind-the-scenes to make outside contributions easier (ie, so it doesn't all block on me).
-- Rex
On Thu, Aug 29, 2013 at 8:17 PM, Rex Dieter rdieter@fedoraproject.orgwrote:
On 08/29/2013 08:48 PM, Syam Krishnan wrote:
So, please advice on my best option for Qt5/RHEL6..
Probably rebuilding the the fedora src.rpm's. May require minor tweaking wrt dependencies and such. I'd be willing to adapt things to make it work.
If so, heck, could probably build for epel-6 officially
Great! Can you confirm if the qt5* packages on Koji are complete? I just saw some more packages being populated today (qtgraphicaleffects & qtmultimedia) while qtimageformats is empty (the only one).
I'll try to build against CentOS 6.4 and let you know the results. Since Qt 5.0 compiled fine on it, I'm hoping that I can get it to work without much problems.
By the way, I'm loving the KDE 4.10 packages for RHEL6 by Rex.. Thanks a
lot.. (any chance of 4.11 hitting EL6?, too greedy, heh ;-)
Very good chances... just need to find the time to make it happen. Also been working a bit behind-the-scenes to make outside contributions easier (ie, so it doesn't all block on me).
Tons of gratitude :-)
On 08/30/2013 08:47 AM, Rex Dieter wrote:
On 08/29/2013 08:48 PM, Syam Krishnan wrote:
So, please advice on my best option for Qt5/RHEL6..
Probably rebuilding the the fedora src.rpm's. May require minor tweaking wrt dependencies and such. I'd be willing to adapt things to make it work.
I'm trying to build qt5-qtbase. After yum installing saveral build-requires, I'm left with this: pkgconfig(atspi-2) is needed by qt5-qtbase-5.1.1-1.el6.i686 pkgconfig(glesv2) is needed by qt5-qtbase-5.1.1-1.el6.i686 pkgconfig(icu-i18n) is needed by qt5-qtbase-5.1.1-1.el6.i686
I'm assuming icu-i18n can be ignored as this pc file apparently came only with ICU v4.6 onwards. What about atspi-2 and glesv2? Can I safely remove these lines from the spec file?
regards
Syam
On 08/30/2013 08:47 AM, Rex Dieter wrote:
On 08/29/2013 08:48 PM, Syam Krishnan wrote:
So, please advice on my best option for Qt5/RHEL6..
Probably rebuilding the the fedora src.rpm's. May require minor tweaking wrt dependencies and such. I'd be willing to adapt things to make it work.
So far, I've successfully built qtbase, qtjsbackend, qtdeclarative. qtwebkit is being built.
I've had to make only the following changes:
Comment out pkgconfig(atspi-2), pkgconfig(glesv2) and pkgconfig(icu-i18n) from qtbase & pkgconfig(atspi-2) from qtwebkit build requires.
(of course, webkit build is still going on.. fingers crossed!)
I now have one doubt regarding pcre. For building qtwebkit, I had to yum install pcre-devel. When I checked qtbase spec file, I found that -qt-pcre is passed for fedora < 17. Now that qtwebkit will be using system pcre & qtbase was compiled wih its own pcre, will there be any issues? Should I edit qtbase spec file to use system pcre (although the fedora 17 case specifies >= 8.30 while CentOS has only 7.8) and rebuild everything?
Thanks and regards,
Syam
Syam Krishnan wrote:
I've had to make only the following changes:
Comment out pkgconfig(atspi-2), pkgconfig(glesv2) and pkgconfig(icu-i18n) from qtbase & pkgconfig(atspi-2) from qtwebkit build requires.
thanks, fixed in git.
I now have one doubt regarding pcre. For building qtwebkit, I had to yum install pcre-devel. When I checked qtbase spec file, I found that -qt-pcre is passed for fedora < 17. Now that qtwebkit will be using system pcre & qtbase was compiled wih its own pcre, will there be any issues? Should I edit qtbase spec file to use system pcre (although the fedora 17 case specifies >= 8.30 while CentOS has only 7.8) and rebuild everything?
qtbase really does need newer pcre (fails without it). As for the possible mixture of system/bundled versions, good question, we'll have to see how/if it works or not.
-- rex
On 09/06/2013 07:55 PM, Rex Dieter wrote:
Syam Krishnan wrote:
I've had to make only the following changes:
Comment out pkgconfig(atspi-2), pkgconfig(glesv2) and pkgconfig(icu-i18n) from qtbase & pkgconfig(atspi-2) from qtwebkit build requires.
thanks, fixed in git.
If you're preparing official builds for EL6, then the spec file for qt5-qttools also needs tweaking with regard to clucene. I had to make two changes: Edit spec file to rename clucene09-core-devel to clucene-core-devel Edit patch file qttools-system_clucene.patch to change $$[QT_INSTALL_LIBS]/clucene09 to $$[QT_INSTALL_LIBS] for the include path.
Thanks,
Syam
Syam Krishnan wrote:
If you're preparing official builds for EL6,
First batch submitted for epel-6 -testing repo: https://admin.fedoraproject.org/updates/qt5-qtbase-5.1.1-3.el6
the spec file for qt5-qttools also needs tweaking with regard to clucene.
Indeed, I'll make sure that's fixed
-- rex
I've successfully built all qt5 packages (available from Koji) for CentOS 6 i686. I only had to tweak a little bit for system clucene. Otherwise it was very smooth.
The following things seem to be missing/unpackaged:
1. No documentation files are created. Perhaps they were meant to be included as a separate package 2. Qt Serial port - this module does not seem to be packaged
I'm not sure if anything else is missing. The Qt source directory contains one more directory on QtQuick (1 or 2, don't remember exactly).
Dear Rex, can you throw some light on this..
regards,
Syam
Syam Krishnan wrote:
The following things seem to be missing/unpackaged:
- No documentation files are created. Perhaps they were meant to be
included as a separate package
Indeed, no packaging work done for qtdoc yet
- Qt Serial port - this module does not seem to be packaged
or qtserialport
I'm not sure if anything else is missing. The Qt source directory contains one more directory on QtQuick (1 or 2, don't remember exactly).
qtquick1 is still pending review, https://bugzilla.redhat.com/show_bug.cgi?id=915907
-- Rex
Dear Rex,
Thanks for all the info. I really appreciate your work on supporting Qt5 on EL6.
Waiting for qtdoc and other remaining packages :-)
Thanks a ton..
Syam