Results 1 to 3 of 3

Thread: gcc and Qt 5.14

  1. #1
    Join Date
    Oct 2010
    Posts
    10
    Qt products
    Qt5
    Platforms
    Unix/X11

    Post gcc and Qt 5.14

    I am running CentOS 7 and installed qt 5.14.2. Currently, CentOS 7 runs gcc 4.8.5 and the supported platform of Qt 5.14 says specifically that it needs "GCC 5.3.1 via devtoolset-4"
    I then tried to "yum install devtoolset-4" and devtoolset-4 is no longer available. (only devtoolset-7, 8, and 9 are available).
    Can qt 5.14.2 use gcc 7? (The document did not say "GCC 5.3.1 and up")

  2. #2
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    502
    Thanked 75 Times in 71 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: gcc and Qt 5.14

    Even it does not say it it should be obvious that this is the minimum requirement.

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,671
    Thanks
    13
    Thanked 1,595 Times in 1,523 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: gcc and Qt 5.14

    The table of versions you refer to shows that other Linux distros are supported with GCC 7 and 8 (because that's what they supply). The last entry states that generic Linux requires GCC 5 or later.
    RHEL 7 ships by default with GCC 4.8.x, so this must be updated from default. I do not know what CentOS 7 ships by default but assume it is the same as RHEL.

    The Qt continuous integration platform uses 5.3.1 as part of it reference configuration. It would take a serious backward incompatibility in a later GCC to make this an issue.

    Works just fine with GCC 9.3.0 on my generic Linux boxen (i.e. Qt libraries can be built, and applications using Qt can be built).

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.