Skip to content

Qt5 everywhere. Drop legacy Qt4 support. #2558

Closed

Description

@dragotin

It would be very beneficial if we could build against Qt5 on all platforms that we support. That is no problem for MacOSX and Windows as we have to ship with the Qt. However on Linux, where we want to depend on the upstream packages, we need to double check. From which versions of the distros are Qt5 packages available in the main repositories?

Distro first (supported) version that provides Qt5 has Webkit
openSUSE openSUSE 13.1, before in other repo yes
Fedora ?
Ubuntu 14.04 LTS provides Qt5-default, earlier?
Debian ?
CentOS 6/7 Qt 5.4 via EPEL yes

Also, do the version provide Webkit?

https://github.com/owncloud/client/wiki/Qt-5-Dependency-on-Linux

Activity

  1. jriddell commented on Nov 28, 2014

    @jriddell

    14.04 is indeed the first one in Ubuntu to have it
    https://launchpad.net/ubuntu/+source/qtbase-opensource-src

    Debian has it only in backports for their stable wheeze release (Debian 7)
    It is in testing jesse which is expected to become stable in the next few months.
    https://packages.debian.org/search?keywords=qtbase-opensource-src&searchon=sourcenames&suite=all&section=all

  2. hefee commented on Nov 28, 2014

    @hefee
    Contributor

    On debian I built occ since 1.6 with qt5, so everything is available to build and run occ on debian with qt5. Unfortuatelly there is a bug with the systray:

  3. rullzer commented on Nov 28, 2014

    @rullzer
    Contributor

    On Gentoo Qt5 is in the portage tree. However it is not marked stable yet.

  4. AdamWill commented on Nov 29, 2014

    @AdamWill

    Fedora seems to have had qt5 since at least F17, which is no longer supported (F19 is the oldest currently-supported release). It also seems to have been added to EPEL6 and EPEL7; that is, it's not a part of the core RH-supported RHEL repos (and hence CentOS), but the Fedora-maintained EPEL repositories. There are mirall packages in Fedora but not EPEL.

    Note I'm not the maintainer of mirall, you can find the info on who maintains it at https://admin.fedoraproject.org/pkgdb/package/mirall/ .

  5. guruz commented on Nov 30, 2014

    @guruz
    Contributor

    I wonder what size a statically linked Mirall would have on Linux.

  6. dragotin commented on Dec 1, 2014

    @dragotin
    ContributorAuthor

    @guruz which is not what we want, as it means we would have to maintain it. People are using Linux because they think that they have maintained libs by their distributor.

  7. ogoffart commented on Dec 1, 2014

    @ogoffart
    Contributor

    People are using Linux because they think that they have maintained libs by their distributor.

    These people are using the binaries packaged by their distribution.

  8. modified the milestones: , 1.8 - UI Enhancements on Jan 19, 2015
  9. guruz commented on Jan 27, 2015

    @guruz
    Contributor

    Yes, please get all those technology-scared Linux users to a newer Qt version.

    Another nice reason for using Qt5: We can use the function pointer signal slot syntax..

    http://woboq.com/blog/new-signals-slots-syntax-in-qt5.html

    Would easily fix issues as
    b0dbb49 12ac9f9 803cb5d

  10. dragotin commented on Feb 17, 2015

    @dragotin
    ContributorAuthor

    For the upcoming 1.8.0 client: packages for openSUSE starting with 13.2 now build against Qt5. In 13.1 it uses Qt 5.3.x and thus neon is still required, but in Factory there (currently) is Qt 5.4.0 and we can build without neon.

    Please help testing the packages from https://software.opensuse.org/download.html?project=isv%3AownCloud%3Acommunity%3Anightly&package=owncloud-client if possible.

    If other distros have Qt5 packages in their default repositories available I am happy to integrate patches into our build service projects.

  11. dragotin commented on Feb 17, 2015

    @dragotin
    ContributorAuthor

    Fedora 21 is also building against Qt5.

  12. danimo commented on Feb 18, 2015

    @danimo
    Contributor

    I have an experimental OBS build for CentOS 7 (soon 6) that depends on EPEL for Qt 5.4.

    I'm looking for testers and input.

  13. 41 remaining items

  14. ogoffart commented on Oct 31, 2016

    @ogoffart
    Contributor

    Is [Qt-5.2.1] vulnerable to file corruptions?

    Yes it is, but Qt 4.8 is even worse, so no regressions there.

    Qt4 network libraries don't work with our F5 load balancer, What could be the solution there?

    The package built with Qt5.

  15. ShalokShalom commented on Dec 7, 2016

    @ShalokShalom

    I guess this can be closed?

  16. guruz commented on Dec 7, 2016

    @guruz
    Contributor

    @ShalokShalom No, we're still supporting Qt 4 currently. We'll probably drop that next year. On Linux we use the system packages which sometimes are still based on Qt4.

  17. ShalokShalom commented on Dec 7, 2016

    @ShalokShalom

    Qt4 itself gets no maintenance anymore?

  18. moscicki commented on Dec 7, 2016

    @moscicki
    Contributor

    Is this vulnerable to file corruptions?

    This sounds very worrying. Could someone please elaborate what it means?

  19. ogoffart commented on Dec 8, 2016

    @ogoffart
    Contributor

    @moscicki: the corruption bug you investigated was fixed in Qt 5.4.2 only. However we are working around it in the client by forcing connection reset with older version of Qt, so file corruption should not happen normally.

  20. guruz commented on Dec 8, 2016

    @guruz
    Contributor

    Qt4 itself gets no maintenance anymore?

    Qt4 is EOL by The Qt Company as far as I know.

    so file corruption should not happen normally.

    ...plus we send checksums to CernBox.

  21. ShalokShalom commented on Dec 8, 2016

    @ShalokShalom

    Qt4 is EOL by The Qt Company as far as I know.

    Thats what i mean. Is it safe, since that?

  22. jaroslawp commented on Dec 8, 2016

    @jaroslawp

    @ShalokShalom : guess depends where from you take it (on RHEL7/CentOS7 we get qt 4.8.5 from Red Hat / CentOS: and according to their policies that version will be supported - including security fixes - still for quite long time - more than a few years until support for 7 will be over)

  23. ShalokShalom commented on Dec 8, 2016

    @ShalokShalom

    I see.

  24. guruz commented on Jan 18, 2017

    @guruz
    Contributor

    Superseded by #5470

  25. vladimiroff commented on Jan 30, 2017

    @vladimiroff
    Contributor

    Now that Qt4 is no longer supported it might be worth removing those checks if QT_VERSION is 4.x.

    --> grep -r "QT_VERSION [<=>]* QT_VERSION_CHECK(4" ./client 
    5
    
  26. michaelstingl commented on Jan 30, 2017

    @michaelstingl
    Contributor

    @vladimiroff ==> 2.3.1 (see #5470)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions